[GRASS-user] v.class.mlR Error
Jamille Haarloo
j.r.haarloo at gmail.com
Mon Jun 4 06:42:28 PDT 2018
It did not work out from another station, but I tried today from the same
computer.
I first reinstalled the module.
This is the command output:
Running R now. Following output is R output.
Traceback (most recent call last):
File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/v.class.mlR.py", line 632, in <module>
main()
File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/v.class.mlR.py", line 569, in main
subprocess.check_call(['Rscript', r_commands],
stderr=subprocess.STDOUT, )
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\subprocess.py", line 537, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\subprocess.py", line 711, in __init__
errread, errwrite)
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\subprocess.py", line 948, in
_execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file
specified
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/v.class.mlR.py", line 236, in cleanup
gscript.try_remove(model_output_csv)
NameError: global name 'model_output_csv' is not defined
Error in sys.exitfunc:
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.4.0\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/v.class.mlR.py", line 236, in cleanup
gscript.try_remove(model_output_csv)
NameError: global name 'model_output_csv' is not defined
On Sat, Jun 2, 2018 at 11:13 AM, Moritz Lennert <
mlennert at club.worldonline.be> wrote:
> Le Fri, 1 Jun 2018 12:15:03 -0700 (MST),
> Helmut Kudrnovsky <hellik at web.de> a écrit :
>
> > >I committed a patch in r72758 which now correctly applies the
> > >replace() call to all tempfiles created. Please test.
> >
> > locally patched the addons script with this v.patch
> > <http://osgeo-org.1560.x6.nabble.com/file/t193444/v.patch> , then the
> > script also works with exporting result files incl boxplot png.
>
> Committed as r72759.
>
> Thanks for finding those and all the other windows specific issues !
>
> Moritz
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180604/8b4fd727/attachment-0001.html>
More information about the grass-user
mailing list