Ticket #1679 (closed defect: worksforme)

Opened 11 months ago

Last modified 11 months ago

d.histogram fails to start

Reported by: jradinger Owned by: grass-dev@…
Priority: normal Milestone:
Component: wxGUI Version: svn-develbranch6
Keywords: d.histogram Cc:
Platform: MacOSX CPU: Unspecified

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

  Changed 11 months ago by hamish

  • 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

  Changed 11 months ago by JRadinger

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.

  Changed 11 months ago by cmbarton

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   Changed 11 months ago by annakrat

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   Changed 11 months ago by jradinger

  • status changed from new to closed
  • resolution set to worksforme

Histogram from context menu is working now. Thanks

  Changed 11 months ago by hamish

  • component changed from Display to wxGUI

  Changed 11 months ago by neteler

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