[GRASS-dev] G7 Linux Weekly snapshot

Hi list,
since snapshoot 23-07-2011 I can’t continue testing linux weekly snapshot with wxpython. Wxpython interface start, then close, and stay to GRASS command line.

I identify to error message:

libgrass_raster.7.0 point to wrong folder (it’s in /usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-26_09_2011/lib). There is no way to change it in GRASS initialization file.

wxnviz.py error message: […] errtype = CFUNCTYPE(UNCHECKED(c_int) […] identified a time ago on MS-Windows snapshot where seams to be solved.

Any idea ?
Thanks

Full message error:

syl@emol:~$ grass-7.0.svn-x86_64-unknown-linux-gnu-26_09_2011
GRASS_ADDON_PATH undefined, using ‘/home/syl/.grass7/addons’
Cleaning up temporary files…
Starting GRASS GIS…
Unable to parse settings ‘’ (nviz:light:color:80)
Unable to parse settings ‘bright’ (nviz:light:color:255:255:255)


/ / __ / | / / / / __/ / /
/ / __/ /
/ / /| | _
\
\ / / __ / / _

/ /
/ / , / ___ |
/ /
/ / / /
/ // / / /
_
/
/ |
/
/ |
/
// _///_/

Welcome to GRASS 7.0.svn (2011)

GRASS homepage: http://grass.osgeo.org
This version running through: 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

Launching ‘wxpython’ GUI in the background, please wait…
GRASS 7.0.svn (SP@PERMANENT):~ > Unable to parse settings ‘’ (nviz:light:color:80)
Unable to parse settings ‘bright’ (nviz:light:color:255:255:255)
3D view mode: /home/neteler/grass7_svn_head_bin_snapshot/trunk/dist.x86_64-unknown-linux-gnu/lib/libgrass_raster.7.0.svn.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):

[…] seem all right […]

File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-26_09_2011/etc/gui/wxpython/gui_modules/wxnviz.py”, line 65, in
errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name ‘UNCHECKED’ is not defined
GRASS 7.0.svn (SP@PERMANENT):~ >

Syltao

On Tue, Oct 4, 2011 at 5:47 PM, Sylvain JM Desmoulière <syltao@gmail.com> wrote:

Hi list,
since snapshoot 23-07-2011 I can't continue testing linux weekly snapshot
with wxpython. Wxpython interface start, then close, and stay to GRASS
command line.
I identify to error message:
libgrass_raster.7.0 point to wrong folder (it's in
/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-26_09_2011/lib). There is
no way to change it in GRASS initialization file.

Does the problem persist with recent snapshots?

Markus

Hello Marcus,

I just try, the grass-7.0.svn-x86_64-unknown-linux-gnu-05_11_2011 tgz with sh script. I execute sh script with the default target directories.

I have the same “NameError: name ‘UNCHECKED’ is not defined” error message.
and:
libgrass_raster.7.0.svn.so is searched in /home/neteler/grass7_svn_…
but is in
/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/lib/

OS is a Debian/squeeze, I only remember I add a symlink few months ago.

Sylvain

Here is the full starting message:


/ / __ / | / / / / __/ / /
/ / __/ /
/ / /| | _
\
\ / / __ / / _

/ /
/ / , / ___ |
/ /
/ / / /
/ // / / /
_
/
/ |
/
/ |
/
// _///_/

Welcome to GRASS 7.0.svn (2011)

GRASS homepage: http://grass.osgeo.org
This version running through: 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

Launching ‘wxpython’ GUI in the background, please wait…
GRASS 7.0.svn (Manaus_SIRGAS_UTM20S@Modis):~ > 3D view mode: /home/neteler/grass7_svn_head_bin_snapshot/trunk/dist.x86_64-unknown-linux-gnu/lib/libgrass_raster.7.0.svn.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/wxgui.py”, line 59, in
from gui_modules import layertree
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/layertree.py”, line 44, in
import toolbars
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/toolbars.py”, line 49, in
from nviz import haveNviz
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/nviz.py”, line 30, in
import nviz_mapdisp
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/nviz_mapdisp.py”, line 44, in
from workspace import Nviz as NvizDefault
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/workspace.py”, line 43, in
import wxnviz
File “/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-05_11_2011/etc/gui/wxpython/gui_modules/wxnviz.py”, line 69, in
errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name ‘UNCHECKED’ is not defined

2011/11/7 Markus Neteler <neteler@osgeo.org>

On Tue, Oct 4, 2011 at 5:47 PM, Sylvain JM Desmoulière <syltao@gmail.com> wrote:

Hi list,
since snapshoot 23-07-2011 I can’t continue testing linux weekly snapshot
with wxpython. Wxpython interface start, then close, and stay to GRASS
command line.
I identify to error message:
libgrass_raster.7.0 point to wrong folder (it’s in
/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-26_09_2011/lib). There is
no way to change it in GRASS initialization file.

Does the problem persist with recent snapshots?

Markus

2011/11/7 Markus Neteler <neteler@osgeo.org>

On Tue, Oct 4, 2011 at 5:47 PM, Sylvain JM Desmoulière <syltao@gmail.com> wrote:

Hi list,
since snapshoot 23-07-2011 I can’t continue testing linux weekly snapshot
with wxpython. Wxpython interface start, then close, and stay to GRASS
command line.
I identify to error message:
libgrass_raster.7.0 point to wrong folder (it’s in
/usr/local/grass7.0.svn-x86_64-unknown-linux-gnu-26_09_2011/lib). There is
no way to change it in GRASS initialization file.

Does the problem persist with recent snapshots?

Markus