google-code-export / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

pyglet 1.2alpha1 with Python 3.2 #630

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1)import pyglet
2)w  = pyglet.window.Window()

Paste in the traceback or error message:

Traceback (most recent call last):
  File "C:\Python32\lib\site-packages\pyglet\__init__.py", line 332, in __getattr__
    return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'Window'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python32\lib\site-packages\pyglet\__init__.py", line 338, in __getattr__
    __import__(import_name)
  File "C:\Python32\lib\site-packages\pyglet\window\__init__.py", line 135, in <module>
    import pyglet.window.key
  File "C:\Python32\lib\site-packages\pyglet\window\key.py", line 408, in <module>
    for _name, _value in locals().items():
RuntimeError: dictionary changed size during iteration

pyglet 1.2alpha1 with Python 3.2 (64 bit python, 64 bit windows 7)

Other: Paste in the output of tools/gl_info.py (included in source distro): I 
cannot find file tools/gl_info.py

Original issue reported on code.google.com by billythe...@gmail.com on 23 Feb 2013 at 5:13

GoogleCodeExporter commented 9 years ago
I found the file "gl_info.py", its in the gl folder of pyglet
the output is similar to the above

PS C:\Python32\lib\site-packages\pyglet\gl> python .\gl_info.py
Traceback (most recent call last):
  File ".\gl_info.py", line 64, in <module>
    from pyglet.gl.gl import *
  File "C:\Python32\lib\site-packages\pyglet\gl\__init__.py", line 235, in <module>
    import pyglet.window
  File "C:\Python32\lib\site-packages\pyglet\window\__init__.py", line 135, in <module>
    import pyglet.window.key
  File "C:\Python32\lib\site-packages\pyglet\window\key.py", line 408, in <module>
    for _name, _value in locals().items():
RuntimeError: dictionary changed size during iteration

Original comment by billythe...@gmail.com on 23 Feb 2013 at 5:17

GoogleCodeExporter commented 9 years ago

Original comment by useboxnet on 21 Sep 2013 at 10:46

GoogleCodeExporter commented 9 years ago
This issue was closed by revision b04d3a9a1d9a.

Original comment by useboxnet on 13 Oct 2013 at 5:56

GoogleCodeExporter commented 9 years ago
Thanks for your report!

You can get current version of pyglet with:

http://pyglet.googlecode.com/archive/tip.zip

Original comment by useboxnet on 13 Oct 2013 at 5:57