[GRASS-dev] Can't create locations using EPSG codes

Trying to create a new location from the Grass intro screen, using EPSG code
2036 (New Brunswick Double Stereographic)gives the following error:

child process exited abnormally
child process exited abnormally
    while executing
"exec -- $env(GISBASE)/etc/grass-xterm-wrapper -e
$env(GISBASE)/etc/make_location_epsg.sh $epsg_code $epsgLocation $locpath

@stdout 2>@stderr"

    invoked from within
".optPopup.submit invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
"tk::ButtonUp .optPopup.submit"
    (command bound to event)

This error occurs using every EPSG code I'm familiar with. Let's check my
epsg file to make sure 2036 is there:

cd /usr/share/proj
cat epsg | grep "<2036>"
<2036> +proj=stere +lat_0=46.5 +lon_0=-66.5 +k=0.999912 +x_0=2500000
+y_0=7500000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <>

Yup. Can anyone reproduce this error for me? I'm using Ubuntu 6.06.

Thanks,

~ Eric.

Patton, Eric wrote:

Trying to create a new location from the Grass intro screen, using EPSG code
2036 (New Brunswick Double Stereographic)gives the following error:

child process exited abnormally

...

Can anyone reproduce this error for me? I'm using Ubuntu 6.06.

On the same Ubuntu it works for me, uisng 6.3 CVS 2006-10-11. The
location created is:

GRASS 6.3.cvs (test2):~ > g.proj -p
-PROJ_INFO-------------------------------------------------
name : sterea
proj : sterea
a : 6378137
es : 0.006694380022900787
lat_0 : 46.5
lon_0 : -66.5
k : 0.999912
x_0 : 2500000
y_0 : 7500000
towgs84 : 0,0,0,0,0,0,0
no_defs : defined
-PROJ_UNITS------------------------------------------------
unit : metre
units : metres
meters : 1

Maciek

Patton, Eric wrote:
> Trying to create a new location from the Grass intro screen, using
> EPSG code 2036 (New Brunswick Double Stereographic)gives the
> following error:
>
> child process exited abnormally
> while executing
> "exec -- $env(GISBASE)/etc/grass-xterm-wrapper -e
> $env(GISBASE)/etc/make_location_epsg.sh $epsg_code $epsgLocation $locpath >@stdout 2>@stderr"
...
> Can anyone reproduce this error for me? I'm using Ubuntu 6.06.

Maciej Sieczka wrote:

On the same Ubuntu it works for me, uisng 6.3 CVS 2006-10-11. The
location created is:

Works fine for me with 6.2.0rc2 on Debian/stable tcltk 8.3,

Is xterm installed?

$ dpkg -s xterm

Hamish