[GRASS-user] Re: grass-user Digest, Vol 24, Issue 39

Michael Barton michael.barton at asu.edu
Sat Apr 19 15:39:09 EDT 2008


If your *.py files do not execute, I wonder if you have Python and wxPython
installed. You need to install Python 2.4 or higher and wxPython 2.8.1.1 or
higher. If installing for the first time or upgrading from Python 2.3 or
less, I recommend just getting the current version of both--2.5.2 for Python
and 2.8.7 for wxPython.

Michael


On 4/18/08 6:03 PM, "grass-user-request at lists.osgeo.org"
<grass-user-request at lists.osgeo.org> wrote:

> Date: Sat, 19 Apr 2008 01:36:16 +0200
> From: "Martin Landa" <landa.martin at gmail.com>
> Subject: Re: [GRASS-user] Problems starting wxpython GUI under SUSE
> 10.3
> To: "Lars Forseth" <lars.forseth at bluezone.no>
> Cc: grass-user <grass-user at lists.osgeo.org>
> Message-ID:
> <f8fe65c40804181636j2e888485k395f75e0010b66cb at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 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 *

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton




More information about the grass-user mailing list