R: R: [GRASS-windows] GRASS 6.3.0RC5
Adam Baker
adamb924 at gmail.com
Thu Mar 20 13:39:11 EDT 2008
Hello all,
First, let me thank you for your help. People like you make open source work.
I uninstalled and reinstalled the software, and reproduced the
original problem (in which nothing happens at all).
As before, I modified grass63.bat so that this line:
GRASS_WISH=wish.exe
Became this:
GRASS_WISH=%GRASSDIR%\tcl-tk\bin\wish.exe
That produced the same error message as before, after trying to open a dataset.
On a hunch, I tried changing GRASS_WISH back to the original value and
adding %GRASSDIR%\tcl-tk\bin to the system path in grass63.bat, and
now the program runs without incident. (I can load datasets, etc.)
So, to summarize for the sake of people encountering this message in
the archive, my net change was to edit grass63.bat to insert this
line:
set PATH=%PATH;%GRASSDIR%\tcl-tk\bin
Just before this line:
set GRASS_WISH=wish.exe
That is probably something that could be changed about the
distribution. (?) I don't know why the problem arises on my system and
not on others, but I don't believe the above would harm anything.
Thanks again,
Adam
On Thu, Mar 20, 2008 at 8:38 AM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 20/03/08 14:45, marco.pasetti at alice.it wrote:
> > Moritz,
> >
> > >Also, before launching GRASS for the first time after re-installation
> > >erase any remaining .grassrc6 files.
> >
> > Sorry, but I don't agree: uninstall procedure automatically erase
> > .grassrc6 file and the new installation creates a brand new .grassrc6
> > file according to user install path;
> > if you erase .grassrc6 file after re-installing GRASS, you'll miss the
> > correct GISBASE configuration
>
> Sorry, I stand corrected. I didn't know that uninstall erases the file.
>
> Moritz
>
>
>
> >
> > Marco
> >
> > ------------------------------------------------------------------------
> > *Da:* Moritz Lennert [mailto:mlennert at club.worldonline.be]
> > *Inviato:* gio 20/03/2008 13.50
> > *A:* marco.pasetti at alice.it
> > *Cc:* Markus Neteler; tabaker at u.arizona.edu;
> > grass-windows at lists.osgeo.org; Michael Barton
> > *Oggetto:* Re: R: [GRASS-windows] GRASS 6.3.0RC5
> >
> > On 20/03/08 12:53, marco.pasetti at alice.it wrote:
> > > Hi Moritz,
> > >
> > > I read the mail yesterday, and I checked it out immediately; all seems
> > > to work fine! I also unistalled and reinstalled winGRASS, to be sure
> > > that at a *first* launch winGRASS works fine... and it is! every time
> > > you install winGRASS installer replaces .grassrc6, so it starts with
> > > predefined location (demolocation);
> > >
> > > I tried with .bat and MSYS *launch*, and it works fine for both.
> > >
> > > Adam, could you please perform another installation of WinGRASS?
> > > uninstall the previous installation before.
> >
> > Also, before launching GRASS for the first time after re-installation
> > erase any remaining .grassrc6 files.
> >
> > Moritz
> >
> > > Thanks
> > >
> > > Marco
> > >
> > > ------------------------------------------------------------------------
> > > *Da:* Moritz Lennert [mailto:mlennert at club.worldonline.be]
> > > *Inviato:* gio 20/03/2008 12.38
> > > *A:* Markus Neteler
> > > *Cc:* tabaker at u.arizona.edu; grass-windows at lists.osgeo.org; Michael
> > > Barton; marco.pasetti at alice.it
> > > *Oggetto:* Re: [GRASS-windows] GRASS 6.3.0RC5
> > >
> > > On 20/03/08 11:01, Markus Neteler wrote:
> > > > On Thu, Mar 20, 2008 at 12:12 AM, Moritz Lennert
> > > > <mlennert at club.worldonline.be> wrote:
> > > >> On 19/03/08 23:38, Adam Baker wrote:
> > > >> > On Wed, Mar 19, 2008 at 3:23 PM, Moritz Lennert
> > > >> > <mlennert at club.worldonline.be> wrote:
> > > >> >> On 19/03/08 17:12, Adam Baker wrote:
> > > >> >> > Hi, thanks for responding.
> > > >> >> >
> > > >> >> > I do have that file, C:\GRASS\tcl-tk\bin\wish.exe. When I run
> > > it a
> > > >> >> > "console" and a "wish" window pop up.
> > > >> >> >
> > > >> >> > My grass63.bat file has a line:
> > > >> >> > set GRASS_WISH=wish.exe
> > > >> >> > I made a guess and changed it to:
> > > >> >> > set GRASS_WISH=C:\GRASS\tcl-tk\bin\wish.exe
> > > >> >> >
> > > >> >> > That got me farther: the GRASS startup window appears.
> > > However, this
> > > >> >> > message is printed to the console:
> > > >> >> >
> > > >> >> > access: Invalid argument
> > > >> >> > ERROR: LOCATION << C:/GRASS/<UNKNOWN> >> not available
> > > >> >> >
> > > >> >> > And I get a Tcl-looking pop-up box that reads, "Warning:
> > location
> > > >> >> > <<UNKNOWN>> at GISDBASE <C:/GRASS> is not a directory or
> > does not
> > > >> >> > exist." When I close that, nothing seems wrong (but I wouldn't
> > > >> >> > necessarily know, since this is my first interaction the
> > > program).
> > > >> >>
> > > >> >> Nothing is wrong, just GRASS telling you that it doesn't have
> > > correct
> > > >> >> information about a location to use, which is normal for a first
> > > >> >> startup. We absolutely have to fix this as it is scary enough
> > > to make
> > > >> >> people belief something is seriously wrong.
> > > >> >>
> > > >> >> You should not see this message again the next time you run
> > GRASS.
> > > >> >>
> > > >> >> Moritz
> > > >> >>
> > > >> >>
> > > >> >
> > > >> > Hi,
> > > >> >
> > > >> > I did get that message multiple times, but it went away after I
> > > >> > changed the "GIS Data Directory" field to C:/GRASS/GIS DataBase.
> > > >>
> > > >> Yes, sorry. I meant that once you have entered grass
> > successfully once
> > > >> and exited it again, the message should not appear anymore.
> > > >>
> > > >>
> > > >> > Thereafter, if I select a "Project Location" and "Accessible
> > Mapset"
> > > >> > and then "Enter GRASS," I get the message "Error setting region:
> > > >> > child killed: unknown signal." Then another pop-up window with a
> > > >> > lengthy message ("can't read "parts(w)": no such variable....")
> > > >> > appears. Any idea about that? I can type out the whole thing if
> > > >> > necessary.
> > > >>
> > > >> My first guess would be that GRASS cannot find a nececssary
> > library...
> > > >
> > > > The error
> > > > can't read "parts(w)": no such variable....
> > > >
> > > > is usually related to GDAL-not-found.
> > > >
> > > > Try
> > > > g.region -p
> > > > in GRASS to see what it says.
> > > >
> > > > This happens often, e.g.
> > > >
> > http://www.nabble.com/cvs---error-Ubuntu-7.10-td13859038.html#a13876447
> > > > I don't understand why error catching on this fails again (it
> > worked for
> > > > a while!).
> > >
> > > I'm not sure it ever worked in wingrass. Another todo...
> > >
> > > Marco, could you check on this when you have the time again ? I suppose
> > > your package contains the necessary libraries ?
> > >
> > >
> > > Moritz
> > >
> >
>
>
>
More information about the grass-windows
mailing list