#1679 closed defect (worksforme)
d.histogram fails to start
Reported by: | jradinger | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wxGUI | Version: | svn-develbranch6 |
Keywords: | d.histogram | Cc: | |
CPU: | Unspecified | Platform: | MacOSX |
Description
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'
Change History (7)
comment:1 by , 13 years ago
Cc: | removed |
---|---|
Keywords: | d.histogram added |
comment:2 by , 13 years ago
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.
comment:3 by , 13 years ago
the histogram function works from the menu button on the display window. I just tested this in GRASS 6.5 compiled a few hours ago.
follow-up: 5 comment:4 by , 13 years ago
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.
Anna
comment:5 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Histogram from context menu is working now. Thanks
comment:6 by , 13 years ago
Component: | Display → wxGUI |
---|
comment:7 by , 13 years ago
Reporter: | changed from | to
---|
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.
Hamish