[QGIS-trac] Re: [Quantum GIS] #1945: [Vista] Qgis crashes removing
GRASS raster layer from map canvas
Quantum GIS
qgis at qgis.org
Fri Feb 5 10:43:15 EST 2010
#1945: [Vista] Qgis crashes removing GRASS raster layer from map canvas
--------------------------------------------------------------+-------------
Reporter: juanelz | Owner: rugginoso
Type: bug | Status: closed
Priority: critical: causes crash or data corruption | Milestone: Version 1.5.0
Component: GRASS | Version: HEAD
Resolution: fixed | Keywords: GRASS rasters
Platform_version: Vista | Platform: Windows
Must_fix: Yes | Status_info: 0
--------------------------------------------------------------+-------------
Comment (by lutra):
Hi Radim,
the first thing I notice is about linux.
After having compiled trunk, when I open the grass mapset in the qgis demo
dataset -and then I add the raster that is in there (gtopo30)- qgis (the
"value tool" plugin to be precise) throws the following
{{{
Traceback (most recent call last):
File "/home/vania/.qgis//python/plugins/valuetool/valuewidget.py", line
134, in printValue
self.ymin=min(self.ymin,cstr.minimumValue())
AttributeError: 'NoneType' object has no attribute 'minimumValue'
}}}
then qgis also throws this
{{{
Cannot query raster
Cannot start module
command: /usr/share/qgis/grass/modules/qgis.g.info info=query
rast=gtopo30 at demo coor=-1.43995e+06,8.38359e+06<br><br>
GRASS_INFO_WARNING(5191,1): Reading raster map <gtopo30 at demo> request for
row -174 is outside region
GRASS_INFO_END(5191,1)
GRASS_INFO_ERROR(5191,2): Unable to read raster map <gtopo30 at demo> row
-174
GRASS_INFO_END(5191,2)
}}}
in both cases when passing the mouse over the raster in the canvas.
The happens under windows, but not immediately after having added the
GRASS raster to the canvas. I'll be more precise in the notes that will
follow this one.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1945#comment:17>
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