[GRASS-dev] [GRASS GIS] #830: wxgui loading error for GRASS7 on Ubuntu 9.10

GRASS GIS trac at osgeo.org
Wed Dec 2 15:16:35 EST 2009


#830: wxgui loading error for GRASS7 on Ubuntu 9.10
----------------------------------------+-----------------------------------
 Reporter:  isaacullah                  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                      |      Status:  new                      
 Priority:  major                       |   Milestone:  7.0.0                    
Component:  wxGUI                       |     Version:  svn-trunk                
 Keywords:  Ubuntu, fails to load, GUI  |    Platform:  Linux                    
      Cpu:  x86-64                      |  
----------------------------------------+-----------------------------------
 After successful compiling and installation of GRASS 7 on Ubuntu 9.10, the
 grass launcher GUI loads properly, but after selection of location and
 mapset, only the terminal is present, and no gui. Executing g.gui yields
 the following errors:


 {{{
   GRASS 7.0.svn (Penaguila_highres):~/grass_7_source/grass_trunk >
 WARNING: Vector digitizer is not available (No module named
 grass7_wxvdigit).

 Note that vector digitizer is currently not working under MS Windows
 (hopefully will be fixed soon). Please try more recent version of GRASS.
 g.list: error while loading shared libraries: libgdal.so.1: cannot open
 shared object file: No such file or directory
 g.list: error while loading shared libraries: libgdal.so.1: cannot open
 shared object file: No such file or directory
 Traceback (most recent call last):
   File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 1641, in <module>
     sys.exit(main())
   File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 1634, in main
     app = GMApp(workspaceFile)
   File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 1558, 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/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 1577, in OnInit
     workspace = self.workspaceFile)
   File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 186, in __init__
     self.NewDisplay(show=False)
   File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
 1171, in NewDisplay
     auimgr=self._auimgr, showMapDisplay=show)
   File "/usr/local/grass7.0.svn-
 28_11_2009/etc/wxpython/gui_modules/wxgui_utils.py", line 108, in __init__
     Map=self.Map, auimgr=self.auimgr)
   File "/usr/local/grass7.0.svn-
 28_11_2009/etc/wxpython/gui_modules/mapdisp.py", line 280, in __init__
     self.MapWindow.ZoomHistory(self.Map.region['n'],
 KeyError: 'n'
 }}}

 I am using Ubuntu 9.10, and have compiled GRASS 7 from latest SVN source
 code. Here are my compile options:


 {{{
 ./configure --enable-64bit --with-lesstif --with-freetype=yes --with-
 freetype-includes=/usr/include/freetype2 --with-cxx --with-nls --with-
 gdal=/usr/bin/gdal-config --with-proj --with-proj-includes=/usr/include
 --with-proj-libs=/usr/lib --with-python=/usr/bin/python-config --with-
 wxwidgets=/usr/bin/wx-config --with-wxwidgets=/etc/alternatives/wx-config
 --with-tcltk-includes=/usr/include/tcl8.5/ --with-cario --enable-largefile
 --with-readline --with-blas-libs=/usr/lib/ --with-pthread
 }}}

 With compile output:


 {{{
 GRASS is now configured for:  x86_64-unknown-linux-gnu

   Source directory:            /home/iullah2/grass_7_source/grass_trunk
   Build directory:             /home/iullah2/grass_7_source/grass_trunk
   Installation directory:      ${prefix}/grass-7.0.svn
   Startup script in directory: ${exec_prefix}/bin
   C compiler:                  gcc -g -O2
   C++ compiler:                c++ -g -O2
   Building shared libraries:   yes
   64bit support:
   OpenGL platform:             X11

   MacOSX application:         no
   MacOSX architectures:
   MacOSX SDK:

   NVIZ:                       yes

   BLAS support:               no
   C++ support:                yes
   Cairo support:              yes
   DWG support:                no
   FFMPEG support:             no
   FFTW support:               yes
   FreeType support:           yes
   GDAL support:               yes
   GEOS support:               no
   JPEG support:               yes
   LAPACK support:             no
   Large File support (LFS):   yes
   MySQL support:              no
   NLS support:                yes
   ODBC support:               no
   OGR support:                yes
   OpenGL support:             yes
   PNG support:                yes
   PostgreSQL support:         no
   Python support:             yes
   Readline support:           yes
   SQLite support:             no
   Tcl/Tk support:             yes
   wxWidgets support:          yes
   TIFF support:               yes
   X11 support:                yes
   Regex support:              yes
   POSIX thread support:       yes

 }}}


 There were no errors after make.

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


More information about the grass-dev mailing list