<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NO-BOK" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hei,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I had similar issues recently.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Just now I tested again (fresh code for both GRASS 71 and AddOns) and the metadata tools seem to work.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">However, I get still get an error message on compile:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">[...]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">GISRC=/usr/local/grass-7.1.svn/demolocation/.grassrc71 GISBASE=/usr/local/grass-7.1.svn PATH="/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/scripts:$PATH"
 PYTHONPATH="/usr/local/grass-7.1.svn/etc/python:/usr/local/grass-7.1.svn/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/bin:/usr/local/grass-7.1.svn/scripts:/usr/local/grass-7.1.svn/lib:/usr/local/grass-7.1.svn/lib:"
 LC_ALL=C g.parser -t g.gui.metadata.py | sed s/\"/\\\\\"/g | sed 's/.*/_("&")/' > /usr/local/grass-7.1.svn/locale/scriptstrings/g.gui.metadata_to_translate.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">/bin/sh: 1: cannot create /usr/local/grass-7.1.svn/locale/scriptstrings/g.gui.metadata_to_translate.c: Directory nonexistent<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">make[1]: [/usr/local/grass-7.1.svn/locale/scriptstrings/g.gui.metadata_to_translate.c] Error 2 (ignored)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">make[1]: Leaving directory `/data/src/grass71-addons/gui/wxpython/wx.metadata/g.gui.metadata'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> grass-dev [mailto:grass-dev-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Paulo van Breugel<br>
<b>Sent:</b> 23. februar 2016 09:58<br>
<b>To:</b> GRASS developers email list <grass-dev@lists.osgeo.org><br>
<b>Subject:</b> [GRASS-dev] installing wx.metadata fails<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal">I just tried to update the wx.metadata addon using g.extension (on grass 7 master), resulting in the error below:<br>
<br>
(Tue Feb 23 09:55:19 2016)                                                      <br>
g.extension extension=wx.metadata url=                                          <br>
WARNING: Extension <wx.metadata> already installed. Re-installing...<br>
Fetching <wx.metadata> from GRASS GIS Addons repository (be patient)...<br>
Compiling...<br>
Traceback (most recent call last):<br>
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts<br>
/db.csw.admin", line 127, in <module><br>
    from mdlib.cswutil import *<br>
ImportError: No module named mdlib.cswutil<br>
make[1]: *** [db.csw.admin.tmp.html] Error 1<br>
Traceback (most recent call last):<br>
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts<br>
/g.gui.cswbrowser", line 22, in <module><br>
    from mdlib.cswlib import CSWBrowserPanel,<br>
CSWConnectionPanel<br>
ImportError: No module named mdlib.cswlib<br>
make[1]: *** [g.gui.cswbrowser.tmp.html] Error 1<br>
Traceback (most recent call last):<br>
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts<br>
/g.gui.metadata", line 43, in <module><br>
    from mdlib import mdgrass<br>
ImportError: No module named mdlib<br>
make[1]: *** [g.gui.metadata.tmp.html] Error 1<br>
Installing...<br>
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW<br>
f3irR/wx.metadata/docs/html/db.csw.admin.html’: No such<br>
file or directory<br>
make[1]: *** [install] Error 1<br>
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW<br>
f3irR/wx.metadata/docs/html/g.gui.cswbrowser.html’: No<br>
such file or directory<br>
make[1]: *** [install] Error 1<br>
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW<br>
f3irR/wx.metadata/docs/html/g.gui.metadata.html’: No such<br>
file or directory<br>
make[1]: *** [install] Error 1<br>
make: *** [installsubdirs] Error 2<o:p></o:p></p>
</div>
</div>
</body>
</html>