[GRASS-dev] [GRASS GIS] #4004: "Add web service layer" broken with Python3

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#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
Resolution: | Keywords: Python3,WMS,wxpython
       CPU: Unspecified | Platform: All
--------------------------+----------------------------------

Comment (by annakrat):

https://github.com/OSGeo/grass/pull/242

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4004#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#4004: "Add web service layer" broken with Python3
--------------------------+----------------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.8.3
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: Python3,WMS,wxpython
       CPU: Unspecified | Platform: All
--------------------------+----------------------------------

Comment (by annakrat):

Merged to master, needs backporting.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4004#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#4004: "Add web service layer" broken with Python3
--------------------------+----------------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.8.3
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: Python3,WMS,wxpython
       CPU: Unspecified | Platform: All
--------------------------+----------------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

Already done, closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4004#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>