[GRASS-dev] Work around for bug causing profiler and histogram to crash in GRASS 7.1 64bit wxPython 3.x
Michael Barton
Michael.Barton at asu.edu
Wed May 4 09:08:14 PDT 2016
Sure.
Here is a recent stack exchange for this problem. Supposedly it is fixed in wxPython 3.0.3.
http://stackoverflow.com/questions/30383786/wxpython-wx-lib-plot-plotcanvas-error
And here is the patch to fix plot.py.
http://trac.wxwidgets.org/attachment/ticket/16767/wxPython-3.0.2.0-plot.patch
It is pretty minimal effort to make the changes, so I patched my local version of plot.py, which is deeply buried on my Mac in:
/usr/local/lib/wxPython-3.0.2.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py
Then I recompiled GRASS and rebundled the patched wxPython with the 64bit GRASS app.
This is also posted in https://trac.osgeo.org/grass/ticket/2558
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> On May 4, 2016, at 2:31 AM, Moritz Lennert <mlennert at club.worldonline.be> wrote:
>
> On 03/05/16 02:12, Michael Barton wrote:
>> I've done a work around for the wxPython bug that caused the profile and
>> histogram tools to fail in the experimental 64 bit, wxPython 3 GRASS 7.1
>> binary. If you are trying this, please update and see what else doesn't
>> work.
>
> Could you tell us what this workaround is ?
>
> Moritz
More information about the grass-dev
mailing list