[GRASS-user] Problems starting wxpython GUI under SUSE 10.3

Martin Landa landa.martin at gmail.com
Fri Apr 18 19:36:16 EDT 2008


Hi,

2008/4/18, Lars Forseth <lars.forseth at bluezone.no>:
>  Usually I have compiled GRASS63 from source. This evening I did likewise, and
>  activated python etc to see if the new GUI could start. See config string at
>  the end of the post. There was an error; in vdigit. Tried to run make in that

the configure switch '--with-python' and '--with-widgets' are related
only to small part of wxGUI -- vector digitizer. The error in vdigit
is probably related to missing 'libgdi' link, see gui/wxpython/README.
But it is not related to wxGUI itself, wxGUI will work without
compiled digitizer.

>  dir; no luck - but I thought this were not a prerequisite for running
>  wxpython GUI in GRASS?

When you start GRASS with gui-related switch and GUI don't start for
whatever reasons you should see error message, in the result GRASS
switch to the text mode, e.g.

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

>  So I tried to run "grass63 -wxpython". The terminal welcome screen comes up;
>  but no GUI! No error messages . Tried to restart GUI  with g.gui wxpython;

I am not able to reproduce this behaviour...

>  same shit; nothing happens; literaly nothing; no errors, nada, it just waits
>  for a second, then nothing. (The tcltk GUI runs - I have checked that!)

well, based on this information it is hard to tell/or better to fix it...

>  Looking at  '/usr/local/grass-6.3.0RC6/gui/wxpython' I notice that the .py
>  files are not executable. So I changed their permissions to executable; but

python files do not need to be executable, try to start GUI directly

cd $GISBASE/etc/wxpython
python wxgui.py

>  still no luck! Nothing happens when I run g.gui wxpython! (I tried this
>  because for other scripts this has been a problem from time to time; there is
>  also sometimes missing binaries in the bin dir; witch I then have to copy
>  from their directories were they are compiled).

??

Martin

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


More information about the grass-user mailing list