[GRASS-dev] [GRASS GIS] #1202: Error after loading projection

#1202: Error after loading projection
---------------------+------------------------------------------------------
Reporter: andreus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
i got this error after i try open any location:

Traceback (most recent call last):
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 1834, in
<module>
     sys.exit(main())
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 1827, in main
     app = GMApp(workspaceFile)
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 1752, in
__init__
     wx.App.__init__(self, False)
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
     self._BootstrapApp()
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 1770, in
OnInit
     workspace = self.workspaceFile)
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 192, in
__init__
     self.NewDisplay(show=False)
   File "/usr/local/grass-6.4.0/etc/wxpython/wxgui.py", line 1248, in
NewDisplay
     auimgr=self._auimgr, showMapDisplay=show)
   File "/usr/local/grass-6.4.0/etc/wxpython/gui_modules/wxgui_utils.py",
line 95, in __init__
     self.Map = render.Map() # instance of render.Map to be associated
with display
   File "/usr/local/grass-6.4.0/etc/wxpython/gui_modules/render.py", line
402, in __init__
     self.projinfo = self.ProjInfo()
   File "/usr/local/grass-6.4.0/etc/wxpython/gui_modules/render.py", line
765, in ProjInfo
     p = gcmd.Command(['g.proj', '-p'])
   File "/usr/local/grass-6.4.0/etc/wxpython/gui_modules/gcmd.py", line
369, in __init__
     _("Error: ") + self.GetError()))
gui_modules.gcmd.CmdError

I tryed recompile from source but error still appear.

Have Ubuntu 10.10 64bit
Problem started after upgrade from 10.04

my config:
cat grass_config
./configure --with-tcltk-includes=/usr/include/tcl8.4/ --with-opengl-
includes=/usr/include/GL/ --with-blas --with-cxx --with-cairo --with-
freetype --with-freetype-includes=/usr/include/freetype2/ --with-lapack
--with-nls --with-odbc --with-wxwidgets --with-python --with-readline
--with-sqlite --with-mysql --with-mysql-includes=/usr/include/mysql/
--with-proj-share=/usr/share/proj

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

#1202: Error after loading projection
---------------------+------------------------------------------------------
Reporter: andreus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
Changes (by martinl):

* cc: martinl (added)

Comment:

Try to run {{{g.proj -p}}} from command line. What do you get?

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

#1202: Error after loading projection
---------------------+------------------------------------------------------
Reporter: andreus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by andreus):

GRASS 6.4.0+42329 (SRdata):~ > g.proj -p
XY location (unprojected)
GRASS 6.4.0+42329 (SRdata):~ >

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

#1202: Error after loading projection
---------------------+------------------------------------------------------
Reporter: andreus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by martinl):

Please try out fresh code from SVN - 6.4.1. wxGUI changed a lot compared
with 6.4.0.

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

#1202: Error after loading projection
---------------------+------------------------------------------------------
Reporter: andreus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by andreus):

new 6.4.1 works fine. Thanks a lot.

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

#1202: Error after loading projection
----------------------+-----------------------------------------------------
  Reporter: andreus | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.0 RCs
Resolution: fixed | Keywords:
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by andreus):

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

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