Hi,

I have install py2app on snow leopard (Python 2.6.1), when I try to generate
app for the "simple" sample, I get following error :

sh-3.2# python setup.py py2app
running py2app
*** filtering dependencies ***
242 total
238 filtered
0 orphaned
4 remaining
*** create binaries ***
*** byte compile python files ***
skipping byte-compilation of
/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/bootstrap/boot_app.py
to boot_app.pyc
skipping byte-compilation of
/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/bootstrap/chdir_resource.py
to chdir_resource.pyc
skipping byte-compilation of
/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/bootstrap/disable_linecache.py
to disable_linecache.pyc
skipping byte-compilation of
/Users/administrateur/Documents/Alain/Développement/Python/Composants/py2app-0.4.3/examples/simple/hello.py
to hello.pyc
*** creating application bundle: hello ***
Traceback (most recent call last):
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 589, in _run
    self.run_normal()
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 660, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 755, in create_binaries
    target, arcname, pkgexts, copyexts, target.script)
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 1172, in build_executable
    appdir, resdir, plist = self.create_bundle(target, script)
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 1100, in create_bundle
    use_runtime_preference=use_runtime_preference
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 1089, in create_appbundle
    extension=self.extension,
  File
"/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/create_appbundle.py",
line 30, in create_appbundle
    destmain = os.path.join(platdir, kw['CFBundleExecutable'])
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py",
line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 40:
ordinal not in range(128)
> /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py(70)join()
-> path += '/' + b
(Pdb) 

Does anyone have idea ?
Thanks for your reply.
A.
-- 
View this message in context: 
http://old.nabble.com/Can%27t-used-py2app-under-snow-leopard-tp26992630p26992630.html
Sent from the Python - pythonmac-sig mailing list archive at Nabble.com.

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to