[GRASS-dev] wx.metadata ready for testing

Paulo van Breugel p.vanbreugel at gmail.com
Wed Oct 7 03:30:15 PDT 2015


On Wed, Oct 7, 2015 at 11:48 AM, Martin Landa <landa.martin at gmail.com>
wrote:

> Hi,
>
> 2015-10-07 10:14 GMT+02:00 Paulo van Breugel <p.vanbreugel at gmail.com>:
> > make -C mdlib || echo
> > /home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/mdlib
> >>
> > /usr/local/grass7/grass-7.1.svn/error.log
>
> it seems to me that `g.extension` is trying to install addons to
> /usr/local. Are you sure that you are not using `-s` flag or
> GRASS_ADDON_BASE which points to /usr/local/grass7 ... ?
>

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:

Fetching <wx.metadata> from GRASS GIS Addons repository (be patient)...
Compiling...
Traceback (most recent call last):
  File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script
s/db.csw.admin", line 127, in <module>
    from cswutil import *
ImportError: No module named cswutil
make[1]: *** [db.csw.admin.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script
s/g.gui.cswbrowser", line 22, in <module>
    from cswlib import CSWBrowserPanel, CSWConnectionPanel
ImportError: No module named cswlib
make[1]: *** [g.gui.cswbrowser.tmp.html] Error 1
Traceback (most recent call last):
  File "/tmp/grass7-paulo-27306/tmpqqEFqa/wx.metadata/script
s/g.gui.metadata", line 35, in <module>
    import mdgrass
ImportError: No module named mdgrass
make[1]: *** [g.gui.metadata.tmp.html] Error 1
Installing...
/usr/bin/install: cannot stat ‘/tmp/grass7-paulo-27306/tmp
qqEFqa/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-27306/tmp
qqEFqa/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-27306/tmp
qqEFqa/wx.metadata/docs/html/g.gui.metadata.html’: No such
file or directory
make[1]: *** [install] Error 1
make: *** [installsubdirs] Error 2
WARNING: Installation failed, sorry. Please check above error messages.



>
> Martin
>
> >
> > rm g.gui.cswbrowser.tmp.html
> >
> > make[1]: Leaving directory
> >
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.cswbrowser'
> >
> > make -C g.gui.metadata || echo
> >
> /home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata
> >>> /usr/local/grass7/grass-7.1.svn/error.log
> >
> > make[1]: Entering directory
> >
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata'
> >
> > if [ "/usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata" != "" ] ;
> then
> > GISRC=/usr/local/grass7/grass-7.1.svn/demolocation/.grassrc71
> > GISBASE=/usr/local/grass7/grass-7.1.svn
> >
> 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"
> >
> PYTHONPATH="/usr/local/grass7/grass-7.1.svn/etc/python:/usr/local/grass7/grass-7.1.svn/gui/wxpython:$PYTHONPATH"
> >
> 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"
> > LC_ALL=C /usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata
> > --html-description < /dev/null | grep -v '</body>\|</html>' >
> > g.gui.metadata.tmp.html ; fi
> >
> > Traceback (most recent call last):
> >
> >   File "/usr/local/grass7/grass-7.1.svn/scripts/g.gui.metadata", line
> 35, in
> > <module>
> >
> >     import mdgrass
> >
> > ImportError: No module named mdgrass
> >
> > make[1]: *** [g.gui.metadata.tmp.html] Error 1
> >
> > rm g.gui.metadata.tmp.html
> >
> > make[1]: Leaving directory
> >
> `/home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/g.gui.metadata'
> >
> >
> >
> >>
> >
>
>
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151007/42cfe44c/attachment.html>


More information about the grass-dev mailing list