[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Executable creation blues



Bob Ippolito wrote:

On 9/28/06, Jasper <jasper@xxxxxxxx> wrote:

Now I'm working on this one, which I vaguely recall coming up in Pypack
discussion before:
Traceback (most recent call last):
  File "legacy.py", line 9, in ?
  File "Realms\Myth\Client\client.pyc", line 16, in ?
  File "Realms\Myth\Client\theme.pyc", line 8, in ?
  File "Realms\Util\surfaceTexture.pyc", line 4, in ?
  File "OpenGL\__init__.pyc", line 18, in ?
  File "OpenGL\__init__.pyc", line 14, in __set_attributes
IOError: [Errno 2] No such file or directory:
'c:\\BrassGolem\\Realms\\dist\\lib\\shared.zip\\OpenGL\\version'


Edit OpenGL/__init__.py and remove the "find-my-version-from-a-file"
line. Set the version to a static string, or just don't set it. I'm
pretty sure that it's never read by anything.

Someone should submit a patch to PyOpenGL to remove this absolutely
silly way of determining its own version.

-bob


Thanks Bob, commenting out those lines clears it up! Still more errors, but at least the next one is in my code.

-Jasper