#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
Reporter: JRadinger | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Keywords: | Platform: MacOSX
Cpu: Unspecified |
-------------------------+--------------------------------------------------
It is not possible to launch d.histogram in GRASS 6.5SVN (r52187) either
via the GUI command console or via right mouse click on the raster file on
my Mac OSX system. Following error is produced:
Traceback (most recent call last):
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpyt
hon/gui_core/prompt.py", line 1118, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpyt
hon/gui_core/prompt.py", line 607, in _runCmd
if cmdString[:2] == 'd.' and not self.parent.curr_page:
AttributeError
:
'GMConsole' object has no attribute 'curr_page'
The d.* modules are not intended to be run from the GUI command console,
nor from the OSX desktop.
You need to start an xmon from the GRASS Terminal window's command prompt
(d.mon x0), then run it. Or start the histogram from the "analyze map"
button which is to the right of the right-most magnifying glass icon in
the Map Display GUI window.
To get a histogram with right click onto the raster -> histogam was
working before I did the SVN update (I can't remember my old SVN version,
~ some months old), thats just why I asked...
To start the histogram with "analyse map" is working.
Histogram from the context menu should be working now. When you type it in
the command line, the error message is fixed, however a warning dialog
window appears saying that you can't do that because it's not yet
implemented.