[GRASS-dev] [GRASS GIS] #3242: Gui does not disply correctly and locks up when scrolling down to make alternative mapsets visible in d.vect and d.rast.

GRASS GIS trac at osgeo.org
Sun Jan 8 13:44:31 PST 2017


#3242: Gui does not disply correctly and locks up when scrolling down to make
alternative mapsets visible in d.vect and d.rast.
-----------------------+-------------------------
  Reporter:  ewcgrass  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  7.0.6
 Component:  wxGUI     |    Version:  7.2.0
Resolution:            |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-------------------------

Comment (by ewcgrass):

 I ran TreeMixin.py per your example, then ComboCtrl.py and TreeCtrl.py.
 Everything in the windows that opened appeared to run fine. This is a copy
 of the messages that came up on the terminal:

 [rick at localhost ~]$ python /usr/share/doc/wxPython-docs/demo/TreeMixin.py
 Python 2.7.12 (default, Sep 29 2016, 12:52:02)
 [GCC 6.2.1 20160916 (Red Hat 6.2.1-2)]
 wx.version: 3.0.2.0 gtk3 (classic)

 (TreeMixin.py:520): Gtk-CRITICAL **: gtk_widget_set_size_request:
 assertion 'height >= -1' failed

 (TreeMixin.py:520): Gtk-CRITICAL **:
 gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed

 (TreeMixin.py:520): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
 allocate widget with width 18 and height -8
 Traceback (most recent call last):
   File "/usr/share/doc/wxPython-docs/demo/TreeMixin.py", line 199, in
 OnPageChanged
     oldTree = self.GetPage(event.OldSelection)
   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py", line
 13536, in GetPage
     return _core_.BookCtrlBase_GetPage(*args, **kwargs)
 ValueError: in method 'BookCtrlBase_GetPage', expected argument 2 of type
 'size_t'
 Traceback (most recent call last):
   File "/usr/share/doc/wxPython-docs/demo/TreeMixin.py", line 199, in
 OnPageChanged
     oldTree = self.GetPage(event.OldSelection)
   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py", line
 13536, in GetPage
     return _core_.BookCtrlBase_GetPage(*args, **kwargs)
 ValueError: in method 'BookCtrlBase_GetPage', expected argument 2 of type
 'size_t'

 [rick at localhost ~]$ python /usr/share/doc/wxPython-docs/demo/ComboCtrl.py
 Python 2.7.12 (default, Sep 29 2016, 12:52:02)
 [GCC 6.2.1 20160916 (Red Hat 6.2.1-2)]
 wx.version: 3.0.2.0 gtk3 (classic)
 17:36:36: ListCtrlComboPopup.Init
 17:36:36: ListCtrlComboPopup.LazyCreate
 17:36:36: ListCtrlComboPopup.Create
 17:36:41: ListCtrlComboPopup.GetAdjustedSize: 250, 400, 934
 17:36:41: ListCtrlComboPopup.OnPopup
 17:36:41: ListCtrlComboPopup.SetStringValue
 17:36:44: ListCtrlComboPopup.GetStringValue
 17:36:44: ListCtrlComboPopup.SetStringValue
 17:36:44: ListCtrlComboPopup.OnDismiss

 (ComboCtrl.py:568): Pango-CRITICAL **: pango_layout_get_cursor_pos:
 assertion 'index >= 0 && index <= layout->length' failed

 (ComboCtrl.py:568): Pango-CRITICAL **: pango_layout_get_cursor_pos:
 assertion 'index >= 0 && index <= layout->length' failed

 (ComboCtrl.py:568): Pango-CRITICAL **: pango_layout_get_cursor_pos:
 assertion 'index >= 0 && index <= layout->length' failed

 (ComboCtrl.py:568): Pango-CRITICAL **: pango_layout_get_cursor_pos:
 assertion 'index >= 0 && index <= layout->length' failed

 [rick at localhost ~]$ python /usr/share/doc/wxPython-docs/demo/TreeCtrl.py
 Python 2.7.12 (default, Sep 29 2016, 12:52:02)
 [GCC 6.2.1 20160916 (Red Hat 6.2.1-2)]
 wx.version: 3.0.2.0 gtk3 (classic)
 17:37:27: OnItemExpanded: Item 3
 17:37:29: OnItemExpanded: item 3-b
 17:37:31: OnSelChanged: item 3-b-0
 17:37:35: OnItemExpanded: item 3-d
 17:37:38: OnSelChanged: item 3-d-1
 17:37:41: OnSelChanged: The Root Item
 17:37:44: OnItemExpanded: Item 0
 17:37:46: OnSelChanged: item 0-b
 17:37:47: OnItemExpanded: item 0-b
 17:37:48: OnSelChanged: item 0-b-1
 [rick at localhost ~]$

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



More information about the grass-dev mailing list