[GRASS-dev] [GRASS GIS] #2942: Startup after Novice Install

GRASS GIS trac at osgeo.org
Mon Jun 26 13:30:58 PDT 2017


#2942: Startup after Novice Install
------------------------+-------------------------
  Reporter:  pactriglo  |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.0.6
 Component:  Startup    |    Version:  7.0.3
Resolution:             |   Keywords:
       CPU:  OSX/Intel  |   Platform:  MacOSX
------------------------+-------------------------
Description changed by neteler:

Old description:

> Last login: Sun Feb 28 19:57:43 on ttys000
> BenjamiillosMBP:~ benjaminpezzillo$
> '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> Rebuilding Addon menu...
> Python 2.7.10 found.
> Starting GRASS GIS...
> dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
>   Referenced from:
> /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.3.dylib
>   Reason: image not found
> Traceback (most recent call last):
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/gis_set.py",
> line 31, in <module>
>     from core import globalvar
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/globalvar.py",
> line 29, in <module>
>     from core.debug import Debug
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
> line 66, in <module>
>     Debug = DebugMsg()
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
> line 37, in __init__
>     self.SetLevel()
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
> line 42, in SetLevel
>     self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 934, in gisenv
>     s = read_command("g.gisenv", flags='n')
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 442, in read_command
>     process = pipe_command(*args, **kwargs)
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 417, in pipe_command
>     return start_command(*args, **kwargs)
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 355, in start_command
>     if debug_level() > 0:
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 1517, in debug_level
>     _debug_level = int(gisenv().get('DEBUG', 0))
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 934, in gisenv
>     s = read_command("g.gisenv", flags='n')
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 445, in read_command
>     return handle_errors(returncode, stdout, args, kwargs)
>   File
> "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
> line 312, in handle_errors
>     returncode=returncode)
> grass.exceptions.CalledModuleError: Module run None ['g.gisenv', '-n']
> ended with error
> Process ended with non-zero return code -5. See errors in the (error)
> output.
> Error in GUI startup. If necessary, please report this error to the GRASS
> developers.
> Switching to text mode now.
>
> Hit RETURN to continue...
>
> Traceback (most recent call last):
>   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 1438,
> in <module>
>     set_data()
>   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 681, in
> set_data
>     gui_startup(grass_gui == 'gtext')
>   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 703, in
> gui_startup
>     os.execlp(cmd_name, "-text")
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
> line 329, in execlp
>     execvp(file, args)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
> line 346, in execvp
>     _execvpe(file, args)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
> line 382, in _execvpe
>     func(fullname, *argrest)
> OSError: [Errno 2] No such file or directory
> logout
> Saving session...
> ...copying shared history...
> ...saving history...truncating history files...
> ...completed.
>
> [Process completed]

New description:

 {{{
 Last login: Sun Feb 28 19:57:43 on ttys000
 BenjamiillosMBP:~ benjaminpezzillo$
 '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
 Rebuilding Addon HTML manual pages index...
 Rebuilding Addon menu...
 Python 2.7.10 found.
 Starting GRASS GIS...
 dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
   Referenced from:
 /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.3.dylib
   Reason: image not found
 Traceback (most recent call last):
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/gis_set.py", line
 31, in <module>
     from core import globalvar
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/globalvar.py",
 line 29, in <module>
     from core.debug import Debug
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
 line 66, in <module>
     Debug = DebugMsg()
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
 line 37, in __init__
     self.SetLevel()
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py",
 line 42, in SetLevel
     self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 934, in gisenv
     s = read_command("g.gisenv", flags='n')
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 442, in read_command
     process = pipe_command(*args, **kwargs)
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 417, in pipe_command
     return start_command(*args, **kwargs)
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 355, in start_command
     if debug_level() > 0:
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 1517, in debug_level
     _debug_level = int(gisenv().get('DEBUG', 0))
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 934, in gisenv
     s = read_command("g.gisenv", flags='n')
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 445, in read_command
     return handle_errors(returncode, stdout, args, kwargs)
   File
 "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py",
 line 312, in handle_errors
     returncode=returncode)
 grass.exceptions.CalledModuleError: Module run None ['g.gisenv', '-n']
 ended with error
 Process ended with non-zero return code -5. See errors in the (error)
 output.
 Error in GUI startup. If necessary, please report this error to the GRASS
 developers.
 Switching to text mode now.

 Hit RETURN to continue...

 Traceback (most recent call last):
   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 1438, in
 <module>
     set_data()
   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 681, in
 set_data
     gui_startup(grass_gui == 'gtext')
   File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 703, in
 gui_startup
     os.execlp(cmd_name, "-text")
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
 line 329, in execlp
     execvp(file, args)
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
 line 346, in execvp
     _execvpe(file, args)
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
 line 382, in _execvpe
     func(fullname, *argrest)
 OSError: [Errno 2] No such file or directory
 logout
 Saving session...
 ...copying shared history...
 ...saving history...truncating history files...
 ...completed.

 [Process completed]
 }}}

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2942#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list