[GRASS-dev] [GRASS GIS] #1679: d.histogram fails to start

#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'

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1679&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
Reporter: JRadinger | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Keywords: d.histogram | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by hamish):

* cc: r52187 (removed)
  * keywords: => d.histogram

Comment:

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1679#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
Reporter: JRadinger | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Keywords: d.histogram | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1679#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
Reporter: JRadinger | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Keywords: d.histogram | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1679#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
Reporter: JRadinger | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Keywords: d.histogram | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1679#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
  Reporter: JRadinger | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Display | Version: svn-develbranch6
Resolution: worksforme | Keywords: d.histogram
  Platform: MacOSX | Cpu: Unspecified
-------------------------+--------------------------------------------------
Changes (by jradinger):

  * status: new => closed
  * resolution: => worksforme

Comment:

Histogram from context menu is working now. Thanks

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1679#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1679: d.histogram fails to start
-------------------------+--------------------------------------------------
  Reporter: JRadinger | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: wxGUI | Version: svn-develbranch6
Resolution: worksforme | Keywords: d.histogram
  Platform: MacOSX | Cpu: Unspecified
-------------------------+--------------------------------------------------
Changes (by hamish):

  * component: Display => wxGUI

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1679#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>