[GRASS-dev] installing wx.metadata fails

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Mon Feb 29 04:14:07 PST 2016


Hei,

I had similar issues recently.

Just now I tested again (fresh code for both GRASS 71 and AddOns) and the metadata tools seem to work.
However, I get still get an error message on compile:

[...]
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
/bin/sh: 1: cannot create /usr/local/grass-7.1.svn/locale/scriptstrings/g.gui.metadata_to_translate.c: Directory nonexistent
make[1]: [/usr/local/grass-7.1.svn/locale/scriptstrings/g.gui.metadata_to_translate.c] Error 2 (ignored)
make[1]: Leaving directory `/data/src/grass71-addons/gui/wxpython/wx.metadata/g.gui.metadata'

Kind regards,
Stefan

From: grass-dev [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Paulo van Breugel
Sent: 23. februar 2016 09:58
To: GRASS developers email list <grass-dev at lists.osgeo.org>
Subject: [GRASS-dev] installing wx.metadata fails

I just tried to update the wx.metadata addon using g.extension (on grass 7 master), resulting in the error below:

(Tue Feb 23 09:55:19 2016)
g.extension extension=wx.metadata url=
WARNING: Extension <wx.metadata> already installed. Re-installing...
Fetching <wx.metadata> from GRASS GIS Addons repository (be patient)...
Compiling...
Traceback (most recent call last):
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts
/db.csw.admin", line 127, in <module>
    from mdlib.cswutil import *
ImportError: No module named mdlib.cswutil
make[1]: *** [db.csw.admin.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts
/g.gui.cswbrowser", line 22, in <module>
    from mdlib.cswlib import CSWBrowserPanel,
CSWConnectionPanel
ImportError: No module named mdlib.cswlib
make[1]: *** [g.gui.cswbrowser.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-paulo-8596/tmpWf3irR/wx.metadata/scripts
/g.gui.metadata", line 43, in <module>
    from mdlib import mdgrass
ImportError: No module named mdlib
make[1]: *** [g.gui.metadata.tmp.html] Error 1
Installing...
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW
f3irR/wx.metadata/docs/html/db.csw.admin.html’: No such
file or directory
make[1]: *** [install] Error 1
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW
f3irR/wx.metadata/docs/html/g.gui.cswbrowser.html’: No
such file or directory
make[1]: *** [install] Error 1
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-8596/tmpW
f3irR/wx.metadata/docs/html/g.gui.metadata.html’: No such
file or directory
make[1]: *** [install] Error 1
make: *** [installsubdirs] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160229/74e38e2e/attachment-0001.html>


More information about the grass-dev mailing list