[Pythonmac-SIG] Py2App and PyQT

kelsolaar_fool at hotmail.com kelsolaar_fool at hotmail.com
Sun Oct 26 17:13:09 CET 2008


Hello,

Now that I have my application running and packaged on Windows and Linux, I'm trying to get it working under Mac Os X ( Leopard 10.5.5 ).
Everything seem to be fine on compilation  side, but when I launch my application I'm getting :

Traceback (most recent call last):
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/__boot__.py", line 137, in <module>
    _run('sIBL_GUI.py')
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/__boot__.py", line 134, in _run
    execfile(path, globals(), globals())
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/sIBL_GUI.py", line 71, in <module>
    from PyQt4.QtCore import *
  File "PyQt4/QtCore.pyc", line 18, in <module>
  File "PyQt4/QtCore.pyc", line 15, in __load
ImportError: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/PyQt4/QtCore.so' not found
2008-10-26 08:55:36.106 sIBL_GUI[432:10b] sIBL_GUI Error
2008-10-26 08:55:36.117 sIBL_GUI[432:10b] sIBL_GUI Error
An unexpected error has occurred during execution of the main script

ImportError: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/PyQt4/QtCore.so' not found

This is pretty strange because I actually found that the file is correctly included in "dist/sIBL_GUI.app/Contents/Resources/lib/python2.5/lib-dynload/PyQt4/" directory.
Anyone faced this or have an idea ?

Thanks,

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081026/095875a3/attachment.htm>


More information about the Pythonmac-SIG mailing list