Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1679 closed defect (worksforme)

d.histogram fails to start

Reported by: jradinger Owned by: grass-dev@…
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 hamish, 12 years ago

Cc: r52187 removed
Keywords: d.histogram added

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

comment:2 by JRadinger, 12 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 cmbarton, 12 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.

comment:4 by annakrat, 12 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

in reply to:  4 comment:5 by jradinger, 12 years ago

Resolution: worksforme
Status: newclosed

Histogram from context menu is working now. Thanks

comment:6 by hamish, 12 years ago

Component: DisplaywxGUI

comment:7 by neteler, 12 years ago

Reporter: changed from JRadinger to jradinger
Note: See TracTickets for help on using tickets.