Ticket #1202 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Error after loading projection

Reported by: andreus Owned by: grass-dev@…
Priority: major Milestone: 6.4.1
Component: wxGUI Version: 6.4.0 RCs
Keywords: Cc: martinl
Platform: Linux CPU: x86-64

Description

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

Change History

Changed 4 years ago by martinl

  • cc martinl added

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

Changed 4 years ago by andreus

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

Changed 4 years ago by martinl

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

Changed 4 years ago by andreus

new 6.4.1 works fine. Thanks a lot.

Changed 4 years ago by andreus

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.