You are not logged in.

#1 2010-11-13 09:19:26

HM
Member
Registered: 2007-11-18
Posts: 34

[solved] grass64 and wxpython

Hello fellow Archers,

After the recent python upgrade I bumped into problem with Grass GIS.
Version 6.4.0-4 from the community repos can not start with the wxpython gui. Looks like it is a python issue. The old tcltk interface is still working.
Same issue with the grass-svn packeage from AUR.

BTW are there any fellow Archers using GIS? I see little posts on GIS related issues.

Cheers and keep up the good work. With great satisfaction I am using Arch for already 2 years. wink

Last edited by HM (2010-11-14 08:31:20)


"Munyal deefan hayre"  - patience can cook a stone; Fulfulde proverbe (...and finally a xmonad.hs running smile )

Offline

#2 2010-11-13 11:05:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] grass64 and wxpython

grass and wxpython were both rebuilt to accommodate the new python implementation. Post some error output if you want a more useful answer.

Offline

#3 2010-11-13 11:20:42

HM
Member
Registered: 2007-11-18
Posts: 34

Re: [solved] grass64 and wxpython

Hi,

this is what shows up in terminal when starting grass64:

 
[huub@belebeleba2 ~]$ grass64
Cleaning up temporary files ...
Starting GRASS ...
  File "/opt/grass-6.4.0/etc/wxpython/gis_set.py", line 474
    except StandardError, e:
                        ^
SyntaxError: invalid syntax
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...

thanks


"Munyal deefan hayre"  - patience can cook a stone; Fulfulde proverbe (...and finally a xmonad.hs running smile )

Offline

#4 2010-11-14 05:36:59

HM
Member
Registered: 2007-11-18
Posts: 34

Re: [solved] grass64 and wxpython

I filed a bug report and the issue is solved. big_smile
Version 6.4.0.5 with a fix is in the repos as from yesterday. Thanks to the maintainer!


"Munyal deefan hayre"  - patience can cook a stone; Fulfulde proverbe (...and finally a xmonad.hs running smile )

Offline

#5 2011-04-17 03:14:40

iamacdo
Member
Registered: 2011-04-17
Posts: 1

Re: [solved] grass64 and wxpython

I have just installed grass-6.4.1-1 and get a

Starting GRASS ...
  File "/opt/grass-6.4.0/etc/wxpython/gis_set.py", line 466
    except StandardError, e:

error as reported by HM on 2010-11-14 for version 6.4.0-4.

Has the same problem resurfaced and if so, does anyone know what the fix was?

Thanks

Offline

#6 2011-06-29 12:18:59

stringman
Member
Registered: 2011-06-29
Posts: 1

Re: [solved] grass64 and wxpython

It seems to be python2 vs python3 problem.
I fixed my setup changing   'GRASS_PYTHON=python'  to  'GRASS_PYTHON=python2' in file '/opt/grass-6.4.1/etc/Init.sh'

EDIT: perhaps setting GRASS_PYTHON variable before starting grass is a cleaner approach :-), ie:

GRASS_PYTHON=python2; grass64

Last edited by stringman (2011-06-29 12:28:09)

Offline

Board footer

Powered by FluxBB