I'm having trouble using py2app to turn my Python program that uses
Pyglet into a stand-alone application.  I'm using Mac OS 10.6.4,
Python 2.6.6, and Pyglet 1.1.4.  I tried to build a stand-alone
application from the example files that come bundled with Pyglet, and
still couldn't.  The error I got was:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py",
line 604, in _run
    self.run_normal()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py",
line 675, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py",
line 739, in create_binaries
    dry_run=self.dry_run)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/util.py", line
376, in byte_compile
    if force or newer(mod.filename, cfile):
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/util.py", line
172, in newer
    msource = get_mtime(source)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/util.py", line
164, in get_mtime
    info = zf.getinfo(rest)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/zipfile.py", line 824, in getinfo
    'There is no item named %r in the archive' % name)
KeyError: "There is no item named 'pyglet/__init__.pyc' in the
archive"
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py(824)getinfo()
-> 'There is no item named %r in the archive' % name)


Is this a known issue?  If so, is it a problem with Pyglet, Py2app,
Python, or OS 10.6.4?  Is there a solution?

Best,
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to