I'm trying to deploy a Python app on OSX that was built with PySide. py2app
packages it without issue, copying and linking a lot of PySide and Qt files
in the process. But then, when I try to run the built app, I get this error:

Traceback (most recent call last):

  File 
"/Users/sequence/Desktop/code/dailies/dist/dailies_v02.app/Contents/Resources/__boot__.py",
line 31, in <module>

    _run('dailies_v02.py')

  File 
"/Users/sequence/Desktop/code/dailies/dist/dailies_v02.app/Contents/Resources/__boot__.py",
line 28, in _run

    execfile(path, globals(), globals())

  File 
"/Users/sequence/Desktop/code/dailies/dist/dailies_v02.app/Contents/Resources/dailies_v02.py",
line 9, in <module>
from PySide.QtCore import *

  File "PySide/__init__.pyc", line 2, in <module>

  File "PySide/private.pyc", line 2, in <module>

  File "PySide/QtCore.pyc", line 18, in <module>

  File "PySide/QtCore.pyc", line 15, in __load
ImportError: '/usr/lib/python2.6/lib-dynload/PySide/QtCore.so' not found


The weird thing is, QtCore.so IS included in the application bundle: py2app
copied it to
dailies_v02.app/Contents/Resources/lib/python2.6/lib-dynload/PySide/.

Does anyone know why this isn't working?

Aaron


-- 
Aaron Scott Hildebrandt
andcuriouser.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to