Re: [Pythonmac-SIG] Rocketship in the Dock

2008-09-03 Thread John Porter Simons
----- > From: has <[EMAIL PROTECTED]> > To: pythonmac-sig@python.org > Date: Tue, 2 Sep 2008 21:51:33 +0100 > Subject: Re: [Pythonmac-SIG] Rocketship in the Dock > John Porter Simons wrote: > > I can run appscript from an interactive session and just ignore the >> rockets

Re: [Pythonmac-SIG] Rocketship in the Dock

2008-09-02 Thread has
John Porter Simons wrote: I can run appscript from an interactive session and just ignore the rocketship in the dock, but when I run the same script from a Apache/ mod_python, it hangs. Probably because Apache doesn't run as a normal user so it can't get a GUI context. This is a bummer, I wa

Re: [Pythonmac-SIG] Rocketship in the Dock

2008-08-31 Thread John Porter Simons
Man I tried everything. This didn't help, nor did a more aggressive statement to let www run anything with no password prompt: www ALL=(ALL) NOPASSWD: ALL Finally I tried just editing my httpd.conf to run Apache as my local logged in user, bad practice I know but now the appscript works from

Re: [Pythonmac-SIG] Rocketship in the Dock

2008-08-31 Thread tom wible
Apache/mod_python, it hangs. Probably because Apache doesn't run as a normal user so it can't get a GUI context. This is a bummer, I was able i solved that problem by modding the sudoers file: Cmnd_Alias DVR_cmds=/usr/bin/osascript, /DVR/webAccess/scripts/*.sh www ALL=(DVR_ra)NOPA

[Pythonmac-SIG] Rocketship in the Dock

2008-08-30 Thread John Porter Simons
There was a thread back in April: On 29 Mar 2008, at 09:11, Alex MacCaw wrote: > > >* Thanks - that works. > *>* I'm wondering how to get rid of the python rocket ship that appears > *>* in the dock when I start sending applescript events. I've tried > *>* deleting the object reference to app('Fin