Re: [Pythonmac-SIG] py2app looking for ae.so in the wrong place

2011-01-09 Thread Nicholas Riley
On Mon, Jan 03, 2011 at 09:27:09PM -0600, Nicholas Riley wrote:
> I finally upgraded my iMac from 10.5 to 10.6 and tried to recompile
> one of my py2app apps with the system Python 2.6.1 and current py2app.
> 
> The application uses appscript, but for some reason it's trying to
> import ae.so from /System:
[...]

For anyone else who runs into a similar problem - I didn't get any
responses on this so I just uninstalled the current py2app and went
back to the 10.6-bundled version, which worked fine.

-- 
Nicholas Riley 
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


[Pythonmac-SIG] py2app looking for ae.so in the wrong place

2011-01-03 Thread Nicholas Riley
I finally upgraded my iMac from 10.5 to 10.6 and tried to recompile
one of my py2app apps with the system Python 2.6.1 and current py2app.

The application uses appscript, but for some reason it's trying to
import ae.so from /System:

% dist/StreamVision.app/Contents/MacOS/StreamVision
Traceback (most recent call last):
  File 
"/Users/nicholas/Documents/Development/StreamVision/dist/StreamVision.app/Contents/Resources/__boot__.py",
 line 31, in 
_run('StreamVision.py')
  File 
"/Users/nicholas/Documents/Development/StreamVision/dist/StreamVision.app/Contents/Resources/__boot__.py",
 line 28, in _run
execfile(path, globals(), globals())
  File 
"/Users/nicholas/Documents/Development/StreamVision/dist/StreamVision.app/Contents/Resources/StreamVision.py",
 line 4, in 
from appscript import app, k, its, CommandError
  File "appscript/__init__.pyc", line 8, in 
  File "aem/__init__.pyc", line 5, in 
  File "aem/ae.pyc", line 18, in 
  File "aem/ae.pyc", line 15, in __load
ImportError: 
'/System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/lib-dynload/aem/ae.so'
 not found
2011-01-03 21:23:47.306 StreamVision[82885:903] StreamVision Error

ae.so is indeed in the app package:

% ls **/ae.so
dist/StreamVision.app/Contents/Resources/lib/python2.6/lib-dynload/aem/ae.so

Any ideas what's going on here?  Everything worked fine on 10.5 with
Python 2.5.

-- 
Nicholas Riley 
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG