[GRASS-user] child process exited abnormally

Hello,

I did a cvs update just a few minutes ago and received this error:

Welcome to GRASS 6.3.cvs (2007)
GRASS homepage: http://grass.itc.it/
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 graphical user interface with: gis.m
When ready to quit enter: exit
child process exited abnormally
GRASS 6.3.cvs (spearfish60):~ > gis.m
GRASS 6.3.cvs (spearfish60):~ > child process exited abnormally

I found various threats mainly with regard to cygwin but no solution.

Tested it using debian stable and unstable.

any ideas how to solve that?

BTW and using the debian rep. grass62 prompted this error:
grass62
/usr/lib/grass/etc/Init.sh: line 237: syntax error near unexpected token `fi'
/usr/lib/grass/etc/Init.sh: line 237: ` fi'

grass
/usr/lib/grass/etc/Init.sh: line 237: syntax error near unexpected token `fi'
/usr/lib/grass/etc/Init.sh: line 237: ` fi'

tomorrow I will delete all GRASS related files in / and do again: make
distclean, /configure, make etc. and try again.

TIA, Martin

Martin Wegmann wrote:

Hello,

I did a cvs update just a few minutes ago and received this error:

Welcome to GRASS 6.3.cvs (2007)
GRASS homepage: http://grass.itc.it/
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 graphical user interface with: gis.m
When ready to quit enter: exit
child process exited abnormally
GRASS 6.3.cvs (spearfish60):~ > gis.m
GRASS 6.3.cvs (spearfish60):~ > child process exited abnormally

I found various threats mainly with regard to cygwin but no solution.

Tested it using debian stable and unstable.

any ideas how to solve that?

does "g.region -p" work from the command line?
"d.rast --ui" ?

BTW and using the debian rep. grass62 prompted this error:
grass62
/usr/lib/grass/etc/Init.sh: line 237: syntax error near unexpected
token `fi' /usr/lib/grass/etc/Init.sh: line 237: ` fi'

known Debian package bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418833

fixed in DebianGIS svn, but not yet re-uploaded to the main Debian
servers.

Hamish

On Thursday 19 April 2007 04:57, Hamish wrote:

Martin Wegmann wrote:
> Hello,
>
> I did a cvs update just a few minutes ago and received this error:
>
> Welcome to GRASS 6.3.cvs (2007)
> GRASS homepage: http://grass.itc.it/
> 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 graphical user interface with: gis.m
> When ready to quit enter: exit
> child process exited abnormally
> GRASS 6.3.cvs (spearfish60):~ > gis.m
> GRASS 6.3.cvs (spearfish60):~ > child process exited abnormally
>
>
> I found various threats mainly with regard to cygwin but no solution.
>
> Tested it using debian stable and unstable.
>
> any ideas how to solve that?

does "g.region -p" work from the command line?

g.region: error while loading shared libraries: libgdal.so.1:

locate libgdal gave me
/usr/local/lib/libgdal.a
/usr/local/lib/libgdal.la
/usr/local/lib/libgdal.so
/usr/local/lib/libgdal.so.1

I added /usr/local/lib in /etc/ld.so.conf and rerun ldconfig.

g.region -p works fine now.

thanks!

"d.rast --ui" ?

works

> BTW and using the debian rep. grass62 prompted this error:
> grass62
> /usr/lib/grass/etc/Init.sh: line 237: syntax error near unexpected
> token `fi' /usr/lib/grass/etc/Init.sh: line 237: ` fi'

known Debian package bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418833

fixed in DebianGIS svn, but not yet re-uploaded to the main Debian
servers.

well, then I have to wait for these packages.

thanks, Martin

Martin Wegmann wrote:

> > BTW and using the debian rep. grass62 prompted this error:
> > grass62
> > /usr/lib/grass/etc/Init.sh: line 237: syntax error near unexpected
> > token `fi' /usr/lib/grass/etc/Init.sh: line 237: ` fi'
>
> known Debian package bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418833
>
> fixed in DebianGIS svn, but not yet re-uploaded to the main Debian
> servers.

well, then I have to wait for these packages.

If you don't want to wait for that you can just edit the installed
$GISBASE/etc/Init.sh and change the "elif" to "else" in the
GRASS_HTML_BROWSER section. Then it'll work.

Hamish