[GRASS-dev] [GRASS GIS] #2920: "query raster/vector map(s)" tool does not work for raster maps

#2920: "query raster/vector map(s)" tool does not work for raster maps
------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Display | Version: svn-trunk
Keywords: query tool | CPU: x86-64
Platform: Linux |
------------------------+-------------------------
This is what I get in the Command console when I click over a raster map
with the query tool:

{{{
Traceback (most recent call last):
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/gui/wxpython/mapwin/buffered.py", line 1236,
in MouseActions

self.OnLeftUp(event)
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/gui/wxpython/mapwin/buffered.py", line 1413,
in OnLeftUp

self.mapQueried.emit(x=self.mouse['end'][0],
y=self.mouse['end'][1])
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/etc/python/grass/pydispatch/signal.py", line
229, in emit

dispatcher.send(signal=self, *args, **kwargs)
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/etc/python/grass/pydispatch/dispatcher.py",
line 349, in send

**named
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/etc/python/grass/pydispatch/robustapply.py",
line 60, in robustApply

return receiver(*arguments, **named)
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/gui/wxpython/mapdisp/frame.py", line 870, in
Query

self.QueryMap(east, north, qdist, rast, vect)
   File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64
-pc-linux-gnu/gui/wxpython/mapdisp/frame.py", line 919, in
QueryMap

if 'Category' in vectQuery[0]:
IndexError
:
list index out of range
}}}

For vector maps, however, it works as expected. It happens only in trunk
(r67833). I also tested in release branch (r67789) but there it works
fine. I use Fedora 23.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2920&gt;
GRASS GIS <https://grass.osgeo.org>

#2920: "query raster/vector map(s)" tool does not work for raster maps
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: query tool
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------
Changes (by martinl):

* milestone: 7.0.4 => 7.1.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2920#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#2920: "query raster/vector map(s)" tool does not work for raster maps
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: query tool
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------
Changes (by martinl):

* component: Display => wxGUI

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2920#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#2920: "query raster/vector map(s)" tool does not work for raster maps
-------------------------+-------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: query tool
       CPU: x86-64 | Platform: Linux
-------------------------+-------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

Fixed in r67838.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2920#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>