[PyQt] segfault when calling PyQt4.QtGui.QIcon.themeSearchPaths()

Scott Kitterman debian at kitterman.com
Thu Mar 7 00:42:07 GMT 2013


On Wednesday, March 06, 2013 10:14:22 PM Phil Thompson wrote:
> On Wed, 06 Mar 2013 14:51:35 -0500, Scott Kitterman <debian at kitterman.com>
> 
> wrote:
> > I'm not if this is an actual bug or a user error, but a PyQt  bug was
> 
> just
> 
> > filed in Debian:
> > 
> > bugs.debian.org/cgi-bin/bugreport.cgi?bug=702445
> > 
> > The reporter has 4.9.3, but I get the same with 4.9.6 and 4.10:
> > 
> > Python 2.7.3 (default, Jan 26 2013, 15:27:56)
> > [GCC 4.7.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > 
> >>>> import PyQt4.QtGui
> >>>> PyQt4.QtGui.QIcon.themeSearchPaths()
> > 
> > Segmentation fault (core dumped)
> 
> Almost certainly a user error/Qt "feature". Try creating a QApplication
> instance first.

Thank you.  I've passed that on to the bug reporter.

Scott K


More information about the PyQt mailing list