Re: [Pyobjc-dev] NSFileWrapper.icon() returning None?
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-09-25 13:57:20
|
Etienne Posthumus: > If you add AppKit.NSApplicationLoad() [...] > This can be used for all Python scripts where you need window server > connections and stuff like that. 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()... BTW, I'm doing crazy stuff like displaying images rendered dynami- cally using NSView inside a CGI application, where tricky drawing stuff works ok, but getting a simple icon for a file... sigh! Dinu -- Dinu C. Gherman ...................................................................... "The empires of the future are the empires of the mind." (Winston Churchill) |