[GRASS-dev] r.modis.download

Luca Delucchi lucadeluge at gmail.com
Tue Nov 6 01:28:00 PST 2012


2012/11/6 Paulo van Breugel <p.vanbreugel at gmail.com>:
> Hi Luca
>
> My system info:
>
> GRASS version: 7.0.svn
> GRASS SVN Revision: 53689
> GIS Library Revision: 52468 (2012-07-27)
> GDAL/OGR: 1.9.2
> PROJ.4: 4.7.0
> GEOS: 3.3.3
> Python: 2.7.3
> wxPython: 2.8.12.1
> Platform: Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
>
> 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.

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list