1. Florian Bösch
  2. lithosphere
Issue #10 wontfix

"There is no item named 'pyglet/__init__.pyc' in the archive"

narosis
created an issue

Traceback (most recent call last):

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/build_app.py", line 579, in _run self.run_normal()

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/build_app.py", line 650, in run_normal self.create_binaries(py_files, pkgdirs, extensions, loader_files)

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/build_app.py", line 714, in create_binaries dry_run=self.dry_run)

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/util.py", line 327, in byte_compile if force or newer(mod.filename, cfile):

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/util.py", line 128, in newer msource = get_mtime(source)

File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/util.py", line 120, in get_mtime info = zf.getinfo(rest)

File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 826, in getinfo 'There is no item named %r in the archive' % name) KeyError: "There is no item named 'pyglet/init.pyc' in the archive"

/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py(826)getinfo() -> 'There is no item named %r in the archive' % name) (Pdb)

Comments (4)

  1. Florian Bösch repo owner

    I don't know what you did in order to get that. (the traceback isn't tell me that). But as you can easily see, it's also not my problem because "pyglet/init.pyc'", see, I didn't write pyglet, I just use it.

    I did not however get any such error last time (which is a while ago) I ran pyglet on OSX. I suggest you open that ticket with pyglet and add some more information on how you got it.

  2. narosis reporter

    I'll probably open a ticket with pyglet as per your suggestion... apologies for not explaining how I came to the end result:

    It came about after [chmod +x and then] running: mbpsl:lithosphere narosis$ ./make_mac.sh

  3. Log in to comment