#951: Error querying rasters in wxgui
----------------------------------+-----------------------------------------
Reporter: epatton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: query, gui, wxpython | Platform: Linux
Cpu: x86-64 |
----------------------------------+-----------------------------------------
In the North Carolina dataset, load the elevation raster into the Layer
Manager and then use the query raster/vector maps tool from the Map
Display window to query the elevation raster, which gives the following
error:
{{{
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in
__bootstrap_inner
self.run()
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/go
utput.py", line 108, in run
moduleInterface = menuform.GUI().ParseCommand(args[0],
show = None)
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/me
nuform.py", line 1782, in ParseCommand
self.grass_task.set_flag(option[2:], True)
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/me
nuform.py", line 373, in set_flag
param = self.get_flag(aFlag)
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/me
nuform.py", line 367, in get_flag
raise ValueError, _("Flag not found: %s") % aFlag
ValueError: Flag not found: q
}}}
I'm working with r41157, up to date as of this morning; I checked again,
and I still get this error. From the error message, it looks like the --q
flag is being passed as a regular flag '-q', generating an error. But then
it ought to cause an error with you as well. Strange...
Replying to [comment:2 epatton]:
> I'm working with r41157, up to date as of this morning; I checked again,
and I still get this error. From the error message, it looks like the --q
flag is being passed as a regular flag '-q', generating an error. But then
it ought to cause an error with you as well. Strange...
Querying the elevation raster in NC also causes the same error for me.
There must be something broken in my wxwidgets? I've installed it from the
repositories.
I seem to recall a while back there were Ubuntu-specific instructions for
getting wxwidgets working correctly on 64-bit systems?