[GRASS-dev] [GRASS GIS] #3899: g.gui.gmodeler: loading of modeller file broken with TypeError

GRASS GIS trac at osgeo.org
Tue Sep 3 23:50:40 PDT 2019


#3899: g.gui.gmodeler: loading of modeller file broken with TypeError
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.0
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:  python3
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by pesekon2):

 Replying to [comment:2 neteler]:

 > Only this msg clutter remained:
 >
 > {{{
 > /home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/dialogs.py:952: wxPyDeprecationWarning: Call to
 deprecated item. Use InsertItem instead.
 >   index = self.InsertStringItem(i, str(i))
 > /home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/dialogs.py:953: wxPyDeprecationWarning: Call to
 deprecated item. Use SetItem instead.
 >   self.SetStringItem(index, 0, name)
 > /home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/dialogs.py:954: wxPyDeprecationWarning: Call to
 deprecated item. Use SetItem instead.
 >   self.SetStringItem(index, 1, inloop)
 > /home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/dialogs.py:955: wxPyDeprecationWarning: Call to
 deprecated item. Use SetItem instead.
 >   self.SetStringItem(index, 2, param)
 > /home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/dialogs.py:956: wxPyDeprecationWarning: Call to
 deprecated item. Use SetItem instead.
 >   self.SetStringItem(index, 3, desc)
 > }}}

 Yes, I know. Yesterday, I have created a pull request to get rid of these
 messages (they appeared on more places after switching to wxPython4):
 https://github.com/OSGeo/grass/pull/120

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



More information about the grass-dev mailing list