Re: [Pythonmac-SIG] CGI + appscript newbie question/problem

2007-05-28 Thread Nicholas Riley
On Sun, May 27, 2007 at 05:04:25PM -0700, Andres Francisco Rojas wrote: > but when I try to import appscript into the script run as cgi I get > an 500 Internal Server Error. Typically you should look in the Web server logs (/var/log/httpd/error_log) in that case to see the details of the error, w

Re: [Pythonmac-SIG] CGI + appscript newbie question/problem

2007-05-28 Thread has
Hamish Allan wrote: > When you run appscript at the command line and the little rocket > appears in the Dock, that's Python connecting to the window server -- > through which Apple events are managed. I'm not sure why Python's command line interpreter upgrades itself to a full GUI process when

Re: [Pythonmac-SIG] CGI + appscript newbie question/problem

2007-05-28 Thread Brian Wichmann
What frameworks would people recommend? Brian. On 28 May 2007, at 10:50, Hamish Allan wrote: > By the way, have you considered looking into one of the web frameworks > for Python? ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.pyt

Re: [Pythonmac-SIG] CGI + appscript newbie question/problem

2007-05-28 Thread Hamish Allan
When you run appscript at the command line and the little rocket appears in the Dock, that's Python connecting to the window server -- through which Apple events are managed. For security purposes, your Apache process can't connect to the window server. You'll probably have to create a daemon runni