[GRASS-user] G7-gui and G64 add-on problems on Xubuntu (installation from grass/ubuntugis ppa)

Cesar Augusto Ramírez Franco caesarivs at gmail.com
Mon Oct 14 09:19:04 PDT 2013


To be able to install grass addons in 6.4.3 you need to install the
grass-dev package with sudo apt-get install grass-dev and then issue the
g.extension command

Regards


2013/10/14 Johannes Radinger <johannesradinger at gmail.com>

> Hi all,
>
> I want to install G7 and G6.4.3 as well as several add-ons on a freshly
> installed Xubuntu (12.04) machine (Virtualbox) for testing purposes.
> Therefore I run following commands after Xubuntu installation and update of
> the system:
>
> sudo add-apt-repository ppa:grass/grass-devel
> sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
> sudo apt-get update
> sudo apt-get install grass643 grass70 grass-gui grass70-gui
>
> However after successful installation I run into following two problems:
>
> 1) When I try to launch G7-gui (e.g. with standard NC example dataset) I
> get following error:
>
> Launching <wxpython> GUI in the background, please wait...
> GRASS 7.0.svn (nc_basic_spm_grass7):~ > Traceback (most recent call last):
>   File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 143, in <module>
>     sys.exit(main())
>   File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 136, in main
>     app = GMApp(workspaceFile)
>   File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 50, in __init__
>     wx.App.__init__(self, False)
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7981, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 84, in OnInit
>     workspace = self.workspaceFile)
>   File "/usr/lib/grass70/etc/gui/wxpython/lmgr/frame.py", line 108, in
> __init__
>     self._menuTreeBuilder = LayerManagerMenuData()
>   File "/usr/lib/grass70/etc/gui/wxpython/lmgr/menudata.py", line 40, in
> __init__
>     MenuTreeModelBuilder.__init__(self, filename,
> expandAddons=expandAddons)
>   File "/usr/lib/grass70/etc/gui/wxpython/core/menutree.py", line 69, in
> __init__
>     xmlTree = etree.parse(filename)
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse
>     tree.parse(source, parser)
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
>     self._root = parser.close()
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close
>     self._raiseerror(v)
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in
> _raiseerror
>     raise err
> xml.etree.ElementTree.ParseError: no element found: line 1, column 0
>
> 2) G6.4.3. and its gui can be properly launched (no problems like
> mentioned in point 1). So here I tried to install add.ons. There I ran
> g.extension from the grass terminal but face following problem:
>
>
> GRASS 6.4.3 (gisdemo_ncspm):~ > g.extension extension=r.stream.order
>
> Fetching <r.stream.order> from GRASS-Addons SVN (be patient)...
> WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-U4bRKD/pkcs11:
> No such file or directory
> A    r.stream.order/main.c
> A    r.stream.order/description.html
> A    r.stream.order/global.h
> A    r.stream.order/io.c
> A    r.stream.order/r_stream_order_orders.png
> A    r.stream.order/order.c
> A    r.stream.order/Makefile
>  U   r.stream.order
> Checked out revision 57991.
> Compiling <r.stream.order>...
> Makefile:12: /usr/lib/grass64/include/Make/Module.make: No such file or
> directory
> make: *** No rule to make target
> `/usr/lib/grass64/include/Make/Module.make'.  Stop.
> ERROR: Compilation failed, sorry. Please check above error messages.
>
>
> So does anyone have an idea what may cause the problems. I don't think
> that the problems are related nor are they caused by my Xubuntu-Virtualbox
> setup. Do I miss any modules/packages/software that I need to install prior
> to grass? Or do I need to use different ppas for installing grass? Any help
> is of course mostly welcome!
>
> Best regards,
> Johannes
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
*César Augusto Ramírez Franco*
Tecnólogo en Telecomunicaciones - ITM
Técnico certificado en Mantenimiento de Computadores - CESDE
Móvil: 301 389 5607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20131014/59c015cf/attachment.html>


More information about the grass-user mailing list