I have proceeded the Grass-7.0 install.sh successfully. However, when
executing 'grass70' I've got an Python error which made GUI impossible
to startup.
please, some of you know how to troubleshoot such error (Ubuntu 13.10
have both Python 2.7, 3.2 and 3.3 installed)?
Error message as follow.
...
Starting GRASS GIS...
Traceback (most recent call last):
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/gui/wxpython/gis_set.py",
line 36, in <module>
from core import globalvar
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/gui/wxpython/core/globalvar.py",
line 28, in <module>
from core.debug import Debug
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/gui/wxpython/core/debug.py",
line 67, in <module>
Debug = DebugMsg()
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/gui/wxpython/core/debug.py",
line 38, in __init__
self.SetLevel()
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/gui/wxpython/core/debug.py",
line 43, in SetLevel
self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/python/grass/script/core.py",
line 917, in gisenv
s = read_command("g.gisenv", flags='n')
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/python/grass/script/core.py",
line 411, in read_command
ps = pipe_command(*args, **kwargs)
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/python/grass/script/core.py",
line 386, in pipe_command
return start_command(*args, **kwargs)
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/python/grass/script/core.py",
line 345, in start_command
return Popen(args, **popts)
File "/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-25_01_2014/etc/python/grass/script/core.py",
line 58, in __init__
startupinfo, creationflags)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
...
On Wed, Jan 29, 2014 at 4:21 PM, José Anderson
<joseandersonbatista@gmail.com> wrote:
Hey you,
I have proceeded the Grass-7.0 install.sh successfully. However, when
executing 'grass70' I've got an Python error which made GUI impossible
to startup.
...
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
...
Do you use a 32bit Linux? The snapshot Linux binaries are generated on
a 64bit server.
What do you get with
I have proceeded the Grass-7.0 install.sh successfully. However, when
executing ‘grass70’ I’ve got an Python error which made GUI impossible
to startup.
…
File “/usr/lib/python2.7/subprocess.py”, line 1326, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
…
Do you use a 32bit Linux? The snapshot Linux binaries are generated on
a 64bit server.
What do you get with
but I would always encourage users who wish to try development versions
of code to build GRASS from source themselves, it's not so bad; these
instructions should work:
think that binaries were not available yet when I reached the
repository first time.
Well, anyways, it looks like no GUI is present. The following error
raises, since (and I checked) no /usr/lib/grass70/etc/gui directory
was created.
...
python: can't open file
'/usr/lib/grass70/etc/gui/wxpython/gis_set.py': [Errno 2] No such file
or directory
...
Nevertheless, I feel it is getting close...
--
2014-02-03 Hamish <hamish_b@yahoo.com>:
José wrote:
thanks for your quick reply.
My ubuntu is 64bits in fact.
Markus N:
I have no Ubuntu, so I cannot say much here. But we build the snapshot
binaries in a Debian box.
Now I have to build wxpython yet (hope 3.0.0 is supported)
but I would always encourage users who wish to try development versions
of code to build GRASS from source themselves, it's not so bad; these
instructions should work:
the long term supported (LTS) ubuntu up-to-date is 12.04, but
grass-gui is not available to it.
By the way, other grass-gui release number is 6.4 instead of 7.0. Is
that correct to grass 7?
Should 'grass-gui_6.4.2-2build1_amd64.deb' work in ubuntu 12.04?
2014-02-03 Hamish <hamish_b@yahoo.com>:
is the grass-gui package installed?
if so, check files with:
$ dpkg -L grass-gui
Hamish
On Tuesday, February 4, 2014 9:56 AM, José Anderson <joseandersonbatista@gmail.com> wrote:
>T hanks Hamish,
think that binaries were not available yet when I reached the
repository first time.
Well, anyways, it looks like no GUI is present. The following error
raises, since (and I checked) no /usr/lib/grass70/etc/gui directory
was created.
...
python: can't open file
'/usr/lib/grass70/etc/gui/wxpython/gis_set.py': [Errno 2] No such file
or directory
...
Nevertheless, I feel it is getting close...
--
2014-02-03 Hamish <hamish_b@yahoo.com>:
José wrote:
thanks for your quick reply.
My ubuntu is 64bits in fact.
Markus N:
I have no Ubuntu, so I cannot say much here. But we build the snapshot
binaries in a Debian box.
Now I have to build wxpython yet (hope 3.0.0 is supported)
but I would always encourage users who wish to try development versions
of code to build GRASS from source themselves, it's not so bad; these
instructions should work:
Also, the grass70.desktop, the command name should be 'grass70'
instead of 'grass7'.
I'll keep on testing it.
2014-02-04 José Anderson <joseandersonbatista@gmail.com>:
J, H,
the long term supported (LTS) ubuntu up-to-date is 12.04, but
grass-gui is not available to it.
By the way, other grass-gui release number is 6.4 instead of 7.0. Is
that correct to grass 7?
Should 'grass-gui_6.4.2-2build1_amd64.deb' work in ubuntu 12.04?
2014-02-03 Hamish <hamish_b@yahoo.com>:
is the grass-gui package installed?
if so, check files with:
$ dpkg -L grass-gui
Hamish
On Tuesday, February 4, 2014 9:56 AM, José Anderson <joseandersonbatista@gmail.com> wrote:
>T hanks Hamish,
think that binaries were not available yet when I reached the
repository first time.
Well, anyways, it looks like no GUI is present. The following error
raises, since (and I checked) no /usr/lib/grass70/etc/gui directory
was created.
...
python: can't open file
'/usr/lib/grass70/etc/gui/wxpython/gis_set.py': [Errno 2] No such file
or directory
...
Nevertheless, I feel it is getting close...
--
2014-02-03 Hamish <hamish_b@yahoo.com>:
José wrote:
thanks for your quick reply.
My ubuntu is 64bits in fact.
Markus N:
I have no Ubuntu, so I cannot say much here. But we build the snapshot
binaries in a Debian box.
Now I have to build wxpython yet (hope 3.0.0 is supported)
but I would always encourage users who wish to try development versions
of code to build GRASS from source themselves, it's not so bad; these
instructions should work: