Re: [Pyobjc-dev] Fwd: PyObjC and NSOpenGLView
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2010-01-05 10:44:05
|
On 5 Jan, 2010, at 0:46, Tobias Wood wrote: > Sorry for the forwarded message below, have just realised I responded to Ronald only and failed to cc the list. Has anyone else successfully run the OpenGL example on Snow Leopard? Sorry about not replying sooner. "py2app -A" doesn't work at the moment on SL, IIRC someone has sent me a fix for that. You should be able to run the example using 'python setup.py py2app' without the -A. Ronald, who's too lazy to run the example himself ;-) > > Toby > > Begin forwarded message: > >> From: Tobias Wood <tw...@im...> >> Date: 3 January 2010 20:00:48 GMT >> To: Ronald Oussoren <ron...@ma...> >> Subject: Re: [Pyobjc-dev] PyObjC and NSOpenGLView >> >> Thanks for the prompt reply. >> >> On 3 Jan 2010, at 17:26, Ronald Oussoren wrote: >>> >>> I don't use NSOpenGLView myself, maybe someone else knows the answer. Does the OpenGL example work for you? <http://pyobjc.sourceforge.net/examples/pyobjc-framework-Cocoa/OpenGL/OpenGLDemo/index.html> >>> >> >> Unfortunately not. After doing "python setup.py py2app -A" from within the demo directory, running the resulting app in /dist fails with: >> >> 03/01/2010 19:51:40 [0x0-0x53053].org.pythonmac.unspecified.OpenGLDemo[539] File "/Users/Tobias/Downloads/PyObjCExample-OpenGLDemo/dist/OpenGLDemo.app/Contents/Resources/__boot__.py", line 46, in _run >> 03/01/2010 19:51:40 [0x0-0x53053].org.pythonmac.unspecified.OpenGLDemo[539] target, wasChanged = alias.ResolveAlias(None) >> 03/01/2010 19:51:40 [0x0-0x53053].org.pythonmac.unspecified.OpenGLDemo[539] AttributeError: 'Carbon.File.Alias' object has no attribute 'ResolveAlias' >> 03/01/2010 19:51:41 OpenGLDemo[539] OpenGLDemo Error >> 03/01/2010 19:51:41 OpenGLDemo[539] OpenGLDemo Error >> An unexpected error has occurred during execution of the main script >> >> AttributeError: 'Carbon.File.Alias' object has no attribute 'ResolveAlias' >> 03/01/2010 19:51:47 com.apple.launchd.peruser.501[89] ([0x0-0x53053].org.pythonmac.unspecified.OpenGLDemo[539]) Exited with exit code: 255 >> >> Apologies, I should have mentioned that I'm running Snow Leopard (Which I think will be why Carbon fails) using the system Python (2.6). >> >> Toby > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |