#2787 closed bug (invalid)
Value Tool crashes with GRASS Rasters
Reported by: | andre | Owned by: | ghislainp |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Value Tool GRASS | Cc: | Quantum GIS r13619M |
Must Fix for Release: | No | Platform: | Linux |
Platform Version: | Ubuntu 9.10 | Awaiting user input: | no |
Description
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
Change History (4)
comment:1 by , 14 years ago
Must Fix for Release: | Yes → No |
---|---|
Owner: | changed from | to
follow-up: 3 comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
follow-up: 4 comment:3 by , 14 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|
BTW it doesn't crash. valuetool should ignore grass raster layers (at least for now). the error message only appears when you move the mouse pointer inside the map canvas, so you can move it outside, close the error message using the keyboard and disable valuetool in the plugin manager.
comment:4 by , 14 years ago
Replying to jef:
BTW it doesn't crash. valuetool should ignore grass raster layers (at least for now).
Looks like the current version already does. I made a patch that adds support for grass rasters: http://lists.osgeo.org/pipermail/qgis-user/2010-June/008872.html
Olá André,
this is unfortunately a known problem. The GRASS raster provider has changed and fixed a few nasty bugs, but had broken a few other things, among them there is the value tool plugin. In any case the plugin is a 3rd party one, so its bugs nust be reported directly to the author and/or to the dev mailing list.
Cheers!