Re: [GRASS-user] g.list not working on GUI after edit .grassrc6

2009-08-05 Thread Milton Cezar Ribeiro
Hi Nikos  Micha,

Nikos, I tryed:  (it is little different from my post because there I give a
example)

$ /c/OSGeo4W/apps/grass/bin/grass64 -gui
C:/Data/Tibagi/vegPR_probio_proatlan_maio2009/tibagi_Probio_grass_sdb/ne
wLocation/PERMANENT
Cleaning up temporary files ...
Starting GRASS ...
c:/Users/famiglia/C:/Data/Tibagi/vegPR_probio_proatlan_maio2009/tibagi_Probio_grass_sdb/newLocation/PERMANENT:
Not a valid GRASS location
see that besides I grass try start my local from c:/Data/...
grass add c:/Users/famiglia first. Famiglia is the name of my computer.

May be we have a issue to solve here.

Anyway Following the suggestion by Micha (remove .grassrc6)
everything is ok now!!!

Thanks a lot Nikos  Micha!

milton



2009/8/5 Micha Silver mi...@arava.co.il

  Nikos Alexandris wrote:

 On Tue, 2009-08-04 at 19:33 -0400, Milton Cezar Ribeiro wrote:


 Hi Nikos.

 Thanks for the reply.
 Yes, location is included on .grassrc6.

 $ cat .grassrc6
 GISDBASE: C:/Mymapset
 LOCATION_NAME: newLocation
 MAPSET: PERMANENT
 GRASS_GUI: tcltk

 Any other idea?!

 cheers
 milton


 Milton,

 from your previous post in the other thread it seems that you do not
 define the location/mapset [1]. Did you try to start like:
 $ /c/OSGeo4W/apps/grass/bin/grass64 -gui
 C:/Mymapset/newLocation/PERMANENT

 or

 $ /c/OSGeo4W/apps/grass/bin/grass64 -text
 C:/Mymapset/newLocation/PERMANENT





 Also, I think you can just blow away the .grass6rc file and start fresh.
 This way, on starting, GRASS should ask where the GISDBASE is, and offer to
 create locations and mapsets...

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] g.list not working on GUI after edit .grassrc6

2009-08-04 Thread Milton Cezar Ribeiro
Hi Nikos.

Thanks for the reply.
Yes, location is included on .grassrc6.

$ cat .grassrc6
GISDBASE: C:/Mymapset
LOCATION_NAME: newLocation
MAPSET: PERMANENT
GRASS_GUI: tcltk
Any other idea?!

cheers
milton
2009/8/4 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de

  On Tue, 2009-08-04 at 18:30 -0400, Milton Cezar Ribeiro wrote:
  Dear all,
 
  I needed to edit .grassrc6 and set another
  mapset, because the default on .grassrc6
  was on an external hard disk, and I don't have
   it anymore.
 
  After edit .grassrc6 and set another Mapset
  I can startup grass without problem, but now
  when I try select one raster to be displayed,
  the list come empty. It happens with -gui option.
  But with -text I can run g.list rast.
 
  The same occurs for another mapset that I copied
  from one machine to another.
 
  :: grass 6.4 / msys / vista.
 
  Any idea?

 Perhaps a silly question: did you also set the location? Maybe the
 mapset you have set up is not in the Location defined in .grassrc6?

 Nikos



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] g.list not working on GUI after edit .grassrc6

2009-08-04 Thread Nikos Alexandris
On Tue, 2009-08-04 at 19:33 -0400, Milton Cezar Ribeiro wrote:
 Hi Nikos. 
  
 Thanks for the reply.
 Yes, location is included on .grassrc6.
  
 $ cat .grassrc6 
 GISDBASE: C:/Mymapset
 LOCATION_NAME: newLocation
 MAPSET: PERMANENT
 GRASS_GUI: tcltk
 
 Any other idea?!
  
 cheers 
 milton 

Milton,

from your previous post in the other thread it seems that you do not
define the location/mapset [1]. Did you try to start like:
$ /c/OSGeo4W/apps/grass/bin/grass64 -gui
C:/Mymapset/newLocation/PERMANENT

or

$ /c/OSGeo4W/apps/grass/bin/grass64 -text
C:/Mymapset/newLocation/PERMANENT



Anyhow, is there a directory newLocation under C:/Mymapset ?
And within the newLocation there must be the PERMANENT mapset (just
another directory).

Apologies that I insist, but I think (maybe I am wrong but double
checking never hurts) there might be some misunderstanding about
location/mapset. The first level directory is the so-called GRASS-DB.
Then you have within that location(s) and within the location(s) you
have mapset(s).

The way it appears in you other post [1] there is no location at all or
you name(d) the GRASS-DB as Mymapset? Maybe another naming-convention
could be better to avoid confusion with the GRASS-DB (which is just the
central directory containing all grass-stuff).

Sorry if I can't be of any help.
Nikos
---

[1] Copy-Paste from:

Re: [GRASS-user] g.list not working on GUI after edit .grassrc6
Date:   Tue, 4 Aug 2009 19:33:29 -0400 (Wed, 01:33 CEST)

--%---%---%---%---%---%---%---%---%---%---%--
$ /c/OSGeo4W/apps/grass/bin/grass64 -gui C:/Mymapset Cleaning up
temporary files ...
Starting GRASS ...
c:/Users/famiglia/C:/Mymapset: Not a valid GRASS location
 this part is not part of the mapset where I want to
work.
--%---%---%---%---%---%---%---%---%---%---%--


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] g.list not working on GUI after edit .grassrc6

2009-08-04 Thread Micha Silver




Nikos Alexandris wrote:

  On Tue, 2009-08-04 at 19:33 -0400, Milton Cezar Ribeiro wrote:
  
  
Hi Nikos. 
 
Thanks for the reply.
Yes, location is included on .grassrc6.
 
$ cat .grassrc6 
GISDBASE: C:/Mymapset
LOCATION_NAME: newLocation
MAPSET: PERMANENT
GRASS_GUI: tcltk

Any other idea?!
 
cheers 
milton 

  
  
Milton,

from your previous post in the other thread it seems that you do not
define the location/mapset [1]. Did you try to start like:
"$ /c/OSGeo4W/apps/grass/bin/grass64 -gui
C:/Mymapset/newLocation/PERMANENT"

or

"$ /c/OSGeo4W/apps/grass/bin/grass64 -text
C:/Mymapset/newLocation/PERMANENT"



  

Also, I think you can just blow away the .grass6rc file and start
fresh. This way, on starting, GRASS should ask where the GISDBASE is,
and offer to create locations and mapsets... 


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user