[reportlab-users] Script not working as scheduled task?

Robin Becker robin at reportlab.com
Tue Mar 10 06:09:20 EDT 2009


Paul Barrass wrote:

> Matt McKimmy wrote:

>> I have a python script which runs fine from Pythonwin 2.4. However

>> when I create a schedualed task to run the script the task runs, but

>> the script crashes during the importing of the reportlab parts.

>> Running Version 2.2.

>>

> Sounds to me like the paths aren't correct when being run as a scheduled

> task [though I'm not too familiar with the Windows way of doing things,

> using cron here...]. How/where is ReportLab installed - in the

> site-packages (or Win equivalent) or locally? Can you import non-RL

> third party modules? What exactly is the error - the dump from python

> would perhaps give a lot of information as to what's failing to load,

> and why.

>

> Paul Barrass.

.......
this is more than likely correct. One simple way to check this out is to get
your startup script to print out (to a specified log file) some simple details
about sys.path the current user etc etc.

If your job is running as another user it might be that it cannot access files
for some reason.
--
Robin Becker


More information about the reportlab-users mailing list