Now that 10.9 has been released, has anyone had success using pyglet
with it? I checked out the latest trunk from the repository. When I
tried to run examples/show_input.py, I get the following:
python show_input.py
Unexpected error loading library c: dlopen(c, 6): no suitable image
found. Did find:
/c: not a file
Traceback (most recent call last):
File "show_input.py", line 16, in <module>
class LineGroup(pyglet.graphics.OrderedGroup):
File "/test/pyglet/pyglet/__init__.py", line 347, in __getattr__
__import__(import_name)
File "/test/pyglet/pyglet/graphics/__init__.py", line 167, in <module>
from pyglet.gl import *
File "/test/pyglet/pyglet/gl/__init__.py", line 235, in <module>
import pyglet.window
File "/test/pyglet/pyglet/window/__init__.py", line 1815, in <module>
gl._create_shadow_window()
File "/test/pyglet/pyglet/gl/__init__.py", line 205, in
_create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File "/test/pyglet/pyglet/window/__init__.py", line 494, in __init__
display = get_platform().get_default_display()
File "/test/pyglet/pyglet/window/__init__.py", line 1764, in
get_default_display
return pyglet.canvas.get_display()
File "/test/pyglet/pyglet/canvas/__init__.py", line 77, in get_display
from pyglet.app import displays
File "/test/pyglet/pyglet/app/__init__.py", line 158, in <module>
event_loop = EventLoop()
File "/test/pyglet/pyglet/app/base.py", line 115, in __init__
self.clock = clock.get_default()
File "/test/pyglet/pyglet/__init__.py", line 347, in __getattr__
__import__(import_name)
File "/test/pyglet/pyglet/clock.py", line 168, in <module>
_c = pyglet.lib.load_library('c')
File "/test/pyglet/pyglet/lib.py", line 117, in load_library
lib = ctypes.cdll.LoadLibrary(name)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 443, in LoadLibrary
return self._dlltype(name)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(c, 6): no suitable image found. Did find:
/c: not a file
Other examples show a similar traceback once they make their way to
initializing the clock. Any ideas on what is causing that?
-Charles
On 9/6/13, 11:03 PM, Flip Phillips wrote:
Just a quick heads up here -
I have some code I'm trying to run under the most recent Mac OS
Mavericks / 10.9 pre-release, with a 64-bit Python (enthought /
canopy). It 'runs' in that there are no errors generated, but, alas,
there is no display.
I reverted back to trying to run some of the examples in the alpha
example tarball, like OpenGL.py, timer.py. The OpenGL example
generates nothing and the timer example gives me a whole-blank-screen
but no drawing.
I know I'm playing with unstable stuff all around here and that the
source of my troubles could be anywhere in the sw chain... but thought
I'd at least have a look here and make it known just in case someone
is already ahead of me. If not, I'll continue digging around to see
what I can find to help resolve it.
Cheers-
fp
--
You received this message because you are subscribed to the Google
Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.