[QGIS-trac] Re: [Quantum GIS] #2078: [Windows] adding a GRASS
raster created with r.external crashes QGIS
Quantum GIS
qgis at qgis.org
Fri Feb 5 07:05:48 EST 2010
#2078: [Windows] adding a GRASS raster created with r.external crashes QGIS
--------------------------------------------------------------+-------------
Reporter: pcav | Owner: rugginoso
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.5.0
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Windows
Must_fix: No | Status_info: 0
--------------------------------------------------------------+-------------
Comment (by rblazek):
Replying to [comment:5 lutra]:
> Tested r12883 under XP and still crashes.
Thanks for testing.
> The curios thing is that qgis crashes if you try add the raster from the
grass browser but doesn't crash if you add the raster from the qgis grass
toolbar.
That is OK, I just forgot to use the new driver also in browser and
module, fixed in r12885.
> Nevertheless the raster doesn't show correctly and qgis shows the
following message:
>
> {{{
> Cannot draw raster
> Cannot start module
> command: C:/OSGeo4W/apps/qgis-dev/./grass/modules/qgis.d.rast.exe
map=teste1 at demo
window=-7.1176e+06,1.33306e+06,4.89704e+06,7.80968e+06,1170,631<br><br>ERRO:Unable
to locate symbol <GDALAllRegister>
> }}}
It seems that GRASS libs are compiled with GDAL but the module
qgis.d.rast.exe was not compiled with GDAL libs. I have added GDAL_LIBRARY
into CMakeLists.txt in r12886.
> The resulting raster is all grey and in the properties shows no color
bands.
It just draws the gray rectangle if the GRASS module fails.
No we have to wait until tomorrow for the new build.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2078#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list