[GRASS-dev] Error starting g.gui

I just compiled and tried to run GRASS GIS 7.1.svn (r66169M) and I am getting an error when I launch the gui in a location.

Launching GUI in the background, please wait…
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

Am I missing a package or something that is causing this error? It bombs out the gui and I can’t relaunch it without this error.

Thanks.

Hi,

2015-09-11 17:46 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

I just compiled and tried to run GRASS GIS 7.1.svn (r66169M) and I am
getting an error when I launch the gui in a location.

please try complete recompilation

make distclean
svn up
./configure ...
make
...

It should help, Martin

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

No difference

On 2015-09-11 09:59 AM, Martin Landa wrote:

Hi,

2015-09-11 17:46 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

I just compiled and tried to run GRASS GIS 7.1.svn (r66169M) and I am
getting an error when I launch the gui in a location.

please try complete recompilation

make distclean
svn up
./configure ...
make
...

It should help, Martin

Hi,

2015-09-11 18:27 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

No difference

please check what is inside

ls gui/wxpython/datacatalog/

->
catalog.py frame.py g.gui.datacatalog.html g.gui.datacatalog.py
__init__.py Makefile tree.py

After compilation:

ls dist.x86_64-unknown-linux-gnu/gui/wxpython/datacatalog/

->

catalog.py frame.py g.gui.datacatalog.html g.gui.datacatalog.pyc
__init__.pyc tree.py
catalog.pyc frame.pyc g.gui.datacatalog.py __init__.py
Makefile tree.pyc

?

Martin

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

2015-09-11 18:27 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

svn up

what says this command, any remaining conflicts? From

GRASS GIS 7.1.svn (r66169M)

I see that you have local changes in the source code. Wild guess. Martin

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

I had to totally remove the installed directory and reinstall it. That seemed to work. Perhaps something was leftover that it didn't like.

Thanks for the help.

On 2015-09-11 10:40 AM, Martin Landa wrote:

Hi,

2015-09-11 18:27 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

No difference

please check what is inside

ls gui/wxpython/datacatalog/

->
catalog.py frame.py g.gui.datacatalog.html g.gui.datacatalog.py
__init__.py Makefile tree.py

After compilation:

ls dist.x86_64-unknown-linux-gnu/gui/wxpython/datacatalog/

->

catalog.py frame.py g.gui.datacatalog.html g.gui.datacatalog.pyc
__init__.pyc tree.py
catalog.pyc frame.pyc g.gui.datacatalog.py __init__.py
Makefile tree.pyc

?

Martin

Local changes are a module that I wrote.

On 2015-09-11 10:42 AM, Martin Landa wrote:

2015-09-11 18:27 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

svn up

what says this command, any remaining conflicts? From

GRASS GIS 7.1.svn (r66169M)

I see that you have local changes in the source code. Wild guess. Martin

2015-09-11 18:43 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

I had to totally remove the installed directory and reinstall it. That
seemed to work. Perhaps something was leftover that it didn't like.

perfect, good news. Martin

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

On Fri, Sep 11, 2015 at 12:47 PM, Martin Landa <landa.martin@gmail.com>
wrote:

2015-09-11 18:43 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:
> I had to totally remove the installed directory and reinstall it. That
> seemed to work. Perhaps something was leftover that it didn't like.

perfect, good news. Martin

I actually have the same problem on Mac. I did distclean couple of times
without success, but I haven't tried to checkout fresh trunk yet, hopefully
that will work.

Anna

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

It is more than that, you have to remove the directory where you installed it and do a fresh install.

···

On 2015-09-11 11:37 AM, Anna Petrášová wrote:

On Fri, Sep 11, 2015 at 12:47 PM, Martin Landa <landa.martin@gmail.com> wrote:

2015-09-11 18:43 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:

I had to totally remove the installed directory and reinstall it. That
seemed to work. Perhaps something was leftover that it didn’t like.

perfect, good news. Martin

I actually have the same problem on Mac. I did distclean couple of times without success, but I haven’t tried to checkout fresh trunk yet, hopefully that will work.

Anna


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


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

On Fri, Sep 11, 2015 at 7:37 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Fri, Sep 11, 2015 at 12:47 PM, Martin Landa <landa.martin@gmail.com>
wrote:

2015-09-11 18:43 GMT+02:00 Richard Nairn <richard@nairnconsulting.ca>:
> I had to totally remove the installed directory and reinstall it. That
> seemed to work. Perhaps something was leftover that it didn't like.

It would be great to get that identified.

I actually have the same problem on Mac. I did distclean couple of times
without success

Seems to be a Makefile dependency issue?

Markus