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

2015-11-24 Thread Johannes Radinger
Thanks Martin,

It seems that deleting the installation directory helped!

/Johannes

On Tue, Nov 24, 2015 at 2:58 PM, Martin Landa 
wrote:

> Hi,
>
> 2015-11-24 14:39 GMT+01:00 Johannes Radinger :
> > from datacatalog.catalog   import DataCatalog
> > ImportError: No module named catalog
>
> several times discussed, please delete installation directory
> (/usr/local/grass-7.1.svn) and compile from scratch (distclean,
> configure, make, make install). Ma
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

2015-11-24 Thread Martin Landa
Hi,

2015-11-24 14:39 GMT+01:00 Johannes Radinger :
> from datacatalog.catalog   import DataCatalog
> ImportError: No module named catalog

several times discussed, please delete installation directory
(/usr/local/grass-7.1.svn) and compile from scratch (distclean,
configure, make, make install). Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

2015-11-24 Thread Johannes Radinger
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  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

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

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@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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user