[GRASS-dev] [GRASS GIS] #3201: wxGUI nviz: resolution settings widget broken in wxPython 3

GRASS GIS trac at osgeo.org
Sat Nov 5 10:21:50 PDT 2016


#3201: wxGUI nviz: resolution settings widget broken in wxPython 3
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  critical     |  Milestone:  7.2.0
 Component:  wxGUI        |    Version:  svn-releasebranch72
Resolution:               |   Keywords:  nviz
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+---------------------------------

Comment (by neteler):

 I restarted the session to switch from my own to the NC data set and the
 widget was no longer greyed out (screenshot). This time not broken but yet
 not correctly rendered.. and in the terminal I get tons of

 {{{
 ...
 (wxgui.py:22073): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
 'size >= 0' failed in GtkSpinButton

 (wxgui.py:22073): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
 'size >= 0' failed in GtkSpinButton

 (wxgui.py:22073): Gtk-WARNING **: Negative content width -17 (allocation
 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

 (wxgui.py:22073): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
 'size >= 0' failed in GtkSpinButton

 (wxgui.py:22073): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
 'size >= 0' failed in GtkSpinButton
 ...
 }}}

 Perhaps the GtkSpinButton() definition changed somehow in wxPython3?

 Maybe the same as here?
 https://bugzilla.redhat.com/show_bug.cgi?id=1371036

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3201#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list