[GRASS-dev] [GRASS GIS] #3780: Python3 + g.gui.animation: Traceback when clicking on the settings button

GRASS GIS trac at osgeo.org
Wed Mar 6 11:18:51 PST 2019


#3780: Python3 + g.gui.animation: Traceback when clicking on the settings button
-------------------------+-------------------------
 Reporter:  pmav99       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  wxGUI        |    Version:  svn-trunk
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 On Python 3, clicking on the "settings" button, throws an exception:
 {{{
 /home/feanor/Prog/git/grass-p3/repo/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/dialogs.py:2007: wxPyDeprecationWarning: Call
 to deprecated item. Use SetToolTip instead.
   "Click and then press key up or down to preview "
 Traceback (most recent call last):
   File "/home/feanor/Prog/git/grass-p3/repo/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/frame.py", line 316, in OnPreferences
     dlg = PreferencesDialog(parent=self, giface=self._giface)
   File "/home/feanor/Prog/git/grass-p3/repo/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/dialogs.py", line 1855, in __init__
     self._createTemporalPage(self.notebook)
   File "/home/feanor/Prog/git/grass-p3/repo/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/dialogs.py", line 2016, in _createTemporalPage
     link = wx.HyperlinkCtrl(
 AttributeError: module 'wx' has no attribute 'HyperlinkCtrl'
 }}}

 PS. Have *not* tested this on python 2

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3780>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list