Comment 2 for bug 576411

Revision history for this message
Maciej Muehleisen (mue-comnets) wrote : Re: [Bug 576411] Re: Python export not working

Further tracked it:

open('./exportTemplates/plotAll.py',"r") cannot work with an relative path if wrowser is installed globally. Copying the dir to /usr/bin solves the problem, but this is not a real solution. We need to find out where in the python setup.py concept such directories should go.

The exported python files still do not work since they do import wrowser... and not openwns.wrowser... but this can be fixed easily (I will do it)

Ralf Jennen wrote:
> I receive a similar error message:
>
> File "/usr/lib/python2.5/site-packages/openwns/wrowser/probeselector/Exporters.py", line 94, in export
> createPlotAll(newlocation)
> File "/usr/lib/python2.5/site-packages/openwns/wrowser/probeselector/Exporters.py", line 70, in createPlotAll
> template = open('./exportTemplates/plotAll.py',"r")
> IOError: [Errno 2] No such file or directory: './exportTemplates/plotAll.py'
>
>