Issue 438 in pyglet: pyglet 1.1.3 fails on Snow Leopard with python 2.6 (snow leopard's default)

33 views
Skip to first unread message

codesite...@google.com

unread,
Aug 15, 2009, 11:41:01 PM8/15/09
to pyglet...@googlegroups.com
Updates:
Labels: OpSys-OSX

Comment #1 on issue 438 by m.e.w.oleary: pyglet 1.1.3 fails on Snow Leopard
with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

(No comment was entered for this change.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Aug 15, 2009, 10:23:33 AM8/15/09
to pyglet...@googlegroups.com
Status: New
Owner: ----

New issue 438 by lecaude: pyglet 1.1.3 fails on Snow Leopard with python

Problems seems to be with window module :

Last login: Sat Aug 15 10:11:42 on ttys000
Goberge:~ Nat$ python -m pyglet.info
Python
------------------------------------------------------------------------------
sys.version: 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)]
sys.platform: darwin
os.getcwd(): /Users/Nat

pyglet
------------------------------------------------------------------------------
pyglet.version: 1.1.3
pyglet.__file__: /Library/Python/2.6/site-packages/pyglet/__init__.pyc
pyglet.options['debug_trace_depth'] = 1
pyglet.options['font'] = ('gdiplus', 'win32')
pyglet.options['xsync'] = True
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['debug_font'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_lib'] = False
pyglet.options['graphics_vbo'] = True
pyglet.options['vsync'] = None
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_graphics_batch'] = False
pyglet.options['audio'] = ('directsound', 'openal', 'alsa', 'silent')
pyglet.options['debug_texture'] = False
pyglet.options['debug_gl_trace_args'] = False

pyglet.window
------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/pyglet/info.py", line 173, in
_try_dump
func()
File "/Library/Python/2.6/site-packages/pyglet/info.py", line 77, in
dump_window
import pyglet.window
File "/Library/Python/2.6/site-packages/pyglet/window/__init__.py", line
1667, in <module>
from pyglet.window.carbon import CarbonPlatform, CarbonWindow
File
"/Library/Python/2.6/site-packages/pyglet/window/carbon/__init__.py", line
69, in <module>
framework='/System/Library/Frameworks/QuickTime.framework')
File "/Library/Python/2.6/site-packages/pyglet/lib.py", line 90, in
load_library
return self.load_framework(kwargs['framework'])
File "/Library/Python/2.6/site-packages/pyglet/lib.py", line 226, in
load_framework
lib = ctypes.cdll.LoadLibrary(realpath)
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
line 423, in LoadLibrary
return self._dlltype(name)
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
line 345, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime,
6): no suitable image found. Did find:
/System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
architecture in universal wrapper
/System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
architecture in universal wrapper

pyglet.gl.gl_info
------------------------------------------------------------------------------
/Library/Python/2.6/site-packages/pyglet/gl/gl_info.py:134: UserWarning: No
GL context created yet.
warnings.warn('No GL context created yet.')
gl_info.get_version(): 0.0.0
/Library/Python/2.6/site-packages/pyglet/gl/gl_info.py:175: UserWarning: No
GL context created yet.
warnings.warn('No GL context created yet.')
gl_info.get_vendor():
/Library/Python/2.6/site-packages/pyglet/gl/gl_info.py:166: UserWarning: No
GL context created yet.
warnings.warn('No GL context created yet.')
gl_info.get_renderer():
gl_info.get_extensions():
/Library/Python/2.6/site-packages/pyglet/gl/gl_info.py:124: UserWarning: No
GL context created yet.
warnings.warn('No GL context created yet.')

pyglet.gl.glu_info
------------------------------------------------------------------------------
/Library/Python/2.6/site-packages/pyglet/gl/glu_info.py:124: UserWarning:
No GL context created yet.
warnings.warn('No GL context created yet.')
glu_info.get_version(): 0.0.0
glu_info.get_extensions():
/Library/Python/2.6/site-packages/pyglet/gl/glu_info.py:149: UserWarning:
No GL context created yet.
warnings.warn('No GL context created yet.')

pyglet.gl.glx_info
------------------------------------------------------------------------------
GLX not available.

pyglet.media
------------------------------------------------------------------------------
driver: pyglet.media.drivers.openal

pyglet.media.avbin
------------------------------------------------------------------------------
AVbin not available.

pyglet.media.drivers.openal
------------------------------------------------------------------------------
Library: <CDLL '/System/Library/Frameworks/OpenAL.framework/OpenAL', handle
10132af50 at 101545290>
Version: (1, 1)
Extensions:
ALC_EXT_capture
ALC_ENUMERATION_EXT
ALC_EXT_MAC_OSX
ALC_EXT_ASA
ALC_EXT_ASA_DISTORTION
ALC_EXT_ASA_ROGER_BEEP

codesite...@google.com

unread,
Aug 19, 2009, 9:54:18 PM8/19/09
to pyglet...@googlegroups.com

Comment #2 on issue 438 by benjamin...@gmail.com: pyglet 1.1.3 fails on
Snow Leopard with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

It looks like pyglet isn't finding quicktime libs at
/System/Library/Frameworks/QuickTime.framework/QuickTime

I've been searching around on the Internet, and haven't yet found another
location for
quicktime. From the searching, it also seems possible that it's a
permissions problem.

Need more information to track this down.

codesite...@google.com

unread,
Aug 19, 2009, 9:58:23 PM8/19/09
to pyglet...@googlegroups.com
Updates:
Labels: Type-Defect

Comment #3 on issue 438 by benjamin...@gmail.com: pyglet 1.1.3 fails on

Snow Leopard with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

(No comment was entered for this change.)

--

codesite...@google.com

unread,
Aug 21, 2009, 1:15:06 PM8/21/09
to pyglet...@googlegroups.com
Updates:
Status: Blocked

Comment #4 on issue 438 by benjamin...@gmail.com: pyglet 1.1.3 fails on

codesite...@google.com

unread,
Aug 21, 2009, 1:23:08 PM8/21/09
to pyglet...@googlegroups.com

Comment #5 on issue 438 by lecaude: pyglet 1.1.3 fails on Snow Leopard with
python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

What kind of information can I provide you to help ?

codesite...@google.com

unread,
Aug 21, 2009, 1:27:10 PM8/21/09
to pyglet...@googlegroups.com

Comment #6 on issue 438 by benjamin...@gmail.com: pyglet 1.1.3 fails on
Snow Leopard with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

Location and permissions for your quicktime framework.

codesite...@google.com

unread,
Sep 9, 2009, 11:14:49 PM9/9/09
to pyglet...@googlegroups.com

Comment #8 on issue 438 by justinwilson1: pyglet 1.1.3 fails on Snow
Leopard with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

I don't think it 'solves' the problem, but is a work-around.

codesite...@google.com

unread,
Jan 9, 2010, 11:48:56 AM1/9/10
to pyglet...@googlegroups.com

Comment #9 on issue 438 by garaged: pyglet 1.1.3 fails on Snow Leopard with
python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

it doesn't correct the problem for me, using pyglet from macports.

codesite...@google.com

unread,
Mar 1, 2010, 8:09:07 PM3/1/10
to pyglet...@googlegroups.com

Comment #10 on issue 438 by nornagon: pyglet 1.1.3 fails on Snow Leopard
with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

The real problem is that pyglet's still using the deprecated UI framework,
Carbon. Join the future and use Cocoa
instead :)

codesite...@google.com

unread,
Mar 5, 2010, 12:22:23 PM3/5/10
to pyglet...@googlegroups.com

Comment #11 on issue 438 by gregory.dudek: pyglet 1.1.3 fails on Snow
Leopard with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

sudo port uninstall py26-pyglet

How sad.

codesite...@google.com

unread,
Jun 9, 2010, 3:22:07 PM6/9/10
to pyglet...@googlegroups.com

Comment #12 on issue 438 by erik.itland: pyglet 1.1.3 fails on Snow Leopard
with python 2.6 (snow leopard's default)
http://code.google.com/p/pyglet/issues/detail?id=438

> defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

> This solves the problem. I assume we can close this ticket. Thanks.

I don't like to mess with the defaults. I run from a terminal, so I just
run this first:

export VERSIONER_PYTHON_PREFER_32_BIT=yes

@gregory: I think your frustration belongs in the Mac forums.


Reply all
Reply to author
Forward
0 new messages