[GRASS-dev] GRASS-GIS GUI failed to start

Tung Nguyen tungkttv at gmail.com
Wed Sep 6 01:24:06 PDT 2017


Thank you very much Anna!

I finally managed to compile the snapshot version you posted.

*While compiling, I had this error*

Errors in:
/home/Downloads/grass-6.4_2017/gui/wxpython
--
In case of errors please change into the directory with error and run
'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Mon Sep  4 16:52:36 PDT 2017
make: *** [default] Error 1
LinuxMint17 ~/Downloads/grass-6.4_2017 $ cd ./gui/wxpython/
LinuxMint17 ~/Downloads/grass-6.4_2017/gui/wxpython $ make

*After running make in gui/wxpython. The GRASS was successfully compiled.
However the error still remained. *

GRASS 6.4.6svn (default):~/Downloads/grass-6.4_2017 > Traceback (most
recent call last):
  File "/usr/local/grass-6.4.6svn/etc/wxpython/wxgui.py", line 34, in
<module>
    from lmgr.frame import GMFrame
  File "/usr/local/grass-6.4.6svn/etc/wxpython/lmgr/frame.py", line 46, in
<module>
    from lmgr.layertree        import LayerTree, LMIcons
  File "/usr/local/grass-6.4.6svn/etc/wxpython/lmgr/layertree.py", line 37,
in <module>
    from mapdisp.frame       import MapFrame
  File "/usr/local/grass-6.4.6svn/etc/wxpython/mapdisp/frame.py", line 52,
in <module>
    from wxplot.profile     import ProfileFrame
  File "/usr/local/grass-6.4.6svn/etc/wxpython/wxplot/profile.py", line 28,
in <module>
    import wx.lib.plot as plot
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/plot.py",
line 132, in <module>
    raise ImportError, "Numeric,numarray or NumPy not found. \n" + msg
ImportError: Numeric,numarray or NumPy not found.

            This module requires the Numeric/numarray or NumPy module,
            which could not be imported.  It probably is not installed
            (it's not part of the standard Python distribution). See the
            Numeric Python site (http://numpy.scipy.org) for information on
            downloading source or binaries.

*These are the configs that I used*

CFLAGS="-g -Wall -O2" LDFLAGS="-s" ./configure \
     --enable-64bit \
     --with-libs=/usr/lib64 \
     --with-cxx \
     --with-freetype=yes \
     --with-freetype-includes=/usr/include/freetype2 \
     --with-postgres=no \
     --with-sqlite=yes \
     --enable-largefile=yes \
     --with-tcltk-includes=/usr/include/tcl8.6 \
     --with-opengl-libs=/usr/include/GL \
     --with-readline \
     --with-python=yes \
     --with-wxwidgets \
     --with-cairo \
       ...

GRASS is now configured for:

  Source directory:            /home/Downloads/grass-6.4_2017
  Build directory:             /home/Downloads/grass-6.4_2017
  Installation directory:      ${prefix}/grass-6.4.6svn
  Startup script in directory: ${exec_prefix}/bin
  C compiler:                  gcc -g -Wall -O2
  C++ compiler:                c++ -g -O2
  Building shared libraries:   yes
  64bit support:               yes
  OpenGL platform:             X11

  MacOSX application:         no
  MacOSX architectures:
  MacOSX SDK:

  Tcl/Tk 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
  GLw support:                no
  LAPACK support:             no
  Large File support (LFS):   yes
  Motif support:              no
  MySQL support:              no
  NLS support:                no
  ODBC support:               no
  OGR support:                yes
  OpenGL support:             yes
  PNG support:                yes
  PostgreSQL support:         no
  Python support:             yes
  Readline support:           yes
  SQLite support:             yes
  Tcl/Tk support:             yes
  wxWidgets support:          yes
  TIFF support:               yes
  X11 support:                yes

I attached the full log of the compilation in case you want to look further
into it

Best regards,

-- Tung

On Wed, Aug 30, 2017 at 12:14 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

> Is this version from packages? There has been some fixes, so maybe if
> you could download and compile the latest version:
>
> https://grass.osgeo.org/grass64/source/snapshot/
>
> On Wed, Aug 30, 2017 at 11:23 AM, Tung Nguyen <tungkttv at gmail.com> wrote:
> > Hi Vero,
> >
> > Thanks for the suggestion! I'd love to however some of the tools we're
> using
> > are only compatible with GRASS-GIS 6.4
> >
> > Best regards,
> >
> > -- Tung
> >
> > On Tue, Aug 29, 2017 at 10:55 PM, Veronica Andreo <veroandreo at gmail.com>
> > wrote:
> >>
> >> Hello Tung,
> >>
> >> Have you considered moving to GRASS 7.2? The last update of GRASS 6.4
> >> series (6.4.4) was released one year ago and won't receive further bug
> >> fixing.
> >>
> >> I would highly recommend to move to grass 7
> >>
> >> Best,
> >> Vero
> >>
> >> El 30 ago. 2017 12:28 a.m., "Tung Nguyen" <tungkttv at gmail.com>
> escribió:
> >>>
> >>> Hello GRASS dev,
> >>>
> >>> I'm using GRASS-GIS v6.4.3 on Linux Mint 17.3 Rosa but couldn't get the
> >>> GUI to start. I have tried all solutions I could find to no avail.
> What I
> >>> have tried so far:
> >>> - Uninstall & reinstall numpy (numpy-1.13.1)
> >>> - Uninstall (purge) and reinstall python-wxversion, python-wxgtk2.8
> then
> >>> grass-core, grass-dev & grass-gui
> >>>
> >>> - Error message:
> >>>
> >>> Welcome to GRASS 6.4.3 (2013)
> >>> GRASS homepage:                          http://grass.osgeo.org/
> >>> This version running thru:               Bash Shell (/bin/bash)
> >>> Help is available with the command:      g.manual -i
> >>> See the licence terms with:              g.version -c
> >>> If required, restart the GUI with:       g.gui wxpython
> >>> When ready to quit enter:                exit
> >>>
> >>> [Raster MASK present]
> >>> GRASS 6.4.3 (default):~ > Traceback (most recent call last):
> >>>   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 34, in <module>
> >>>     from lmgr.frame import GMFrame
> >>>   File "/usr/lib/grass64/etc/wxpython/lmgr/frame.py", line 46, in
> >>> <module>
> >>>     from lmgr.layertree        import LayerTree, LMIcons
> >>>   File "/usr/lib/grass64/etc/wxpython/lmgr/layertree.py", line 37, in
> >>> <module>
> >>>     from mapdisp.frame       import MapFrame
> >>>   File "/usr/lib/grass64/etc/wxpython/mapdisp/frame.py", line 52, in
> >>> <module>
> >>>     from wxplot.profile     import ProfileFrame
> >>>   File "/usr/lib/grass64/etc/wxpython/wxplot/profile.py", line 23, in
> >>> <module>
> >>>     import wx.lib.plot as plot
> >>>   File
> >>> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/plot.py",
> line
> >>> 132, in <module>
> >>>     raise ImportError, "Numeric,numarray or NumPy not found. \n" + msg
> >>> ImportError: Numeric,numarray or NumPy not found.
> >>>             This module requires the Numeric/numarray or NumPy module,
> >>>             which could not be imported.  It probably is not installed
> >>>             (it's not part of the standard Python distribution). See
> the
> >>>             Numeric Python site (http://numpy.scipy.org) for
> information
> >>> on
> >>>             downloading source or binaries.
> >>>
> >>>
> >>> - Machine info:
> >>>
> >>> $ python --version
> >>> Python 2.7.6
> >>>
> >>> $ inxi -Fxz
> >>> System:    Kernel: 4.4.0-28-generic x86_64 (64 bit gcc: 4.8.4)
> >>>            Desktop: Cinnamon 2.8.8 (Gtk 3.10.8) Distro: Linux Mint 17.3
> >>> Rosa
> >>> Graphics:  Card: NVIDIA GM107GL [Quadro K620] bus-ID: 01:00.0
> >>>            Display Server: X.Org 1.17.1 driver: nvidia Resolution:
> >>> 1920x1080 at 60.0hz, 1920x1080 at 60.0hz
> >>>            GLX Renderer: Quadro K620/PCIe/SSE2 GLX Version: 4.5.0
> NVIDIA
> >>> 375.39 Direct Rendering: Yes
> >>>
> >>> Any suggestion would be appreciated. Thanks!
> >>>
> >>> -- Tung
> >>>
> >>> _______________________________________________
> >>> grass-dev mailing list
> >>> grass-dev at lists.osgeo.org
> >>> https://lists.osgeo.org/mailman/listinfo/grass-dev
> >
> >
> >
> >
> > --
> >
> > Thanks!
> >
> > -- Tung
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170906/c44de81e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: full_compile_log_GRASS6.4_svn.7z
Type: application/octet-stream
Size: 172554 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170906/c44de81e/attachment-0001.obj>


More information about the grass-dev mailing list