[QGIS-trac] [Quantum GIS] #2787: Value Tool crashes with GRASS Rasters

Quantum GIS qgis at qgis.org
Sun Jun 6 18:07:45 EDT 2010


#2787: Value Tool crashes with GRASS Rasters
---------------------------------------------------------+------------------
   Reporter:  andre                                      |              Owner:  borysiasty   
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Python plugins and bindings                |            Version:  HEAD         
   Keywords:  Value Tool GRASS                           |   Platform_version:  Ubuntu 9.10  
   Platform:  Linux                                      |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 When I import a Raster to QGIS through GRASS, with Value Tool Plugin
 Activated, it gives the following error message

 An error has occured while executing Python code:

 Traceback (most recent call last):
   File "/home/alt-shn/.qgis/python/plugins/valuetool/valuewidget.py", line
 134, in printValue
     self.ymin=min(self.ymin,cstr.minimumValue())
 AttributeError: 'NoneType' object has no attribute 'minimumValue'

 Python version:
 2.6.4 (r264:75706, Dec  7 2009, 19:02:09)
 [GCC 4.4.1]
 ________________________________________________________________________________________________

 Furthermore, the error message repeats itself everytime I click on the
 "close" Button and I have no choice but to shut down and restart QGIS

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2787>
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