[GRASS-user] 7.9.svn: g.gui.psmap needs upgrade
Markus Neteler
neteler at osgeo.org
Tue Sep 17 22:27:55 PDT 2019
Rich,
Rich Shepard <rshepard at appl-ecosys.com> schrieb am Mi., 18. Sep. 2019,
00:49:
> 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'
>
Please open directly a trac ticket in such cases as this is the user list.
The new ticket will automatically be forwarded to grass-dev.
Thanks
Markus
HTH,
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190918/6e77b048/attachment.html>
More information about the grass-user
mailing list