Closed tfaris closed 11 years ago
Windows 7 64bit, Pyglet 1.1.4 - It doesn't work:
Traceback (most recent call last): File "main.py", line 19, in <module> from blocks import * File "C:\Minecraft3\blocks.py", line 2, in <module> import sounds File "C:\Minecraft3\sounds.py", line 5, in <module> pyglet.resource.reindex() File "C:\Python27\lib\site-packages\pyglet\resource.py", line 332, in reindex 'Backslashes not permitted in relative path' AssertionError: Backslashes not permitted in relative path
It looks like the backslashes created by os.path.join on Windows break loading via pyglet.resource.media (at least on my windows 7 and maybe 8?) -- but are fine when added to pyglet.resource.path.
Can anyone check to make sure this works on other systems?