[PyQt] Strange sip 4.7.9 bug

Arve Knudsen arve.knudsen at gmail.com
Thu May 28 08:37:53 BST 2009


On Wed, May 27, 2009 at 11:45 PM, Phil Thompson <phil at riverbankcomputing.com
> wrote:

> On Wed, 27 May 2009 17:17:29 +0200, Arve Knudsen <arve.knudsen at gmail.com>
> wrote:
> > Hi
> > Phil, I really need help with this extremely strange bug in sip 4.7.9 on
> > Windows Vista x64, Python 2.6 (32bit). It's difficult to describe fully,
> > but
> > I'll try (I can't provide sources, since it's proprietary code). The
> > scenario is (more or less) like this: lod.sip declares a class TileTree,
> > which lives in igmLod/TileTree.h. gui.sip imports lod.sip and declares a
> > class ViewerProject, which refers to a QList<TileTree>. What then happens
> > is
> > that the files sip_igmlodTileTree.cpp, which includes igmLod/TileTree.h,
> > and
> > sip_igmguiQList.cpp, which includes igmLod/TileTreeileTileTreeree.h, are
> > generated. As you can see, the inclusion in the latter .cpp is all
> > scrambled
> > (with the class name). Any idea what's going on here, eventually how I
> can
> > debug sip myself?
>
> You need to send me a test case.


As I said, this is proprietary code, so it can be difficult to extract a
testcase. I don't even know right now how  to identify the exact scenario
since the sip specifications are quite complex at this point. If I could
debug it on-site, it should be far preferable.

Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090528/c812887c/attachment-0001.html


More information about the PyQt mailing list