[GRASS-dev] [GRASS GIS] #2863: executing r.in.wms module causes pop up python gui error dialog (python.exe stopped working)

#2863: executing r.in.wms module causes pop up python gui error dialog (python.exe
stopped working)
-------------------------+-------------------------
Reporter: tmsz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone:
Component: Raster | Version: 7.0.2
Keywords: r.in.wms | CPU: Unspecified
Platform: MSWindows 7 |
-------------------------+-------------------------
I just discovered that executing r.in.wms module (with default WMS_GRASS
driver) causes pop up python gui error dialog (python.exe stopped working)
(affected is a wxGUI Add web service layer dialog, too). However r.in.wms
module finished correctly. This behaviour I discovered on Windows OS only.

{{{
r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm
output=wms_eu_hillshade layers=europe_wms:hs_srtm_europa
}}}

I debug r.in.wms module, and I find that behaviour cause
src_band.ReadAsArray() method call (ReadAsArray() method from gdal python
module), row 239 in the protected method _pct2rgb, class WMSDrv in the
wms_drv.py module.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2863&gt;
GRASS GIS <https://grass.osgeo.org>

#2863: executing r.in.wms module causes pop up python gui error dialog (python.exe
stopped working)
--------------------------+-------------------------
  Reporter: tmsz | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone:
Component: Raster | Version: 7.0.2
Resolution: | Keywords: r.in.wms
       CPU: Unspecified | Platform: MSWindows 7
--------------------------+-------------------------
Changes (by tmsz):

* Attachment "r_in_wms.jpg" added.

python gui error dialog (python.exe stopped working)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2863&gt;
GRASS GIS <https://grass.osgeo.org>

#2863: executing r.in.wms module causes pop up python gui error dialog (python.exe
stopped working)
--------------------------+-------------------------
  Reporter: tmsz | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.2.4
Component: Raster | Version: 7.0.2
Resolution: worksforme | Keywords: r.in.wms
       CPU: Unspecified | Platform: MSWindows 7
--------------------------+-------------------------
Changes (by martinl):

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

Comment:

No activity. Unable to reproduce in GRASS 7.6.1 (on Windows).

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