[GRASS-user] Error starting GRASS71 trunk: module catalog missing?

Johannes Radinger johannesradinger at gmail.com
Tue Nov 24 05:39:27 PST 2015


Hi,

I tried to start the most recent (SVN up) self-compiled version of GRASS71
on a Ubuntu-machine. GRASS starts and I can selected a location/mapset from
the GUI but after the selection I get following error and the GUI does not
start:

Launching <wxpython> GUI in the background, please wait...
GRASS 7.1.svn (nc_spm_08):~ > NumPy not found.

    This module requires the NumPy module, which could not be
    imported.  It probably is not installed (it's not part of the
    standard Python distribution). See the Numeric Python site
    (http://numpy.scipy.org) for information on downloading source or
    binaries.

Traceback (most recent call last):
  File "/usr/local/grass-7.1.svn/gui/wxpython/wxgui.py", line 140, in
<module>
    sys.exit(main())
  File "/usr/local/grass-7.1.svn/gui/wxpython/wxgui.py", line 132, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass-7.1.svn/gui/wxpython/wxgui.py", line 46, in
__init__
    wx.App.__init__(self, False)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8628, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-7.1.svn/gui/wxpython/wxgui.py", line 79, in OnInit
    from lmgr.frame import GMFrame
  File "/usr/local/grass-7.1.svn/gui/wxpython/lmgr/frame.py", line 73, in
<module>
    from datacatalog.catalog   import DataCatalog
ImportError: No module named catalog

I am not sure why I get the errors concerning numpy as this is installed
and can be loaded:
radinger at grassgis:~$ python
Python 2.7.3 (default, Jun 22 2015, 19:43:34)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>

However, I am more worried about the error (or the failure of the GUI which
does not start) related to the  messages on the wx-module "No module named
catalog". There were no errors during configuration and compilation of the
source code of GRASS.

I have also compiled and installed GRASS 7.0.2svn, here the GUI starts
without any problems (however, I get the messages concerning numpy, but it
seems they don't have any effect on running GRASS)

So what is the reason for GRASS71 to fail here? I have installed wxpython
3.0.1:
>>> import wx
>>> wx.VERSION_STRING
'3.0.1.0'
>>> wx.version()
'3.0.1.0 gtk2 (classic)'
>>>

Any suggestions?
Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151124/e9abf442/attachment.html>


More information about the grass-user mailing list