Re: grass-user Digest, Vol 42, Issue 14

5 messages Options
Embed this post
Permalink
margherita

Re: grass-user Digest, Vol 42, Issue 14

Reply Threaded More More options
Print post
Permalink
Michael,

thank you for answering. I tried to remove and then reinstall gdal and proj4, then recompiled grass, with the same result. In text mode, grass works and answers at :

GRASS 6.5.svn (spearfish60):~ > g.region -gp
n=4928000
s=4914020
w=590010
e=609000
nsres=30
ewres=30
rows=466
cols=633
cells=294978

but in tclck i have the same problem i had before.

Margherita



Date: Wed, 7 Oct 2009 09:11:04 -0700
From: Michael Barton <[hidden email]>
Subject: Re: [GRASS-user] gis.m crashes at startup
To: "[hidden email]" <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes




On Oct 7, 2009, at 9:00 AM, [hidden email] wrote:

> Date: Wed, 7 Oct 2009 16:56:17 +0200
> From: Margherita Di Leo <[hidden email]>
> Subject: [GRASS-user] gis.m crashes at startup
> To: [hidden email]
> Message-ID:
>       <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi List!
>
> I've a problem running grass 6.5 svn on Ubuntu 8.04 64 bit (just
> installed).
>
> When entering a location, gis.m crashes and in terminal it writes:
>
> GRASS 6.5.svn (brenta):~ > Error in startup script: can't read
> "prj(proj)":
> no such variable
>    while executing
> "if { $prj(proj) == "ll"} {set proj_is_ll 1}"
>    (procedure "MapCanvas::get_mapunits" line 22)
>    invoked from within
> "MapCanvas::get_mapunits"
>    (procedure "MapCanvas::create" line 37)
>    invoked from within
> "MapCanvas::create"
>    (procedure "Gm::startmon" line 11)
>    invoked from within
> "Gm::startmon"
>    (procedure "Gm::create" line 79)
>    invoked from within
> "Gm::create"
>    (procedure "main" line 30)
>    invoked from within
> "main $argc $argv"
>    (file "/usr/local/grass-6.5.svn/etc/gm/gm.tcl" line 602)
>
> Any idea?

You probably have a problem with your installation of gdal. In the
terminal, try g.region -gp. This probably won't work, indicating a
gdal (or possible PROJ) problem.

Michael





_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
hamish-2

Re: Re: grass-user Digest, Vol 42, Issue 14

Reply Threaded More More options
Print post
Permalink
Margherita wrote:

> thank you for answering. I tried to remove and then
> reinstall gdal and proj4, then recompiled grass, with the
> same result. In text mode, grass works and answers at :
>
> GRASS 6.5.svn (spearfish60):~ > g.region -gp
>
> n=4928000
> s=4914020
> w=590010
> e=609000
> nsres=30
> ewres=30
> rows=466
> cols=633
> cells=294978
>
> but in tclck i have the same problem i had before.
...
> > I've a problem running grass 6.5 svn on Ubuntu 8.04 64 bit (just
> > installed).


are you using the packages from ppa.launchpad.net/ubuntugis ?


> > When entering a location, gis.m crashes and in terminal it writes:
> >
> > GRASS 6.5.svn (brenta):~ > Error in startup script: can't read
> > "prj(proj)": no such variable
> >    while executing
> > "if { $prj(proj) == "ll"} {set proj_is_ll 1}"
> >    (procedure "MapCanvas::get_mapunits" line 22)


what does "g.proj -p" say?



Hamish




_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
margherita

Re: Re: grass-user Digest, Vol 42, Issue 14

Reply Threaded More More options
Print post
Permalink
Hi Hamish,

2009/10/9 Hamish <[hidden email]>

> > I've a problem running grass 6.5 svn on Ubuntu 8.04 64 bit (just
> > installed).


are you using the packages from ppa.launchpad.net/ubuntugis ?

no, i used http://les-ejk.cz/ubuntu/ (for Hardy).


> > When entering a location, gis.m crashes and in terminal it writes:
> >
> > GRASS 6.5.svn (brenta):~ > Error in startup script: can't read
> > "prj(proj)": no such variable
> >    while executing
> > "if { $prj(proj) == "ll"} {set proj_is_ll 1}"
> >    (procedure "MapCanvas::get_mapunits" line 22)


what does "g.proj -p" say?

GRASS 6.5.svn (spearfish60):~ > g.proj -p
-PROJ_INFO-------------------------------------------------
name       : UTM
datum      : nad27
nadgrids   : conus
proj       : utm
ellps      : clark66
a          : 6378206.4000000004
es         : 0.0067686580
f          : 294.9786982000
zone       : 13
-PROJ_UNITS------------------------------------------------
unit       : meter
units      : meters
meters     : 1.0
 


Hamish



Thank you.

Margherita


_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
hamish-2

Re: Re: grass-user Digest, Vol 42, Issue 14

Reply Threaded More More options
Print post
Permalink
strange. no idea why the parsing fails.


Hamish




--- On Fri, 9/10/09, Margherita Di Leo <[hidden email]> wrote:

> From: Margherita Di Leo <[hidden email]>
> Subject: Re: [GRASS-user] Re: grass-user Digest, Vol 42, Issue 14
> To: "Hamish" <[hidden email]>
> Cc: [hidden email]
> Received: Friday, 9 October, 2009, 8:12 PM
> Hi Hamish,
>
> 2009/10/9 Hamish <[hidden email]>
>
>
>
> > > I've a problem running grass
> 6.5 svn on Ubuntu 8.04 64 bit (just
>
> > > installed).
>
>
>
>
>
> are you using the packages from ppa.launchpad.net/ubuntugis
> ?
>
> no, i used http://les-ejk.cz/ubuntu/
> (for Hardy).
>
>
>
>
>
>
> > > When entering a location, gis.m crashes and in
> terminal it writes:
>
> > >
>
> > > GRASS 6.5.svn (brenta):~ > Error in startup
> script: can't read
>
> > > "prj(proj)": no such variable
>
> > >    while executing
>
> > > "if { $prj(proj) == "ll"} {set
> proj_is_ll 1}"
>
> > >    (procedure
> "MapCanvas::get_mapunits" line 22)
>
>
>
>
>
> what does "g.proj -p" say?
>
>
> GRASS 6.5.svn (spearfish60):~ >
> g.proj -p
> -PROJ_INFO-------------------------------------------------
> name       : UTM
> datum      : nad27
> nadgrids   : conus
>
> proj       : utm
> ellps      : clark66
> a          : 6378206.4000000004
> es         : 0.0067686580
> f          : 294.9786982000
> zone       : 13
> -PROJ_UNITS------------------------------------------------
>
> unit       : meter
> units      : meters
> meters     : 1.0
>  
>
>
>
>
> Hamish
>
>
>
>
>
>
> Thank you.
>
> Margherita
>
>
>



_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
DevonDan

Re: grass-user Digest, Vol 42, Issue 14

Reply Threaded More More options
Print post
Permalink
In reply to this post by margherita
I'm having the same problem with 6.4 (using Windows 7). I get the start up screen, but on trying to enter GRASS, I get:

can't read "prj(proj)": no such variable
    while executing
"if { $prj(proj) == "ll"} {set proj_is_ll 1}"
   (procedure "MapCanvas::get_mapunits" line 22)
   invoked from within
"MapCanvas::get_mapunits"
   (procedure "MapCanvas::create" line 37)
   invoked from within
"MapCanvas::create"
   (procedure "Gm::startmon" line 11)
   invoked from within
"Gm::startmon"
   (procedure "Gm::create" line 79)
   invoked from within
"Gm::create"
   (procedure "main" line 30)
   invoked from within
"main $argc $argv"
   (file "C:\GRASS-64\etc\gm\gm.tcl" line 566)

> You probably have a problem with your installation of gdal. In the
> terminal, try g.region -gp. This probably won't work, indicating a
> gdal (or possible PROJ) problem.

I tried this and it doesn't work. The system error I get from this that the machine can't find libintl3.dll so somewhere during the install, this dll (at least) isn't being registered.

Does anyone have any suggestions of how to fix this?

Thanks in advance,
Dan