Fri, Oct 6 2006
11:11:23
|
|
Request created by guest
|
|
Subject: Error in start up script
Platform: WindowsNT/2000/XP
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.3.cvs (2006)
Hello,
When I open the spearfish sample mapset I get this error:
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........
When I was installing and I launched 'inst_grass.bat' I obtained an error which
said something like: <Connection rejected by peer> so I downloaded the files
included in the 'gnuwin32_pkgs' and 'grass_pkgs' variables one by one and unzipped
them into 'c:\msys\1.0\local'. After that, I have launched the last lines of
the script, modifying it so that it jumps to:
copy \inst_grass\grass.bat \msys\1.0
copy \inst_grass\grass.ico \msys\1.0
\msys\1.0\bin\grep "PATH=.*/mingw/bin" \msys\1.0\etc\profile > nul
if %errorlevel% == 1 \msys\1.0\bin\sed "s/PATH=/PATH=C:\\\\mingw\\\\bin;/" \inst_grass\grass.bat
> \msys\1.0\grass.bat
...
...
...
I guess there is something wrong with the installation. I hope I don't have to
repeat all the installation, do I? Can you help me, please?
Thank you.
Juan Carlos.
|
|
Fri, Oct 6 2006
17:48:25
|
|
Mail sent by mlennert@club.worldonline.be
|
|
Return-Path |
<mlennert@club.worldonline.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<45267ADB.7090508@club.worldonline.be>
|
Date |
Fri, 06 Oct 2006 17:48:43 +0200
|
From |
Moritz Lennert <mlennert@club.worldonline.be>
|
User-Agent |
Thunderbird 1.5.0.7 (X11/20060915)
|
MIME-Version |
1.0
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it, Huidae Cho <grass4u@gmail.com>
|
Subject |
Re: [GRASS-dev] [bug #5189] (grass) Error in start up script
|
References |
<20061006091123.CB8301005C1@lists.intevation.de>
|
In-Reply-To |
<20061006091123.CB8301005C1@lists.intevation.de>
|
Content-Type |
text/plain; charset=ISO-8859-1; format=flowed
|
Content-Transfer-Encoding |
7bit
|
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 |
|
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5189
> -------------------------------------------------------------------------
>
> Subject: Error in start up script
>
> Platform: WindowsNT/2000/XP
> grass obtained from: Mirror of Trento site
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: 6.3.cvs (2006)
>
> Hello,
>
> When I open the spearfish sample mapset I get this error:
>
> 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)"(procedur
e
"MapCanvas::zoom_gregion" line 11)invoked from within........
>
> When I was installing and I launched 'inst_grass.bat' I obtained an error which
said something like: <Connection rejected by peer> so I downloaded the files
included in the 'gnuwin32_pkgs' and 'grass_pkgs' variables one by one and unzipped
them into 'c:\msys\1.0\local'. After that, I have launched the last lines of
the script, modifying it so that it jumps to:
>
> copy \inst_grass\grass.bat \msys\1.0
> copy \inst_grass\grass.ico \msys\1.0
> \msys\1.0\bin\grep "PATH=.*/mingw/bin" \msys\1.0\etc\profile > nul
> if %errorlevel% == 1 \msys\1.0\bin\sed "s/PATH=/PATH=C:\\\\mingw\\\\bin;/"
\inst_grass\grass.bat > \msys\1.0\grass.bat
> ...
> ...
> ...
>
> I guess there is something wrong with the installation. I hope I don't have
to repeat all the installation, do I? Can you help me, please?
Did you install PostgreSQL ? I had such an error when I didn't install
PostgreSQL, since all modules are compiled with the dependency for
pg.dll and the above error came from the fact that g.region didn't run
because of that missing dependency.
Really time to recompile the windows binaries without PostgreSQL
dependency...
Moritz
>
> Thank you.
> Juan Carlos.
>
>
>
>
>
>
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
|
|
Thu, Nov 30 2006
18:37:34
|
|
Mail sent by mneteler
|
|
The parts(n) problem has been addressed now in CVS. Now a
reasonable error messages appears. The problem is related
to a non-functioning 'g.region' due to an installation
problem.
What happens, if you enter
g.region -p
into the command line?
Markus
|
|
Wed, May 9 2007
21:22:54
|
|
Status changed to resolved by mneteler
|
|
Wed, May 9 2007
21:22:54
|
|
Mail sent by mneteler
|
|
No asnwer, so I assume that the problem is solved. Feel free to re-open.
Markus |
|