<div dir="ltr"><br><div class="gmail_extra"><br><div>On Wed, Oct 7, 2015 at 11:48 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@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">Hi,<br>
<span class=""><br>
2015-10-07 10:14 GMT+02:00 Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>>:<br>
> make -C mdlib || echo<br>
> /home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/mdlib >><br>
> /usr/local/grass7/grass-7.1.svn/error.log<br>
<br>
</span>it seems to me that `g.extension` is trying to install addons to<br>
/usr/local. Are you sure that you are not using `-s` flag or<br>
GRASS_ADDON_BASE which points to /usr/local/grass7 ... ?<br></blockquote><div><br></div><div>Not that I know. Also, all other addons install fine. I tried it again, after removing the folder .grass7 first (i.e., clean start). Using g.extention, the output was:<br><br>Fetching <wx.metadata> from GRASS GIS Addons repository (be patient)...<br>Compiling...<br>Traceback (most recent call last):<br> File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script<br>s/db.csw.admin", line 127, in <module><br> from cswutil import *<br>ImportError: No module named cswutil<br>make[1]: *** [db.csw.admin.tmp.html] Error 1<br>Traceback (most recent call last):<br> File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script<br>s/g.gui.cswbrowser", line 22, in <module><br> from cswlib import CSWBrowserPanel, CSWConnectionPanel<br>ImportError: No module named cswlib<br>make[1]: *** [g.gui.cswbrowser.tmp.html] Error 1<br>Traceback (most recent call last):<br> File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script<br>s/g.gui.metadata", line 35, in <module><br> import mdgrass<br>ImportError: No module named mdgrass<br>make[1]: *** [g.gui.metadata.tmp.html] Error 1<br>Installing...<br>/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-27306/tmp<br>qqEFqa/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-27306/tmp<br>qqEFqa/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-27306/tmp<br>qqEFqa/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<br>WARNING: Installation failed, sorry. Please check above error messages.<br></div><br></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
Martin<br>
</font></span><div class=""><div class="h5"><br>
><br>
> rm g.gui.cswbrowser.tmp.html<br>
><br>
> make[1]: Leaving directory<br>
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.cswbrowser'<br>
><br>
> make -C g.gui.metadata || echo<br>
> /home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata<br>
>>> /usr/local/grass7/grass-7.1.svn/error.log<br>
><br>
> make[1]: Entering directory<br>
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata'<br>
><br>
> if [ "/usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata" != "" ] ; then<br>
> GISRC=/usr/local/grass7/grass-7.1.svn/demolocation/.grassrc71<br>
> GISBASE=/usr/local/grass7/grass-7.1.svn<br>
> PATH="/usr/local/grass7/grass-7.1.svn/bin:/usr/local/grass7/grass-7.1.svn/bin:/usr/local/grass7/grass-7.1.svn/scripts:$PATH"<br>
> PYTHONPATH="/usr/local/grass7/grass-7.1.svn/etc/python:/usr/local/grass7/grass-7.1.svn/gui/wxpython:$PYTHONPATH"<br>
> LD_LIBRARY_PATH="/usr/local/grass7/grass-7.1.svn/bin:/usr/local/grass7/grass-7.1.svn/scripts:/usr/local/grass7/grass-7.1.svn/lib:/usr/local/grass7/grass-7.1.svn/lib::/lib:/usr/local/lib:/usr/local/gdal/lib"<br>
> LC_ALL=C /usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata<br>
> --html-description < /dev/null | grep -v '</body>\|</html>' ><br>
> g.gui.metadata.tmp.html ; fi<br>
><br>
> Traceback (most recent call last):<br>
><br>
> File "/usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata", line 35, in<br>
> <module><br>
><br>
> import mdgrass<br>
><br>
> ImportError: No module named mdgrass<br>
><br>
> make[1]: *** [g.gui.metadata.tmp.html] Error 1<br>
><br>
> rm g.gui.metadata.tmp.html<br>
><br>
> make[1]: Leaving directory<br>
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata'<br>
><br>
><br>
><br>
>><br>
><br>
<br>
<br>
<br>
</div></div><div class=""><div class="h5">--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/landa</a><br>
</div></div></blockquote></div><br></div></div>