[GRASS-user] gis.m, d.m and nviz failing

Michael Barton michael.barton at asu.edu
Fri Nov 3 10:55:09 EST 2006


Henning,

These are symptomatic of some kind of larger issue going on with your GRASS
installation. The immediate cause of the error when you start the current
GIS Manager (gis.m) is that g.region is not reporting any region
information. But the ultimate cause is likely to be something else. In the
old GIS Manager (d.m) and nviz, it certainly looks like there is some kind
of issue in your gdal installation (perhaps not compiled with GRASS
support???). I would hazard a guess that some critical dependencies are not
installed or got installed incorrectly in spite of your efforts.

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

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


> From: Henning Lorenz <henning.lorenz at geo.uu.se>
> Date: Fri, 03 Nov 2006 10:36:49 +0100
> To: <grassuser at grass.itc.it>
> Subject: [GRASS-user] gis.m, d.m and nviz failing
> 
> Hi!
> 
> There are several posts on the list about gis.m failing at startup.
> Unfortunately, I couldn't find a discussion of the reasons and possible
> solutions. For me this together with failing d.m and nviz occurs after
> an upgrade from Ubuntu 6.06 (glibc 2.3.6) to 6.10 (glibc 2.4.0). This
> occurs for grass versions 6.2.0 and 6.3cvs (6.0 works) and is not
> dependent on the tcl/tk version (I compiled it against 8.3 and 8.4). Two
> of the errors mention problems with gdal. Gdal however is in place and
> these errors occur both with the gdal-1.3.1 debian package and
> gdal-1.3.2 compiled on my computer (and the respective version of
> gdal-grass).
> 
> Starting gis.m results in:
>> GRASS 6.2.0 (Arctic):~ > gis.m
>> GRASS 6.2.0 (Arctic):~ > 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/local/grass-6.2.0/etc/gm/gm.tcl" line 521)
> Starting d.m results in:
>> GRASS 6.2.0 (Arctic):~ > d.m
>> GRASS 6.2.0 (Arctic):~ > Error in startup script: ps.map: error while
>> loading shared libraries: libgdal.so.1: cannot open shared object
>> file: No such file or directory
>>     while executing
>> "exec ps.map -p"
>>     (procedure "DmPrint::init" line 14)
>>     invoked from within
>> "DmPrint::init"
>>     (procedure "main" line 34)
>>     invoked from within
>> "main $argc $argv"
>>     (file "/usr/local/grass-6.2.0/etc/dm/d.m.tcl" line 1637)
> Starting nviz results in:
>> GRASS 6.2.0 (Arctic):~ > nviz
>> nviz: error while loading shared libraries: libgdal.so.1: cannot open
>> shared object file: No such file or directory
> Has anybody similar problems and perhaps a solution?
> 
> Cheers,
> 
> Henning
> 
> -- 
> Henning Lorenz
> Uppsala University
> Department of Earth Sciences
> Villavägen 16
> 752 36 Uppsala
> Sweden
> phone:  +46 (0)18 471 71 61
> mobile: +46 (0)733 622 655
> fax:    +46 (0)18 50 11 10
> e-mail: henning.lorenz at geo.uu.se
> 
> GnuPG-key:
> http://blackhole.pca.dfn.de:11371/pks/lookup?op=index&search=Henning+Lorenz
> 
> 
> 
> 





More information about the grass-user mailing list