On Sat, Jul 28, 2012 at 11:30 AM, Adam Kidder <[email protected]> wrote:
> I've been using pyglet on Mac OS 10.7 successfully for a while by installing
> from hg. Recently, I installed Mountain Lion, and pyglet is completely
> broken. Creating a window results in absolutely nothing showing up on the
> screen. There is the familiar python rocket ship in the dock, but no windows
> actually appear.
>
> Are there any known bugs with pyglet in 10.8? Or any workarounds/debugging I
> could try to diagnose this?

There's definitely Mountain Lion issues that need to be addressed.  I
updated one of my systems and tried out my bubbles sample program (see
https://github.com/peaceful/bubbles ) and immediately hit two
problems:

1) A sound _plays_ and the audio libraries fail to load and everything
seems to hang (I never see a window, but I do hear the startup "puff"
sound).

2012-07-30 10:12:18.177 Python[1265:1307] Error loading
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
 
dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio,
262): no suitable image found.  Did find:
        
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
no matching architecture in universal wrapper
2012-07-30 10:12:18.178 Python[1265:1307] Cannot find function pointer
NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in
CFBundle/CFPlugIn 0x7fab0a541600
</Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not
loaded)

^CTraceback (most recent call last):
  File "./bubbles.py", line 159, in <module>
    pyglet.app.run()
  File "/Library/Python/2.7/site-packages/pyglet/app/__init__.py",
line 123, in run
    event_loop.run()
  File "/Library/Python/2.7/site-packages/pyglet/app/base.py", line 135, in run
    self._run_estimated()
  File "/Library/Python/2.7/site-packages/pyglet/app/base.py", line
174, in _run_estimated
    if not platform_event_loop.step(estimate) and estimate != 0.0 and \
  File "/Library/Python/2.7/site-packages/pyglet/app/cocoa.py", line
118, in step
    NSAnyEventMask, timeout_date, NSDefaultRunLoopMode, True)
  File 
"/Library/Python/2.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py",
line 770, in __call__
    return self.method(self.objc_id, *args)
  File 
"/Library/Python/2.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py",
line 740, in __call__
    result = f(objc_id, self.selector, *args)
KeyboardInterrupt


2) If I comment out the audio calls from bubbles.py, things just seem
to hang without a window ever showing up.


An interesting thing to note:  On another prototype I have that
manually pumps the event loop, a window will show up...

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to