[GRASS-dev] [GRASS GIS] #2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster map broken with wxPython 3.0.2 but work fine fine with 2.8 (was: The 'Profile Surfae Map' tool does not function.)

GRASS GIS trac at osgeo.org
Wed Jul 6 09:22:30 PDT 2016


#2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster map
broken with wxPython 3.0.2 but work fine fine with 2.8
-----------------------+-------------------------
  Reporter:  humu2015  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:  6.4.6
 Component:  wxGUI     |    Version:  7.0.4
Resolution:            |   Keywords:  wxgui
       CPU:  All       |   Platform:  All
-----------------------+-------------------------
Changes (by msieczka):

 * cc: msieczka (added)
 * priority:  critical => major
 * platform:  Linux => All
 * version:  unspecified => 7.0.4
 * keywords:   => wxgui
 * cpu:  Unspecified => All


Comment:

 No such error when wxgui uses wxPython 2.8 instead of 3.0.2. If you can't
 install 2.8 without 3.0.2 (like on Arch Linux, where 2.8 package requires
 3.0.2 package), add

 {{{
 wxversion.select('2.8')
 }}}

 in line 64 of gui/wxpython/core/globalvar.py to force wxgui to pick
 version 2.8. Otherwise it defaults to 3.0.2 when both wxPython versions
 are available.

 Any objections to submitting this patch to SVN?

 The issue applies to both 7.x and 6.x. The "Create bivariate scatter plot
 of raster maps" and "Create histogram of raster map" tools are affected as
 well, and the {{{wxversion.select('2.8')}}} fixes them too.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2558#comment:10>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list