Details Ticket 5332


Comment | Reply | Take | Open


Serial Number 5332
Subject crashed when i load a project
Area grass6
Queue grass
Requestors David.Emmenegger@gmx.ch
Owner none
Status resolved
Last User Contact Mon Nov 27 11:53:53 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Nov 27 11:53:53 2006 (2 yr ago)
Created Sat Nov 25 20:43:19 2006 (2 yr ago)

Transaction History Ticket 5332


Sat, Nov 25 2006 20:43:19    Request created by guest  
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):~ > 
Sat, Nov 25 2006 23:51:03    Mail sent by mneteler  
Hi,

the error
"Error in startup script: can't read "parts(n)": no such variable"
is unfortunately a bit misleading and originates from a different
problem.

Can you please enter
  g.region -p
into the command line and report which error appears? 

Internally in gis.m, the g.region command is executed and the
result parsed using the "parts()" function (file mapcanvas.tcl).
If g.region fails due to an installation problem, the reported
error appears.

Markus
Sun, Nov 26 2006 18:15:55    Mail sent by David.Emmenegger@gmx.ch  
Return-Path <david.emmenegger@gmx.ch>
Delivered-To grass-bugs@lists.intevation.de
X-Authenticated #2043372
Subject Re: [bug #5332] (grass) crashed when i load a project
From David Emmenegger <David.Emmenegger@gmx.ch>
To Markus Neteler via RT <grass-bugs@intevation.de>
In-Reply-To <20061125225103.0545E1006AA@lists.intevation.de>
References <20061125225103.0545E1006AA@lists.intevation.de>
Content-Type text/plain
Date Sun, 26 Nov 2006 18:18:53 +0100
Message-Id <1164561533.21101.8.camel@localhost.localdomain>
Mime-Version 1.0
X-Mailer Evolution 2.8.1.1 (2.8.1.1-3.fc6)
Content-Transfer-Encoding 7bit
X-Y-GMX-Trusted 0
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Hello,

Thanks for the fast answer. After i tried some time to fix it, i
installed Grass a second time. Now it work's!

David 

Am Samstag, den 25.11.2006, 23:51 +0100 schrieb Markus Neteler via RT:
> Hi,
> 
> 
> 
> the error
> 
> "Error in startup script: can't read "parts(n)": no such variable"
> 
> is unfortunately a bit misleading and originates from a different
> 
> problem.
> 
> 
> 
> Can you please enter
> 
>   g.region -p
> 
> into the command line and report which error appears? 
> 
> 
> 
> Internally in gis.m, the g.region command is executed and the
> 
> result parsed using the "parts()" function (file mapcanvas.tcl).
> 
> If g.region fails due to an installation problem, the reported
> 
> error appears.
> 
> 
> 
> Markus
> 
> -------------------------------------------- Managed by Request Tracker


Sun, Nov 26 2006 18:59:40    Status changed to resolved by msieczka  
Sun, Nov 26 2006 18:59:40    Mail sent by msieczka  
Glad to hear you've got it working! Closing report.

Cheers,
Maciek
Mon, Nov 27 2006 02:42:40    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 27 Nov 2006 14:42:24 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it, JerryNelson <gnelson@uiuc.edu>, grassuser@grass.itc.it
Subject Re: [GRASS-dev] [bug #5332] (grass) crashed when i load a project
Message-Id <20061127144224.3f39fe39.hamish_nospam@yahoo.com>
In-Reply-To <20061125194319.242FE1005CC@lists.intevation.de>
References <20061125194319.242FE1005CC@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-2.3 tagged_above=-999 required=3 tests=[BAYES_00=-5, FORGED_YAHOO_RCVD=2.7]
X-Spam-Level
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


Mon, Nov 27 2006 02:42:40    Status changed to open by _rt_system  
Mon, Nov 27 2006 07:15:49    Mail sent by michael.barton@asu.edu  
Return-Path <michael.barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.5.060620
Date Sun, 26 Nov 2006 23:15:40 -0700
Subject Re: [GRASS-dev] [bug #5332] (grass) crashed when i load a project
From Michael Barton <michael.barton@asu.edu>
To Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
Message-ID <C18FD09C.11548%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #5332] (grass) crashed when i load a project
Thread-Index AccR63YdtOcseH3eEduMEQAKlXAweg==
In-Reply-To <20061125194319.242FE1005CC@lists.intevation.de>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.752 tagged_above=-999 required=3 tests=[BAYES_00=-5, RCVD_NUMERIC_HELO=1.248]
X-Spam-Level
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
> 
> 


Mon, Nov 27 2006 11:53:53    Status changed to resolved by msieczka  
Mon, Nov 27 2006 11:53:53    Mail sent by msieczka  
This issue was fixed by the user and was closed yesterday. Please verify
before you post to bugtracker, as any such posting will re-open a resolved
ticket, so it has to be checked and closed again.

Michael,

Please start cutting your posts. Look at the
https://intevation.de/rt/webrt?serial_num=5332 at the bottom - out of the 87
lines you sent only 1 is relevant.

Maciek
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request