[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 15:42:02 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 rblazek):
Replying to [comment:17 lutra]:
{{{
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'
}}}
I have looked into the valuewidget.py, it is using
layer.contrastEnhancement, but it knows nothing about providers. Current
support for raster providers is just a hack for WMS. It cannot be fixed in
GRASS raster provider.
I can only recommend you to dont use valuetool with GRASS rasters (and
probably WMS).
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1945#comment:23>
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