python script from crond help
chris.gonnerman at newcenturycomputers.net
Sat Jan 5 08:15:17 EST 2002
----- Original Message -----
From: "Tuca Atuc" <atuc at gmx.de>
> i tried to start a python script from crond. simple scripts worke
> fine but when i use a scrip that imports the httplib i get an
> error. the script normally produces no error.
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/home/atuc>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=atuc>
> Traceback (innermost last):
> File "goog_search.py", line 7, in ?
> h = httplib.HTTPConnection(server) #start HTTP/1.1
> AttributeError: HTTPConnection
Please post the entire script for our perusal. I don't think the
problem is exactly what you think it is.
> where can i set the lib path on an linux box that python will find
> its librarys?
RedHat? Do you have more than one installed version (i.e. 1.5.2 and
More information about the Python-list