<div dir="ltr">The earlier error message was when trying to create/edit a raster metadata file. The error message below is when trying to create/edit a vector metadata file.<br><div><br>Traceback (most recent call last):<br> File "/home/paulo/.grass7/addons/scripts/g.gui.metadata",<br>line 1031, in onEdit<br> ok = self.GetParent().onEditMapMetadata()<br> File "/home/paulo/.grass7/addons/scripts/g.gui.metadata",<br>line 259, in onEditMapMetadata<br> self.xmlPath =<br>self.mdCreator.saveXML(self.mdDestination,<br>self.nameTMPteplate, self)<br> File "/home/paulo/.grass7/addons/etc/mdlib/mdgrass.py",<br>line 346, in saveXML<br> template = env.get_template(self.template)<br> File "/usr/lib/python2.7/dist-<br>packages/jinja2/environment.py", line 791, in get_template<br> return self._load_template(name,<br>self.make_globals(globals))<br> File "/usr/lib/python2.7/dist-<br>packages/jinja2/environment.py", line 765, in _load_template<br> template = self.loader.load(self, name, globals)<br> File "/usr/lib/python2.7/dist-packages/jinja2/loaders.py",<br>line 113, in load<br> source, filename, uptodate =<br>self.get_source(environment, name)<br> File "/usr/lib/python2.7/dist-packages/jinja2/loaders.py",<br>line 178, in get_source<br> raise TemplateNotFound(template)<br>jinja2.exceptions.TemplateNotFound:<br>/home/paulo/.grass7/addons/etc/templates/basicTemplate.xml<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 3:30 PM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>After selecting a layer in the g.gui.metadata window (I am using grass 7 trunk) I get the following error when trying to edit the metadata of a layer:<br><br>Traceback (most recent call last):<br> File "/home/paulo/.grass7/addons/scripts/g.gui.metadata",<br>line 1031, in onEdit<br> ok = self.GetParent().onEditMapMetadata()<br> File "/home/paulo/.grass7/addons/scripts/g.gui.metadata",<br>line 257, in onEditMapMetadata<br> self.mdCreator.createGrassBasicISO()<br> File "/home/paulo/.grass7/addons/etc/mdlib/mdgrass.py",<br>line 186, in createGrassBasicISO<br> self.md.identification.title =<br>mdutil.replaceXMLReservedChar(self.md_grass['title'])<br>KeyError: 'title'<br><br></div>Any idea?<br></div>
</blockquote></div><br></div></div></div>