Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1879 closed defect (fixed)

Error at generating plot statistics within histogram tool

Reported by: pvanbosgeo Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: histogram Cc:
CPU: x86-64 Platform: Linux

Description

When running the 'plot statistics' option in the new histogram tool, the following error code is generated in the command console:

Traceback (most recent call last):

File "/usr/local/grass7/grass-7.0.svn/etc/gui/wxpython/wxp

lot/histogram.py", line 225, in OnStats

ret = grass.read_command('r.univar', map = r, flags = 'e', quiet = True) NameError : global name 'r' is not defined Traceback (most recent call last):

File "/usr/local/grass7/grass-7.0.svn/etc/gui/wxpython/wxp

lot/histogram.py", line 225, in OnStats

ret = grass.read_command('r.univar', map = r, flags = 'e', quiet = True) NameError : global name 'r' is not defined

Change History (6)

comment:1 by martinl, 11 years ago

Component: DefaultwxGUI
Keywords: histogram added

comment:2 by martinl, 11 years ago

Version: unspecifiedsvn-trunk

comment:3 by cmbarton, 11 years ago

This used to work. Some more recent change has broken it. Perhaps something to do with the way grass.read_command is parsed?

Michael

comment:4 by annakrat, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in 54991.

comment:5 by cmbarton, 11 years ago

Thanks

Michael

comment:6 by cmbarton, 11 years ago

Works great now.

Michael

Note: See TracTickets for help on using tickets.