Opened 8 years ago

Closed 8 years ago

Last modified 8 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 Changed 8 years ago by martinl

Component: DefaultwxGUI
Keywords: histogram added

comment:2 Changed 8 years ago by martinl

Version: unspecifiedsvn-trunk

comment:3 Changed 8 years ago by cmbarton

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 Changed 8 years ago by annakrat

Resolution: fixed
Status: newclosed

Fixed in 54991.

comment:5 Changed 8 years ago by cmbarton

Thanks

Michael

comment:6 Changed 8 years ago by cmbarton

Works great now.

Michael

Note: See TracTickets for help on using tickets.