Opened 11 years ago
Closed 11 years ago
#1565 closed defect (fixed)
wxGUI: command console with no map display open causes error
|Reported by:||hamish||Owned by:|
if you close all map display windows so you only have the layer manager open, switch to the command console tab, and run 'v.info roads' or 'r.univar elevation.dem' etc the module runs fine but an error is printed after it:
Traceback (most recent call last): File ".../svn/relbr_6_4/dist.x86_64 -unknown-linux-gnu/etc/wxpython/gui_modules/goutput.py", line 789, in OnCmdDone display = self.parent.GetLayerTree().GetMapDisplay() File ".../svn/relbr_6_4/dist.x86_64 -unknown-linux-gnu/etc/wxpython/wxgui.py", line 441, in GetLayerTree return self.curr_page.maptree AttributeError : 'NoneType' object has no attribute 'maptree'
ps- in the grey bar between the top output pane and the bottom input pane, could there be some text like "Enter command below:"? otherwise new users just see a bunch of empty white boxes and don't know where they should click. 6.4.1 had some "Cmd> " text to the left of the input box which helped as a cue.
Change History (2)
comment:1 by , 11 years ago
|Milestone:||6.4.2 → 6.4.3|
comment:2 by , 11 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
Still the case in 6.4.svn, r52816.