it returns something very long finishing like this:
…
…
.
return Popen(args, **popts)
File “/usr/local/grass-7.0.svn/etc/python/grass/script/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1129, in _execute_child
if isinstance(args, types.StringTypes):
RuntimeError: maximum recursion depth exceeded while calling a Python object
it returns something very long finishing like this:
…
…
.
return Popen(args, **popts)
File “/usr/local/grass-7.0.svn/etc/python/grass/script/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1129, in _execute_child
if isinstance(args, types.StringTypes):
RuntimeError: maximum recursion depth exceeded while calling a Python object
ftp site not accessible through working place wifi...
Can this generate such crash?
the pyModis [0][1] version inside r.modis is quite old, I didn't
receive any feedback for more then one year that r.modis is in the
addons repository. Today I'll work to update it and test it
Can this module crash more gracefully?
The error above seem related to grass/script/core.py and not to
r.modis module but I'll try after updating pyModis
it returns something very long finishing like this:
…
…
.
return Popen(args, **popts)
File “/usr/local/grass-7.0.svn/etc/python/grass/script/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1129, in _execute_child
if isinstance(args, types.StringTypes):
RuntimeError: maximum recursion depth exceeded while calling a Python object
When running r.modis.import, I am getting the following error output (just copying the first few lines and the last part as the whole error message is too long):
Traceback (most recent call last):
File “/home/paulo/.grass7/addons/
scripts/r.modis.import”,
line 510, in
sys.exit(main())
File “/home/paulo/.grass7/addons/scripts/r.modis.import”,
line 478, in main
version = grass.core.version()
File “/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py”, line 1332, in version
flags = ‘rge’)
File “/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py”, line 274, in parse_command
res = read_command(*args, **kwargs)
…
…
…
File “/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1129, in
_execute_child
if isinstance(args, types.StringTypes):
RuntimeError: maximum recursion depth exceeded while calling
a Python object
If you want the whole error message, please let me know.
When running r.modis.import, I am getting the following error output (I
don't know all is relevant, just copying everything to be sure):
Traceback (most recent call last):
File "/home/paulo/.grass7/addons/scripts/r.modis.import",
line 510, in <module>
sys.exit(main())
File "/home/paulo/.grass7/addons/scripts/r.modis.import",
line 478, in main
version = grass.core.version()
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 1332, in version
flags = 'rge')
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 274, in parse_command
res = read_command(*args, **kwargs)
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 234, in read_command
ps = pipe_command(*args, **kwargs)
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 211, in pipe_command
return start_command(*args, **kwargs)
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 169, in start_command
if debug_level() > 0:
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 1346, in debug_level
_debug_level = int(gisenv().get('DEBUG', 0))
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 682, in gisenv
s = read_command("g.gisenv", flags='n')
the error is in grass.core.version(). I try also to run it from
console and I obtain the same error.
I'm looking the code but it's a little bit confused because a lot of
module are called and I really don't understand where is the bug.
if debug_level() > 0:
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 1346, in debug_level
_debug_level = int(gisenv().get('DEBUG', 0))
File "/usr/local/grass7/grass-7.0.svn/etc/python/grass/scr
ipt/core.py", line 682, in gisenv
s = read_command("g.gisenv", flags='n')
the error is in grass.core.version(). I try also to run it from
console and I obtain the same error.
I'm looking the code but it's a little bit confused because a lot of
module are called and I really don't understand where is the bug.