[GRASS-user] grass71_trunk: error on access gui

hello everybody,

I recompiled without errors the svn newer version of grass71_trunk r66394,
however I got ImportError: No module named catalog, once I launched grass71,
like follow:

~/dev/grass7_trunk > 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

can you help me?
I cannot access the gui.

best

Eugenio

On Oct 2, 2015 1:56 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

hello everybody,

I recompiled without errors the svn newer version of grass71_trunk r66394,
however I got ImportError: No module named catalog, once I launched grass71,
Did you run
make distclean
before compiling?

Best
Markus

Hi Markus,

yes I did it.
Eugenio


Date: Fri, 2 Oct 2015 15:08:21 +0200
Subject: Re: [GRASS-user] grass71_trunk: error on access gui
From: neteler@osgeo.org
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org

On Oct 2, 2015 1:56 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

hello everybody,

I recompiled without errors the svn newer version of grass71_trunk r66394,
however I got ImportError: No module named catalog, once I launched grass71,
Did you run
make distclean
before compiling?

Best
Markus

On 02/10/15 15:17, Eugenio Trumpy wrote:

Hi Markus,

yes I did it.

Maybe you have to erase your previous installation before installing the newly compiled one:

https://lists.osgeo.org/pipermail/grass-dev/2015-September/076473.html

Moritz

Hi,

it is just what I did.
I tried both distclean and erase all the grass7_trunk directory and I started again
with new svn code. I recompiled without errors.

Those are my config lines:

CFLAGS=“-O2 -Wall” LDFLAGS=“-s” ./configure --enable-largefile=yes --with-nls --with-cxx --with-readline --with-pthread --with-proj-share=/usr/local/share/proj/ --with-geos=/usr/local/bin/geos-config --with-wxwidgets --with-cairo --with-opengl-libs=/usr/include/GL --with-freetype=yes --with-freetype-includes=“/usr/include/freetype2/” --with-postgres=yes --with-postgres-includes=“/usr/include/postgresql” --with-sqlite=yes --with-mysql=yes --with-mysql-includes=“/usr/include/mysql” --with-odbc=no --with-liblas=yes --with-liblas-config=/usr/bin/liblas-config --with-proj-share=/usr/share/proj --with-geos=/usr/bin/geos-config --with-netcdf

No errors on make && make install.

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Any idea?

Eugenio

Date: Fri, 2 Oct 2015 15:28:28 +0200
From: mlennert@club.worldonline.be
To: frippe12573@hotmail.com; neteler@osgeo.org
CC: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] grass71_trunk: error on access gui

On 02/10/15 15:17, Eugenio Trumpy wrote:

Hi Markus,

yes I did it.

Maybe you have to erase your previous installation before installing the
newly compiled one:

https://lists.osgeo.org/pipermail/grass-dev/2015-September/076473.html

Moritz

On Oct 2, 2015 4:44 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus

I was (am) having the same issue and started with fresh svn. Had same catalog error.

I ended up using the Ubuntu grass71-daily package on Mint.

Still can’t get qgis to display grass vectors and rasters though with qgis 2.10 and grass71.

Mark

On Fri, Oct 2, 2015, 2:03 PM Markus Neteler <neteler@osgeo.org> wrote:

On Oct 2, 2015 4:44 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, Oct 3, 2015 at 5:27 PM, Mark Seibel <mseibel@gmail.com> wrote:

I was (am) having the same issue and started with fresh svn. Had same
catalog error.

Are you sure that the *target* directory was deleted as well?

I ended up using the Ubuntu grass71-daily package on Mint.

Still can't get qgis to display grass vectors and rasters though with qgis
2.10 and grass71.

This is a different (QGIS) issue I believe, see
http://www.gissula.eu/qgis-grass-plugin-crowdfunding/

Markus

Hi everybody,

I think I got right answer from the command

which grass71:

which grass71
/usr/local/bin/grass71

isn’t it?

Best

Eugenio


Date: Fri, 2 Oct 2015 20:03:23 +0200
Subject: RE: [GRASS-user] grass71_trunk: error on access gui
From: neteler@osgeo.org
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org; mlennert@club.worldonline.be

On Oct 2, 2015 4:44 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus

Hi,

2015-10-05 9:52 GMT+02:00 Eugenio Trumpy <frippe12573@hotmail.com>:

which grass71
/usr/local/bin/grass71

isn't it?

it doesn't really help. Try to delete target directory first before
installing, so

sudo rm -rf /usr/local/grass-7.1.svn

then

cd /path/to/grass_trunk
make distclean
svn up
./configure ...
make
sudo make install

I hope it helps. Ma

Subject: RE: [GRASS-user] grass71_trunk: error on access gui
From: neteler@osgeo.org
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org; mlennert@club.worldonline.be

On Oct 2, 2015 4:44 PM, "Eugenio Trumpy" <frippe12573@hotmail.com> wrote:
....

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Thank you very much Martin,
now I can access the gui.
It was my mistake since I didn’t delete the real target directory (/usr/local/grass71…)
I did it and now everything goes fine.

Best

Eugenio

Date: Mon, 5 Oct 2015 09:59:39 +0200
Subject: Re: [GRASS-user] grass71_trunk: error on access gui
From: landa.martin@gmail.com
To: frippe12573@hotmail.com
CC: neteler@osgeo.org; grass-user@lists.osgeo.org

Hi,

2015-10-05 9:52 GMT+02:00 Eugenio Trumpy frippe12573@hotmail.com:

which grass71
/usr/local/bin/grass71

isn’t it?

it doesn’t really help. Try to delete target directory first before
installing, so

sudo rm -rf /usr/local/grass-7.1.svn

then

cd /path/to/grass_trunk
make distclean
svn up
./configure …
make
sudo make install

I hope it helps. Ma

Subject: RE: [GRASS-user] grass71_trunk: error on access gui
From: neteler@osgeo.org
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org; mlennert@club.worldonline.be

On Oct 2, 2015 4:44 PM, “Eugenio Trumpy” frippe12573@hotmail.com wrote:

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Removed install directory and all is good. Thanks for the help =D

Mark

···

On Mon, Oct 5, 2015 at 4:06 AM, Eugenio Trumpy <frippe12573@hotmail.com> wrote:

Thank you very much Martin,
now I can access the gui.
It was my mistake since I didn’t delete the real target directory (/usr/local/grass71…)
I did it and now everything goes fine.

Best

Eugenio

Date: Mon, 5 Oct 2015 09:59:39 +0200
Subject: Re: [GRASS-user] grass71_trunk: error on access gui
From: landa.martin@gmail.com
To: frippe12573@hotmail.com
CC: neteler@osgeo.org; grass-user@lists.osgeo.org

Hi,

2015-10-05 9:52 GMT+02:00 Eugenio Trumpy <frippe12573@hotmail.com>:

which grass71
/usr/local/bin/grass71

isn’t it?

it doesn’t really help. Try to delete target directory first before
installing, so

sudo rm -rf /usr/local/grass-7.1.svn

then

cd /path/to/grass_trunk
make distclean
svn up
./configure …
make
sudo make install

I hope it helps. Ma

Subject: RE: [GRASS-user] grass71_trunk: error on access gui
From: neteler@osgeo.org
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org; mlennert@club.worldonline.be

On Oct 2, 2015 4:44 PM, “Eugenio Trumpy” <frippe12573@hotmail.com> wrote:

Starting grass71 I have the choice of the location and mapset,
then it crash with the highlighted errors.

Perhaps you start a wrong start script?
Check with

which grass71

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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