[GRASS-dev] [GRASS GIS] #4004: "Add web service layer" broken with Python3
GRASS GIS
trac at osgeo.org
Tue Dec 3 23:17:21 PST 2019
#4004: "Add web service layer" broken with Python3
----------------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.8.2
Component: wxGUI | Version: svn-trunk
Keywords: Python3,WMS,wxpython | CPU: Unspecified
Platform: All |
----------------------------------+-------------------------
It seems the "Add web service layer" function in the GUI is broken in both
trunk and 7.8 after changes to Python 3.
With changes here:
https://github.com/OSGeo/grass/pull/238
r.in.wms works again, but the GUI in layer manager fails With the
following error Message:
{{{
Traceback (most recent call last):
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 548, in
OnCapDownloadDone
self._parseCapFile(self.cap_file)
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 572, in
_parseCapFile
self._updateFormatRadioBox(self.formats_list)
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 851, in
_updateFormatRadioBox
border=5)
TypeError
:
Sizer.Insert(): arguments did not match any overloaded call:
overload 1: 'item' is not a valid keyword argument
overload 2: 'item' is not a valid keyword argument
overload 3: 'item' is not a valid keyword argument
overload 4: 'item' is not a valid keyword argument
overload 5: 'item' is not a valid keyword argument
overload 6: 'item' is not a valid keyword argument
overload 7: 'item' is not a valid keyword argument
overload 8: 'item' is not a valid keyword argument
overload 9: 'item' is not a valid keyword argument
Traceback (most recent call last):
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 548, in
OnCapDownloadDone
self._parseCapFile(self.cap_file)
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 572, in
_parseCapFile
self._updateFormatRadioBox(self.formats_list)
File "/opt/src/grass_ninsbl/dist.x86_64-pc-linux-
gnu/gui/wxpython/web_services/widgets.py", line 851, in
_updateFormatRadioBox
border=5)
TypeError
:
Sizer.Insert(): arguments did not match any overloaded call:
overload 1: 'item' is not a valid keyword argument
overload 2: 'item' is not a valid keyword argument
overload 3: 'item' is not a valid keyword argument
overload 4: 'item' is not a valid keyword argument
overload 5: 'item' is not a valid keyword argument
overload 6: 'item' is not a valid keyword argument
overload 7: 'item' is not a valid keyword argument
overload 8: 'item' is not a valid keyword argument
overload 9: 'item' is not a valid keyword argument
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4004>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list