pyreport modifies working directory

Bug #575590 reported by Thorsten Kranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyreport
New
Undecided
Unassigned

Bug Description

Hi Gael,

I have a problem using pyreport. When I run it on a script that does not lie in the same directory as I'm working in, e.g.
 when I try somewhere in the filesystem:

pyreport -o ./filt1.py -a ./filt.xml /home/thorsten/bin/filt1.py

where filt1.xml is a file containing options for the script filt1.py, then pyreport seems to do a cwd into /home/thorsten/bin and executes the script in there. Then, all relative paths are wrong.

Is there a way to fix this behaviour? Or is pyreport not intended to work in such a setup?

Thanks,

Thorsten

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.