[GRASS-dev] [GRASS GIS] #913: (windows) r.external does not work in both osgeo4w and standalone packages

#913: (windows) r.external does not work in both osgeo4w and standalone packages
--------------------+-------------------------------------------------------
Reporter: lutra | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-32 |
--------------------+-------------------------------------------------------
When using r.external under windows trough qgis, the module finishes
correctly, but then when adding the raster to canvas the program returns
the following warnings

{{{
Cannot draw raster
Cannot start module
command: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.d.rast.exe
map=land@demo
window=-7.1176e+06,1.32961e+06,4.89704e+06,7.80968e+06,1184,639<br><br>
GRASS_INFO_ERROR(2864,1): Unable to locate symbol <GDALAllRegister>
GRASS_INFO_END(2864,1)

}}}

and

{{{
Cannot query raster
Cannot start module
command: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.g.info.exe
info=query rast=land@demo coor=-3.89397e+06,5.61803e+06<br><br>
GRASS_INFO_ERROR(1596,1): Unable to locate symbol <GDALAllRegister>
GRASS_INFO_END(1596,1)
}}}

and the raster appears all gray.

The same kind of messages are returned if using osgeo4w GRASS (not trough
QGIS) or the standalone installer

{{{
Unable to locate symbol <GDALAllRegister>
}}}

Under linux it seems to work all fine.

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

#913: (windows) r.external does not work in both osgeo4w and standalone packages
---------------------------+------------------------------------------------
  Reporter: lutra | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Resolution: | Keywords: r.external, WinGrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by neteler):

  * keywords: => r.external, WinGrass, osgeo4w

Comment:

To my knowledge the OSGeo4W-GRASS 6.4 binary is pretty old, there have
been fixes in r40741 (see also
https://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/lib/gis/gdal.c).

See also #885

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

#913: (windows) r.external does not work in both osgeo4w and standalone packages
---------------------------+------------------------------------------------
  Reporter: lutra | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Resolution: | Keywords: r.external, WinGrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by lutra):

Thanks. So what is the next step, suggest the osgeo4w packager to update
GRASS?

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

#913: (windows) r.external does not work in both osgeo4w and standalone packages
---------------------------+------------------------------------------------
  Reporter: lutra | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Resolution: fixed | Keywords: r.external, WinGrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by lutra):

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

Comment:

Ok, I noticed that today GRASS was updated in the osgeo4w installer. I
then tested r.external and all seems to works fine now.

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