[GRASS-dev] [GRASS GIS] #444: wxGui gives error with xy location

GRASS GIS trac at osgeo.org
Mon Jan 19 16:53:05 EST 2009


#444: wxGui gives error with xy location
--------------------+-------------------------------------------------------
 Reporter:  paoloC  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect  |      Status:  new                      
 Priority:  major   |   Milestone:  7.0.0                    
Component:  wxGUI   |     Version:  svn-trunk                
 Keywords:          |    Platform:  Linux                    
      Cpu:  x86-32  |  
--------------------+-------------------------------------------------------
 wxGui turn back this error when starts with a simple xy location:

 Error in Commad execution  Execution failed:'g.region -u -g -p -c'.


 Traceback (most recent call last):

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 1520, in
 <module>

     sys.exit(main())

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 1513, in
 main

     app = GMApp(workspaceFile)

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 1435, in
 __init__

     wx.App.__init__(self, False)

   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
 line 7912, in __init__

     self._BootstrapApp()

   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
 line 7487, in _BootstrapApp

     return _core_.PyApp__BootstrapApp(*args, **kwargs)

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 1451, in
 OnInit

     workspace = self.workspaceFile)

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 175, in
 __init__

     self.NewDisplay(show=False)

   File "/usr/local/grass-7.0.svn/etc/wxpython/wxgui.py", line 1116, in
 NewDisplay

     auimgr=self._auimgr, showMapDisplay=show)

   File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/wxgui_utils.py",
 line 106, in __init__

     Map=self.Map, auimgr=self.auimgr)

   File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/mapdisp.py",
 line 245, in __init__

     self.MapWindow.ZoomHistory(self.Map.region['n'],

 KeyError: 'n'




 No errors with the same location with grass6.4.svn.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/444>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list