[Pythonmac-SIG] py2app with genshi problem

2011-09-03 Thread Neacsa Bogdan Valentin
    So I've ran intro a problem that I can't really find any discussion about, 
I guess it's kind of a narrow chance anyone ran into anything similar but I 
have no ideea how to TRY and fix it so I'll give it a try.
    So for start my project runs fine when started normally. I'm trying to 
convert it to an app using py2app. The app seems to be generated fine, but when 
I start the application, I get:
   buffet.TemplateEngineMissing: Please install a plugin for "genshi" to use 
its functionality
Now the actual point in my code where this seems to be raised is at:

 cherrypy.tools.buffet_genshi = BuffetTool('genshi', 
'tvb.interfaces.web.templates.genshi')
here, 'tvb'.interface.web.templates.genshi' is a 'python package' in the sense 
that there is an __init__.py there and the only thing in that folder are the 
html templates for our project.
If anyone has at least a hind on what might be causing this please share.
Regards, Bogdan___
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


[Pythonmac-SIG] Error building an OSX PySide app with py2app

2011-09-03 Thread Aaron Scott Hildebrandt
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 

_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 
from PySide.QtCore import *

  File "PySide/__init__.pyc", line 2, in 

  File "PySide/private.pyc", line 2, in 

  File "PySide/QtCore.pyc", line 18, in 

  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  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG