#3906: g.gui.psmap needs Python upgrade -------------------------------------------------+------------------------- Reporter: rshepard | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.8.1 Component: wxGUI | Version: svn-trunk Keywords: ps.map, wxpython, map composer, gui | CPU: x86-64 Platform: Linux | -------------------------------------------------+------------------------- Invoking g.gui.map allowed me to define the page and set a vector map limit. When I tried to add a vector map I could not do so. The python trace back is:
> 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 On Properties 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' -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3906> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev