Steve Dower <steve.do...@python.org> added the comment:

Also, can you include your full task definition? There are a lot of options 
there which could cause it to launch in a different working directory (which 
will mess with your relative paths) or as a different user (which could mess 
with whether you can import your libraries).

I think it's possible to export the task definition as XML. Copy/pasting that 
here will be fine (not as an attachment, please, we just need to read it).

It's also difficult to collect standard output, so you may want to try adding 
something like "sys.stdout = sys.stderr = open(r'C:\Users\Public\Public 
Documents\log.txt', 'w')" to try and collect any output that you may be 
missing. The full path to the file is important, and it will need to be 
somewhere that most accounts can write.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45151>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to