demo mode (using MainLoop() as World._thread_hijacker) incompatible with pyglet windowing on Windows
Issue #9
wontfix
python -m Shady demo dots3 --backend=pyglet
Leads to NotImplementedError: abstract
raised from pyglet's get_screens()
method which is called by PygletWindowing.py
's call to pyglet.canvas.Display().get_default_screen()
Comments (3)
-
reporter -
reporter Doesn't seem to be a threading issue: printf debugging confirms that in all cases the offending call is running in the main thread, and that pyglet has not previously been imported. Why it works in one situation (
--console=None
) and not another is probably a deep and stupid issue within pyglet. Others have reported the same error message and that it is new with pyglet 1.3.1 ( https://github.com/los-cocos/cocos/issues/299 ) and indeed downgrading to pyglet 1.2.4 seems to avoid the issue. -
reporter - changed status to wontfix
- Log in to comment
...of course, if simple threaded operation took precedence over the thread hijacker on Windows, this problem might go away...