[GRASS-dev] [GRASS GIS] #2865: Error when installing r.modis add-on and warning when starting grass
GRASS GIS
trac at osgeo.org
Tue Jan 12 11:36:09 PST 2016
#2865: Error when installing r.modis add-on and warning when starting grass
------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.3
Component: Addons | Version: svn-trunk
Keywords: r.modis | CPU: x86-64
Platform: Linux |
------------------------+-------------------------
Hi
I get the following error when installing the add-on r.modis.
{{{
GRASS 7.1.svn (latlong_wgs84):~ > g.extension r.modis
Fetching <r.modis> from GRASS GIS Addons repository (be patient)...
Compiling...
Traceback (most recent call last):
File
"/tmp/grass7-veroandreo-3549/tmpMJRoMB/r.modis/scripts/r.modis.download",
line 94, in <module>
from rmodislib import product
ImportError: No module named rmodislib
make[1]: *** [r.modis.download.tmp.html] Error 1
Traceback (most recent call last):
File
"/tmp/grass7-veroandreo-3549/tmpMJRoMB/r.modis/scripts/r.modis.import",
line 100, in <module>
from rmodislib import resampling, product, projection, get_proj
ImportError: No module named rmodislib
make[1]: *** [r.modis.import.tmp.html] Error 1
Installing...
/usr/bin/install: cannot stat
‘/tmp/grass7-veroandreo-3549/tmpMJRoMB/r.modis/docs/html/r.modis.download.html’:
No such file or directory
make[1]: *** [install] Error 1
/usr/bin/install: cannot stat
‘/tmp/grass7-veroandreo-3549/tmpMJRoMB/r.modis/docs/html/r.modis.import.html’:
No such file or directory
make[1]: *** [install] Error 1
Updating addons metadata file...
Installation of <r.modis> successfully finished
}}}
It seems to work fine though... I can load both r.modis.download and
r.modis.import GUIs and do what I need to do. But, every time I start
grass again, I get:
{{{
GRASS 7.1.svn (latlong_wgs84):~ > r.modis: Unable to fetch interface
description for command 'r.modis'.
Details: [Errno 2] No such file or directory
WARNING: Some addons failed when loading. Please consider to update your
addons by running 'g.extension.all -f'.
}}}
I fetch add-ons and all fine, but when re-start grass again... same
WARNING as before. If I start grass without the GUI, there's no WARNING.
If I remove r.modis add-on, I no longer get that error, of course. Don't
know if both errors are related to the same thing or not. AFAIK, the same
happens with the add-on r.green. Something is not recognized somehow.
I have some other add-ons installed (r.hants, for example), but no warning
regarding any of them, just r.modis.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2865>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list