[vtkusers] PyQt SIP wrapping test fails

Clinton Stimpson clinton at elemtech.com
Thu Sep 1 13:01:56 EDT 2011


Ok, then that would explain why my git bisect gave me an odd commit that had 
nothing to do with it.

Thanks,
Clint

On Thursday, September 01, 2011 10:49:30 am David Gobbi wrote:
> I've seen the same thing with the PyQt wrapping.  Sometimes it works,
> and sometimes it doesn't.  Whenever it doesn't work for me, I've
> always just thought that I had misconfigured something since I'm not
> very familiar with PyQt.
> 
> And I don't think this is a release-versus-master issue.  The python
> wrapping code in the release is the same as in the master.  The only
> difference that I found was a very minor one:
> http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=1d172b23b7f259404d68e68fb62a
> 262cdd2fa5c2
> 
>  - David
> 
> On Thu, Sep 1, 2011 at 10:28 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> > 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
> > 
> > _______________________________________________
> > Powered by www.kitware.com
> > 
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> > 
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com



More information about the vtkusers mailing list