[us...@httpd] interaction between apache and OSX 10.5.7 finder

2009-10-01 Thread Dan Yamins
Sorry for posting again, but I posted this a few days ago and got no responses. but I think this is probably the right list ... I have an apache virtual host for some local development I'm doing using python cgi scripts. Here is a example script that should open a Finder window on the server if

[us...@httpd] system calls that interact with OSX finder

2009-09-26 Thread Dan Yamins
I have an apache virtual host for some local development I'm doing using python cgi scripts. Here is a example script that should open a Finder window on the server if the server is running OSX, and an explorer window if it's running windows or cygwin. --- print 'Content-Type: text/html\n\n'

Re: [us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-05-20 Thread Dan Yamins
If you just rebuild the system caches, does that help? (as root) # rm /var/cache/fontconfig/* # fc-cache -f -v Well -- so I guess since my fontconfig installation is via macports, Ryan was right in suggesting that my fontconfig was in /opt/local. BUt cleaning it doesn't seemed to have

[us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-05-18 Thread Dan Yamins
I'm having a problem with performance of the program dot (for rendering graphs) when called from a python cgi script, served by an apache virtual host. I'm writing this email both the apache httpd list as well as the graphviz users lists (hoping some intersection might be useful). I'm using OSX

[us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-04-26 Thread Dan Yamins
Thanks John, Stephen, and Jonathan for your very helpful and timely responses. On Sat, Apr 25, 2009 at 9:35 PM, John Ellson john.ell...@comcast.netwrote: On 04/25/2009 01:13 PM, Stephen North wrote: A hunch is that some cache is not seen or is not available. Could be the fontconfig cache.

[us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-04-26 Thread Dan Yamins
This seems precisely to be the problem. I do have a ~/.fontconfig directory containing cache files. When I delete it, the performance of the command line script is just as slow as the cgi script until the next time the command is run (e.g. after the cache is remade).So I guess the

[us...@httpd] Dot extremely slow when called from python cgi script

2009-04-25 Thread Dan Yamins
I'm having a problem with performance of the program dot (for rendering graphs) when called from a python cgi script, served by an apache virtual host. I'm writing this email both the apache httpd list as well as the graphviz users lists (hoping some intersection might be useful). I'm using OSX

[us...@httpd] PRoblem with virtual host setup

2009-03-13 Thread Dan Yamins
Hi, I'm trying to set up a virtual host on a new OS10.5.6 machine. I'm using settings that I run on several other OSX machines (also 10.5.6) and they work fine, but for some reason fail on this machine . The goal is set up the virtual host in the directory /Users/dad/research/dataenv. The

Re: [EMAIL PROTECTED] Another Premature end of script headers problem

2008-11-19 Thread Dan Yamins
In my opinion, that would be unlikely, since it sometimes works, and sometimes not, and I guess the output file is always being written in the same place, no ? Yes, of course you're right. (Although something about the way the file is written by the .draw method could be dependent on the

Re: [EMAIL PROTECTED] Premature end of script headers

2008-11-18 Thread Dan Yamins
... [Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of script headers: our_application.exe ... ScriptLog might show you that your app is emitting an error message instead of e.g. Content-Type header. -- Actually, I've _also_ just started to have an intermittent

[EMAIL PROTECTED] Another Premature end of script headers problem

2008-11-18 Thread Dan Yamins
Sorry, I posted this in the middle of someone else's question before ... so I'm posting it again in its own thread. Hopefully someone has some ideas: I'm running a python script using CGI on a local apache-served virtual host. (It' just an internal development project.) The project involves

[EMAIL PROTECTED] Another Premature end of script headers problem

2008-11-18 Thread Dan Yamins
Sorry, I posted this in the middle of someone else's question before ... so I'm posting it again in its own thread. Hopefully someone has some ideas: I'm running a python script using CGI on a local apache-served virtual host. (It' just an internal development project.) The project involves

[EMAIL PROTECTED] Permission Issues in python cgi scripts on Apache 2.2 on OSX Leopard

2008-11-14 Thread Dan Yamins
I'm a total Apache newbie and I'm having two permissions-related related problems. I've set up local virtual host set up to serve a local directory that a project of mine is in. In this directory, I have some python .cgi scripts. In several places, scripts that work fine when not run as .cgi