Re: cgi script

2009-08-02 Thread Piet van Oostrum
> golu (g) wrote: >g> Hi, >g> i started learning cgi few days ago in python and everything went >g> fine until i started getting the follwing error >g> " >g> The server encountered an internal error and was unable to complete >g> your request. Either the server is overloaded or there was an

Re: cgi script

2009-08-02 Thread Carl Banks
On Aug 1, 11:11 pm, golu wrote: > Hi, > i started learning cgi few days ago in python and everything went > fine  until i started getting the follwing error > " > The server encountered an internal error and was unable to complete > your request. Either the server is overloaded or there was an err

Re: CGI Script using Python

2007-04-21 Thread Fuzzyman
On Apr 21, 10:02 pm, Tim Roberts <[EMAIL PROTECTED]> wrote: > "Ralf" <[EMAIL PROTECTED]> wrote: > > >is there anybody who can help me. > >I would like to use a Python Script to download Files from a Server to the > >Client, to update the Client. > > Remember, though, that a CGI script cannot actual

Re: CGI Script using Python

2007-04-21 Thread Tim Roberts
"Ralf" <[EMAIL PROTECTED]> wrote: > >is there anybody who can help me. >I would like to use a Python Script to download Files from a Server to the >Client, to update the Client. Remember, though, that a CGI script cannot actually put files anywhere. You can certainly download files to the client

Re: CGI Script using Python

2007-04-19 Thread Fuzzyman
On Apr 19, 11:34 am, "Ralf" <[EMAIL PROTECTED]> wrote: > Hello, > is there anybody who can help me. > I would like to use a Python Script to download Files from a Server to the > Client, to update the Client. > Downman is an example of a Python CGI which presents files for download. http://www.vo

Re: CGI script running not completely in HTML

2006-08-17 Thread Tim Chase
> In which case you probably need to tweak the server timeout > setting. Nothing you can do from Python (except possibly make > your CGI run faster). Or have Python send a better SQL statement that would run faster...a little SQL mojo goes a long way. The OP failed (as far as my thread-dabbling

Re: CGI script running not completely in HTML

2006-08-17 Thread Steve Holden
Yong Wang wrote: > Hi Steve: >The propblem I run into is about one minute. The CGI script is not > completed to run and aborted. > If I run the python script in backend solaris machine, the script needs about > one minute for database > access. > Thanks, > > Yong > In which case yo

Re: CGI script running not completely in HTML

2006-08-17 Thread Steve Holden
Yong Wang wrote: > Hi, All: > I have written a python CGI script to run in html web page. When I access > to > the html page, it only runs part of the script, then abort because the late > part of > the script is involved in database access, it is slow. I wonder whether there > is > a way t

Re: CGI script running not completely in HTML

2006-08-17 Thread Tim
Yong Wang wrote: > Hi, All: > I have written a python CGI script to run in html web page. When I access > to > the html page, it only runs part of the script, then abort because the late > part of > the script is involved in database access, it is slow. I wonder whether there > is > a way t

Re: CGI script running not completely in HTML

2006-08-17 Thread Christoph Haas
On Thursday 17 August 2006 21:50, Yong Wang wrote: > I have written a python CGI script to run in html web page. When I > access to the html page, it only runs part of the script, then abort > because the late part of the script is involved in database access, it > is slow. I wonder whether the

Re: cgi script error

2006-01-19 Thread Fredrik Lundh
Ron Griswold wrote: > I'm getting the following error from my web server (httpd on linux): > "malformed header from script. Bad header=: htmllib.cgi > It gives the same complaint if I've got openDocument and/or openHead > uncommented. The script is executing otherwise the error wouldn't show > up

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread nephish
Great Advice, can see that saving me a few headaches thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread Mike Meyer
[EMAIL PROTECTED] writes: > fixed, thanks for all of your help. > i am pouring over python texts and the problem is > html... duh Right. To get HTML that will work in any browser, http://www.anybrowser.org/campaign/ >, you really need to validate your HTML. w3.org provides a public validator

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread nephish
fixed, thanks for all of your help. i am pouring over python texts and the problem is html... duh looking for a more efficient way to jerk all of the hair outta my head. thanks a whole lot. your awesome -- http://mail.python.org/mailman/listinfo/python-list

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread nephish
Ok, i made a change in the source. now here is the source from Opera, still cant get firefox to work with me. Customer Data Watkins Crop Consulting 1915 Cherokee Dalhart, Tx 79022333-5943 gandalf Field field one Crop crop one GS growing, yep Weeds many weeds Water lots o water

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread Brian
Bingo, found it! Notice that you accidentally close the document before displaying any information... [EMAIL PROTECTED] wrote: > > Customer Data > > > Watkins Crop Consulting > > Notice the tag above. There's the problem! Brian -- http://mail.python.org/mailman/listinfo/python-li

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread nephish
Well, i don't have an app that will automaticlly check a page for errors, unless bluefish will do it, i am not sure. the page it is supposed to print out is a response to a form entry. here is the source from Opera if one of you guys want to look at it. Customer Data Watkins Crop Consulting

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread Brian
Yes, I agree that it is best to check the HTML source code of the page that is being generated. The server is obviously generating the code, but the difference here is how the two browsers are interpreting the HTML data. Check the source code for the HTML document. I bet the problem resides

Re: cgi script runs under Opera, but not firefox

2005-06-11 Thread James Carroll
Try View Source under Firefox, you should see everything that you're printing from your CGI on the server. The server side CGI will do the same thing no matter what browser is requesting the page. Next, take that source and paste into into some app that will look for problems like tags that aren