[GRASS-dev] installing metadata addon fails

Martin Landa landa.martin at gmail.com
Thu Jan 8 09:44:24 PST 2015


Hi,

2015-01-08 16:37 GMT+01:00 Paulo van Breugel <p.vanbreugel at gmail.com>:
> The installation of the metadata addon on GRASS 7 (trunk) fails, with the
> message below. Any ideas?

I have fixed installation in r63999-64001. But `r.info.iso` fails

r.info.iso dmt
WARNING: date of creation: unknown date format
Traceback (most recent call last):
  File "/home/martin/.grass7/addons/scripts/r.info.iso", line 83, in <module>
    main()
  File "/home/martin/.grass7/addons/scripts/r.info.iso", line 75, in main
    overwrite=os.getenv('GRASS_OVERWRITE', False))
  File "/home/martin/.grass7/addons/etc/mdlib/mdgrass.py", line 346, in saveXML
    template = env.get_template(self.template)
  File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8_devdev_20140629-py2.7.egg/jinja2/environment.py",
line 801, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8_devdev_20140629-py2.7.egg/jinja2/environment.py",
line 763, in _load_template
    cache_key = self.loader.get_source(self, name)[1]
  File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8_devdev_20140629-py2.7.egg/jinja2/loaders.py",
line 187, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound:
/home/martin/.grass7/addons/etc/templates/basicTemplate.xml

The mystery is that the file
(/home/martin/.grass7/addons/etc/templates/basicTemplate.xml) exists:

$ file /home/martin/.grass7/addons/etc/templates/basicTemplate.xml
/home/martin/.grass7/addons/etc/templates/basicTemplate.xml: XML document text

I hope that the original author (Matej in cc) will know more. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa


More information about the grass-dev mailing list