[vtkusers] PyQt SIP wrapping test fails
Eric E. Monson
emonson at cs.duke.edu
Thu Sep 1 12:28:03 EDT 2011
Hey Clinton,
Thanks for trying it out. I did the "it never works, but I might as well try" stab at rebuilding with an updated Qt, Sip, PyQt, CMake & VTK last Friday and now it works again for whatever reason...
(Qt 4.7.3, sip 4.12.4, PyQt 4.8.5, CMake dev head, VTK dev head)
-Eric
On Aug 31, 2011, at 6:22 PM, Clinton Stimpson wrote:
> On Tuesday, August 23, 2011 06:50:56 am Eric E. Monson wrote:
>> Hey all,
>>
>> Is anyone able to successfully run TestQVTKWidget.py with the current
>> development VTK version? I don't think any dashboards cover it and I get:
>>
>> ERROR: testQVTKWidget (__main__.TestQVTKWidget)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File "TestQVTKWidget.py", line 22, in testQVTKWidget
>> w2.SetRenderWindow(win2)
>> TypeError: QVTKWidget.SetRenderWindow(): argument 1 has unexpected type
>> 'vtkobject'
>>
>> I hadn't updated VTK since May, and decided to do so yesterday. Some of the
>> new ContextInteractorStyle Charts stuff broke the way I set up charts with
>> PyQt4 (using QVTKRenderWindowInteractor), and I couldn't fix it, so I
>> thought I'd check how hard it would be to switch over to the QVTKWidget,
>> but I can't get the test or my other examples to run...
>>
>> My (Py)Qt stuff may be out of date, so I could update if anyone thought
>> that would help: OS X 10.6.8, system Python 2.6.1, Qt 4.7.0 (from source,
>> cocoa, x86_64), PyQt 4.8.1, sip 4.11.2.
>>
>
> It doesn't work for me anymore either. It works in the release branch though.
>
> As for the dashboard coverage, Jeff Baumes would know the status of that.
>
> I did a git bisect to see which commit caused the problem, but its not obvious
> why that commit caused the problem.
>
> --
> Clinton Stimpson
> Elemental Technologies, Inc
> Computational Simulation Software, LLC
> www.csimsoft.com
More information about the vtkusers
mailing list