Re: [Pyobjc-dev] Python2.6.4, Pyobjc 2.2, Quartz, Snow Leopard
Brought to you by:
ronaldoussoren
From: Aahz <aa...@py...> - 2010-01-15 14:09:20
|
On Fri, Jan 15, 2010, Erik van Blokland wrote: > > I also need to draw a couple bitmap images, so I want to use more > functionality from Quartz. The enclosed test script works when executed > in the terminal. Exactly the same script crashes hard when called as part > of a twisted process. Can you search the twisted codebase to find out if they're using platform.mac_ver()? If yes, that's exactly the same problem I reported here yesterday. If not, it's almost certainly something similar. Critical bit of the logs: > Application Specific Information: > abort() called > USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER BTW, it would have helped if you had specified what "boom" means (i.e. explained that you were getting an OS crash rather than a Python traceback). I was looking for this in particular, so it was easy to find, but someone else might well have not bothered. Ronald, I looked in gestaltmodule.c, and it's not doing a fork(), so it must be buried in the Gestalt() call itself. Which really makes this Apple's bug unless Gestalt() is completely deprecated. However, I don't have enough Mac experience to make that certain. -- Aahz (aa...@py...) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair |