[GRASS-user] fix for broken wxGUI on Linux

Markus,

Can you send me an output of the error so that I can try to see where it is coming from?

We've been unable to get GRASS 6.5 or 7 compiled on our Ubuntu 9.2 machines so I can't test it there.

Thanks
Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://csdc.asu.edu, http://shesc.asu.edu
    http://www.public.asu.edu/~cmbarton

On Dec 11, 2009, at 10:00 AM, grass-user-request@lists.osgeo.org wrote:

Date: Fri, 11 Dec 2009 01:33:13 +0100
From: Markus Neteler <neteler@osgeo.org>
Subject: Re: [GRASS-user] fix for broken wxGUI on Linux
To: Martin Landa <landa.martin@gmail.com>
Cc: grass-user <grass-user@lists.osgeo.org>
Message-ID:
       <86782b610912101633o78f64c5ft1191d12b9bb236f4@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

(back to an old problem)

On Wed, Sep 30, 2009 at 6:06 PM, Martin Landa <landa.martin@gmail.com> wrote:

2009/9/30 Markus Metz <markus.metz.giswork@googlemail.com>:

There were a couple of complains lately that wxGUI on Linux is broken. I
just want to mention that wxGUI works for me again (no warnings, no errors)
after I downgraded swig from 1.3.39 to 1.3.35 on Fedora 10.
Maybe downgrading swig helps on other Linux distros too.

right, currently key point is swig version you are using during
compilation of vdigit or nviz.

(meanwhile updated to Mandriva 2010.0, same problem)

I use the distro versions...

This should be change in the future,
broken vdigit or nviz should not affect the whole wxGUI.

Do you think that this could be implemented? In January I would
like to showcase the new GUI in a couple of occasions but I
cannot start it for some months now.
Don't remember how to debug that, though.

Markus

Michael,

On Fri, Dec 11, 2009 at 8:02 PM, Michael Barton <michael.barton@asu.edu> wrote:

Markus,

Can you send me an output of the error so that I can try to see where it is
coming from?

there is none (sigh). The map splash screen comes up, then disappears
and I am back to cmd line.

Removing both vdigit and nviz from the GISBASE/wxGUI subdirectories
"solves" the problem. This indicates that SWIG is causing the problem.
Using swig 1.3.40.

We've been unable to get GRASS 6.5 or 7 compiled on our Ubuntu 9.2 machines
so I can't test it there.

What is the problem?

Markus

Markus Neteler:

Removing both vdigit and nviz from the GISBASE/wxGUI subdirectories
"solves" the problem. This indicates that SWIG is causing the problem.
Using swig 1.3.40.
   

A bit better here on Fedora 12, also using swig 1.3.40. The wxGUI nviz works, the wxdigitizer crashes. Removed swig 1.3.40, got swig 1.3.29, patched that with the patch provided in the wxPython source code, now everything is working, no errors. One warning at grass startup:
warnings.warn("wxPython/wxWidgets release number mismatch")
because Fedora 12 comes with wxBase and wxGTK 2.8.10 and wxPython 2.8.9, but it works.

Ubuntu 9.10 uses wx packages 2.8.10 throughout together with swig 1.3.36, both wx nviz and wx digitizer work just fine.

Markus M