[GRASS-dev] [bug #5332] (grass) crashed when i load a project

this bug's URL: http://intevation.de/rt/webrt?serial_num=5332
-------------------------------------------------------------------------

Subject: crashed when i load a project

Platform: GNU/Linux/x86_64
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.2.0-1

Grass crashed when i will load the "spearfish60" project.

WELCOME TO GRASS Version 6.2.0 2006

   1) Have at your side all available GRASS tutorials

   2) When working on your location, the following materials
      are extremely useful:
      - A topo map of your area
      - Current catalog of available computer maps

   3) Check the GRASS webpages for feedback mailinglists and more:
      http://grass.itc.it/
      http://grass.ibiblio.edu/

Hit RETURN to continue

Starting GRASS ...

Welcome to GRASS 6.2.0 (2006)
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
GRASS 6.2.0 (spearfish60):~ > Error in startup script: can't read "parts(n)": no such variable
    while executing
"MapCanvas::zoom_new $mon $parts(n) $parts(s) $parts(e) $parts(w) $parts(nsres) $parts(ewres)"
    (procedure "MapCanvas::zoom_gregion" line 11)
    invoked from within
"MapCanvas::zoom_gregion $mon"
    (procedure "MapCanvas::create" line 40)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 69)
    invoked from within
"Gm::create"
    (procedure "main" line 30)
    invoked from within
"main $argc $argv"
    (file "/usr/grass-6.2.0/etc/gm/gm.tcl" line 521)
GRASS 6.2.0 (spearfish60):~ >

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=5332
---------------------------------------------------------------------

Subject: crashed when i load a project

Platform: GNU/Linux/x86_64
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.2.0-1

Grass crashed when i will load the "spearfish60" project.

..

Starting GRASS ...

Welcome to GRASS 6.2.0 (2006)
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
GRASS 6.2.0 (spearfish60):~ > Error in startup script: can't read
"parts(n)": no such variable
    while executing
"MapCanvas::zoom_new $mon $parts(n) $parts(s) $parts(e) $parts(w)
$parts(nsres) $parts(ewres)"

...

g.region failed, probably because you don't have the required libraries
installed. (did you install the GDAL package(s)?)

http://grass.ibiblio.org/grass61/source/REQUIREMENTS.html

We need to catch that error better so this will send a more meaningful
error message. see:
  http://thread.gmane.org/gmane.comp.gis.grass.devel/16761/focus=16850

IMO we should try and fix this for the 6.2.1 release, as it is a very
common mistake.

Hamish

This is probably a symptom of GDAL not being installed properly.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Sat, 25 Nov 2006 20:43:19 +0100 (CET)
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] [bug #5332] (grass) crashed when i load a project

this bug's URL: http://intevation.de/rt/webrt?serial_num=5332
-------------------------------------------------------------------------

Subject: crashed when i load a project

Platform: GNU/Linux/x86_64
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.2.0-1

Grass crashed when i will load the "spearfish60" project.

WELCOME TO GRASS Version 6.2.0 2006

   1) Have at your side all available GRASS tutorials

   2) When working on your location, the following materials
      are extremely useful:
      - A topo map of your area
      - Current catalog of available computer maps

   3) Check the GRASS webpages for feedback mailinglists and more:
      http://grass.itc.it/
      http://grass.ibiblio.edu/

Hit RETURN to continue

Starting GRASS ...

Welcome to GRASS 6.2.0 (2006)
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
GRASS 6.2.0 (spearfish60):~ > Error in startup script: can't read "parts(n)":
no such variable
    while executing
"MapCanvas::zoom_new $mon $parts(n) $parts(s) $parts(e) $parts(w)
$parts(nsres) $parts(ewres)"
    (procedure "MapCanvas::zoom_gregion" line 11)
    invoked from within
"MapCanvas::zoom_gregion $mon"
    (procedure "MapCanvas::create" line 40)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 69)
    invoked from within
"Gm::create"
    (procedure "main" line 30)
    invoked from within
"main $argc $argv"
    (file "/usr/grass-6.2.0/etc/gm/gm.tcl" line 521)
GRASS 6.2.0 (spearfish60):~ >

-------------------------------------------- Managed by Request Tracker