[Tutor] chain gangs revolt, film at 11

Kirk Bailey idiot1 at netzero.net
Mon Aug 18 21:12:09 EDT 2003


Dear anyone;
ok, trying to have one program on ending to fire off another. It's not 
happening. I never tried this before, and expertise has not been this low for 
quite a while.

Links:
program itself:
http://www.tinylist.org/wikinehesaed2.txt

Error log:
http://www.tinylist.org/STATS/www-error.log

problem,, quoting from the error log:

Traceback (innermost last):
   File "/www/www.tinylist.org/cgi-bin/wikinehesaed2.py", line 24, in ?
     os.execl(path+'/wikinehesa.py/'+pagename)
   File "/usr/local/lib/python1.5/os.py", line 169, in execl
     execv(file, args)
OSError: [Errno 20] Not a directory

Path is functioning flawlessly- see script listing to see how it is generated.
in breif, it reads the sys.argv[0] and chomps it apart to extract the path 
arguement that fired off the program. The script this one TRIES to trigger also 
lives in the web cgi-bin.

anyone want to provide some clue?



-- 

end

Cheers!
         Kirk D Bailey

  +                              think                                +
   http://www.howlermonkey.net  +-----+        http://www.tinylist.org
   http://www.listville.net     | BOX |  http://www.sacredelectron.org
   Thou art free"-ERIS          +-----+     'Got a light?'-Promethieus
  +                              think                                +

Fnord.





More information about the Tutor mailing list