[Pythonmac-SIG] Using Python .py scripts for CGI with personal web sharing

Samuel Smith smith@oe.fau.edu
Tue, 1 Aug 2000 14:12:39 -0400


>Sam,
>
>Thanks for your note on this.
>
>I'm trying to get it working, with no success. I've put the
>PythonCGISlave applet in by Web Pages:cgi-bin folder, and set a Personal
>Web Sharing Launch at suffix action to launch it, but it doesn't seem to
>get launched. I just get a "A CGI or internal server component could not
>complete the requested action." error from netscape. the url that shows
>up in netscape is the python script that I'm trying to run, and it does
>have a .py suffix.
>
>I have no idea how to debug this! any ideas?
>
>-Chris
>

I have the PythonCGISlave applet   in the Web Pages folder not in a 
subdirectory. Do you have both the applet and the .py URL with the 
complete path to Web Pages:cgi-bin.

I saw the same error when my applet couldn't find the python core. Is 
the applet running after you invoke the CGI?. If not try running the 
applet by itself see if it loads without the python core not found 
error.

This may be a stupid question but did you build the applet on your 
system from the PythonCGISlave.py

>
>
>
>--
>Christopher Barker,
>Ph.D.                                                          
>cbarker@jps.net                      ---           ---           ---
>http://www.jps.net/cbarker          -----@@       -----@@       -----@@
>                                    ------@@@     ------@@@     ------@@@
>Water Resources Engineering       ------   @    ------   @   ------   @
>Coastal and Fluvial Hydrodynamics -------      ---------     --------   
>------------------------------------------------------------------------
>------------------------------------------------------------------------

-- 
**********************************

Samuel M. Smith Ph.D.
Professor
Director Advanced Marine Systems Lab


**************(Dania SeaTech Building)***********************

Institute for Ocean and Systems Engineering
Florida Atlantic University
Rm. 225 B, SeaTech Bldg.
101 North Beach Road,  Dania, FL 33004

(voice) 954-924-7232
(secretary Paula) 954-924-7230
(fax) 954-924-7233
(mobile) 561-251-2114
(email) smith@oe.fau.edu
(web) http://www.oe.fau.edu