fails on OS X 10.6.8

Issue #31 new
Former user created an issue

First build the accelerator from source, since the bundled one will fail to load the libc++ dynamic library. Then, while creating the window::

$ python -m Shady dots1 --legacy

[ ... ]
2019-03-30 23:44:10.576 Python[823:60f] -[GLFWContentView setWantsBestResolutionOpenGLSurface:]: unrecognized selector sent to instance 0x1093a3db0
2019-03-30 23:44:10.579 Python[823:60f] An uncaught exception was raised
2019-03-30 23:44:10.580 Python[823:60f] -[GLFWContentView setWantsBestResolutionOpenGLSurface:]: unrecognized selector sent to instance 0x1093a3db0
2019-03-30 23:44:10.582 Python[823:60f] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GLFWContentView setWantsBestResolutionOpenGLSurface:]: unrecognized selector sent to instance 0x1093a3db0'

But the problem is not accelerator- or GLFW-specific. Here's the python version of exactly the same error while trying to open a pyglet window::

$ python -m Shady dots1 --legacy --backend=pyglet

[ ... ]
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/gl/cocoa.py", line 264, in attach
    self._nscontext.view().setWantsBestResolutionOpenGLSurface_(1)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 989, in __getattr__
    raise AttributeError('ObjCInstance %s has no attribute %s' % (self.objc_class.name, name))
AttributeError: ObjCInstance PygletView has no attribute setWantsBestResolutionOpenGLSurface_

Comments (0)

  1. Log in to comment