Re: [Pyobjc-dev] NSFileWrapper.icon() returning None?
Brought to you by:
ronaldoussoren
From: Etienne P. <et...@br...> - 2003-09-25 14:19:51
|
On Thu, 25 Sep 2003, Dinu Gherman wrote: > That works great! Only one more step to go... is there any reason > it cannot possibly work inside a CGI script? So far, I still get > this unfriendly "INIT_Processeses(), could not establish the de- > fault connection to the WindowServer" message from Apache as soon > as I'm calling NSApplicationLoad()... Does it absolutely HAVE to be a CGI script? If you want be calling stuff like NSApplicationLoad etc. which sets up some environment each time, wouldn't it be better to make your script a long-running process with something like Quixote, and use mod_proxy in Apache to redirect the relevant URL? That could also have the pleasant side effect of letting you do some caching and increasing performance. EP |