[GRASS-user] 7.9.svn: g.gui.psmap needs upgrade

Rich Shepard rshepard at appl-ecosys.com
Tue Sep 17 15:49:07 PDT 2019


I tried creating a draft map using g.gui.psmap. I set the page parameters
and the frame, but when I tried to set color parameters for a vector (line)
map clicking the 'properties' button did nothing while Python traceback
printed in the console:

> g.gui.psmap
/usr/local/grass79/gui/wxpython/psmap/dialogs.py:1236: wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip instead.
   _("Region is set to match this map,\nraster or vector map must be added later"))
/usr/local/grass79/gui/wxpython/psmap/dialogs.py:1236: wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip instead.
   _("Region is set to match this map,\nraster or vector map must be added later"))
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 1942, in OnProperties
     tmpSettings=self.tmpDialogDict[id])
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2140, in __init__
     self.DSpanel = self._DataSelectionPanel(notebook)
   File "/usr/local/grass79/gui/wxpython/psmap/dialogs.py", line 2234, in _DataSelectionPanel
     str, self.layers), size=self.spinCtrlSize)
TypeError: Choice(): arguments did not match any overloaded call:
   overload 1: too many arguments
   overload 2: argument 'choices' has unexpected type 'map'

HTH,

Rich


More information about the grass-user mailing list