[GRASS-user] Grass 6.4.0RC6 cannot find wxPython 2.8.1.1.

Dear list,

I’m a complete beginner with Grass (and python), and I’ve seem to be stuck with a probably quite trivial problem.

I’m running Grass ver. 6.4.0RC6-2 on Ubuntu 9.10 (karmic). I’ve installed Ubuntu from the repos with Synaptic.

I have also manually installed wxPython 2.8.11.0-0 (package python-wxversion) following these instructions: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

While trying to start grass with “grass -wxpython” command, I get the following error message:

----- clip ----

Cleaning up temporary files …
Starting GRASS …
ERROR: wxGUI requires wxPython >= 2.8.1.1. Requested version of wxPython not found.
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…

---- clip ----

The tcltk gui works fine.

I couldn’t find any help in the FAQ or mailing list archives. Maybe some paths need to be set, but how? Any pointers?

Thanks,

Pekka

Hi,

2011/2/17 Pekka Hurskainen <pekka.hurskainen@gmail.com>:

I'm running Grass ver. 6.4.0RC6-2 on Ubuntu 9.10 (karmic). I've installed
Ubuntu from the repos with Synaptic.

6.4.0RC6 is quite old, update to 6.4.0 or better to 6.4.1RC1. I am not
claiming that it solves this problem anyway it's better to start here.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Thu, Feb 17, 2011 at 2:58 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2011/2/17 Pekka Hurskainen <pekka.hurskainen@gmail.com>:

I'm running Grass ver. 6.4.0RC6-2 on Ubuntu 9.10 (karmic). I've installed
Ubuntu from the repos with Synaptic.

6.4.0RC6 is quite old, update to 6.4.0 or better to 6.4.1RC1. I am not
claiming that it solves this problem anyway it's better to start here.

I agree with Martin but I see from
http://packages.ubuntu.com/search?keywords=grass

that GRASS on Ubuntu is somewhat oldish. The latest version available there
is RC6+r42329 which is approximately 9 months ago. So not even the stable
6.4.0 seems to be available.

Does anyone know how to improve that situation?

thanks
Markus

Martin L:

> 6.4.0RC6 is quite old, update to 6.4.0 or better to 6.4.1RC1. I am not
> claiming that it solves this problem anyway it's better to start here.

Markus N:

I agree with Martin but I see from
http://packages.ubuntu.com/search?keywords=grass

that GRASS on Ubuntu is somewhat oldish. The latest version available
there is RC6+r42329 which is approximately 9 months ago. So not even the
stable 6.4.0 seems to be available.

actually RC6+r42329 is essentially 6.4.0 final, but with the default
GUI still set to tcl/tk. (ie all bugfixes up to 6.4.0, but no new features
which would require packaging changes)

Does anyone know how to improve that situation?

Yes, the UbuntuGIS project (ubuntu at lists dot osgeo.org) maintains a
repository of more modern GRASS, GDAL, etc packages. It is simple to
add them as a package source and upgrade to something newer:
  https://launchpad.net/~ubuntugis
  https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable

I'd note that since the new Debian stable is released, things are now
unfrozen there and Frankie has just uploaded a new 6.4.0 to debian/
unstable yesterday, http://packages.qa.debian.org/g/grass.html
That will filter through to ubuntu & other derivatives soon enough.

(due to freeze policy of allowing bug fixes but not uploads of new
versions, what ended up in the just-released Debian/Squeeze was 6.4.0rc6 +
all bug fixes up to 6.4.0. so if you look up when r42329 is, it's really
better than it sounds by just the rc6 version number at face value)

Hamish

Hi,

On Thu, Feb 17, 2011 at 3:58 PM, Martin Landa <landa.martin@gmail.com> wrote:

2011/2/17 Pekka Hurskainen <pekka.hurskainen@gmail.com>:

I’m running Grass ver. 6.4.0RC6-2 on Ubuntu 9.10 (karmic). I’ve installed
Ubuntu from the repos with Synaptic.

6.4.0RC6 is quite old, update to 6.4.0 or better to 6.4.1RC1. I am not
claiming that it solves this problem anyway it’s better to start here.

By updating my Ubuntu to 10.04 I was able to update Grass into version 6.4.0 - binaries for this was not available for the older Ubuntu 9.10.

Now the wxpython GUI works just fine. Thanks for all the help!

Pekka