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'
>
>
Further tracked it:
open('. /exportTemplate s/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: python2. 5/site- packages/ openwns/ wrowser/ probeselector/ Exporters. py", line 94, in export newlocation) python2. 5/site- packages/ openwns/ wrowser/ probeselector/ Exporters. py", line 70, in createPlotAll /exportTemplate s/plotAll. py',"r" ) tes/plotAll. py'
> I receive a similar error message:
>
> File "/usr/lib/
> createPlotAll(
> File "/usr/lib/
> template = open('.
> IOError: [Errno 2] No such file or directory: './exportTempla
>
>