id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	platform	cpu
367	g.region segmentation violation when creating EPSG:4326 location	epatton	grass-dev@lists.osgeo.org	"I'm having problems creating a new EPSG:4326 location (latlong, WGS84). This is from a fresh 'make distclean' of Grass 6.4. 

When trying to create a Lat-Long WGS84 location, gis.m aborts as the GIS Manager and Map DIsplay windows are being created, with the following error:

{{{
Error in startup script: can't read ""monitor_zooms(1,1,n)"": no such variable
    while executing
""lappend region $monitor_zooms($mon,1,$attr)""
    (procedure ""MapCanvas::currentzoom"" line 15)
    invoked from within
""MapCanvas::currentzoom $mon""
    (procedure ""MapCanvas::coordconv"" line 23)
    invoked from within
""MapCanvas::coordconv $mon""
    (procedure ""MapCanvas::create"" line 68)
    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.4.svn/etc/gm/gm.tcl"" line 566)
}}}

Here's g.proj output:


{{{
g.proj -p
-PROJ_INFO-------------------------------------------------
name       : Lat/Lon
proj       : ll
datum      : wgs84
ellps      : wgs84
no_defs    : defined
-PROJ_UNITS------------------------------------------------
unit       : degree
units      : degrees
meters     : 1.0
}}}


I am able to enter this newly-created Grass location in text mode. Running ""g.region -p"" from the command line gives ""segmentation fault"".

I only have these errors when trying to create or use a Lat-Long, WGS84 location. My UTM locations seem to be fine.

I've checked that my epsg file is in the correct location where Grass expects it to be (/usr/share/proj/epsg).

Any ideas?

~ Eric.
"	defect	closed	major	6.4.0	Default	svn-develbranch6	fixed	g.region, segmentation fault		Linux	x86-64
