[PyQt] PyQt4.QtGui + uuid.uuid4() = segfault

Christopher Singley csingley at gmail.com
Fri Dec 10 05:30:58 GMT 2010


I upgraded to PyQt4 v4.8.1, and the issue went away.
Most odd...

On Thu, Dec 9, 2010 at 9:32 PM, Mike Ramirez <gufymike at gmail.com> wrote:
> On Thursday, December 09, 2010 06:56:18 pm Christopher Singley wrote:
>
>> I'm using PyQt4 v4.7.3. Check this out:
>
>>
>
>> Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45)
>
>> [GCC 4.4.5] on linux2
>
>> Type "help", "copyright", "credits" or "license" for more information.
>
>>
>
>> >>> from PyQt4 import QtGui
>
>> >>> import uuid
>
>> >>> uuid.uuid4()
>
>>
>
>> Segmentation fault
>
>>
>
>> If I import uuid before QtGui, though, then it works fine.
>
>> _______________________________________________
>
>> PyQt mailing list PyQt at riverbankcomputing.com
>
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> Not sure how much help this will be, but I can't reproduce it using python
> 2.6, same version of PyQt. I would try to debug the python interpretter with
> gdb at this point.
>
> Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:31)
>
> [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
>
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> from PyQt4 import QtGui
>
>>>> import uuid
>
>>>> uuid.uuid4()
>
> UUID('6a93b09c-972e-40bd-a93a-9a1ef920e341')
>
>>>> from PyQt4 import QtCore
>
>>>> QtCore.PYQT_VERSION_STR
>
> '4.7.3'
>
> Mike
>
> --
>
> In charity there is no excess.
>
> -- Francis Bacon
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


More information about the PyQt mailing list