[GRASS-dev] Re: [GRASS GIS] #499: fresh windows startup not very
friendly
GRASS GIS
trac at osgeo.org
Sat Feb 21 15:51:06 EST 2009
#499: fresh windows startup not very friendly
---------------------------+------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass startup
Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by marisn):
* priority: major => minor
Comment:
Replying to [comment:2 hamish]:
> > Tcl/Tk GUI doesn't check presence of .grassrc6 or any other file.
>
> my wish is that it should check for that, and if it isn't found it
should pop up a file system browse window to help you choose/create the
$GISDBASE dir.
Sorry, I was wrong. Actual startup goes like this:
* init.sh checks presence of .grassrc6 or whatever it's called for
current version
* if there is no one, it creates one with GISDBASE=pwd, '<UNKNOWN>'
location etc.
* gis_set.tcl searches for .grassrc6 file and parses it
* after parsing rc file, it validates GISDBASE, location and mapset. As
'<UNKNOWN>' most likely will not be valid location in current directory,
validation procedure displays a warning.
>
> > Probably it would be better to remove completely presetting
> > location etc. in init scripts
>
> no way, that's super useful. just deal with the lack of .grassrc6
gracefully, that's all.
Can You, please, explain usefullines of .grassrc6 file with location
<UNKNOWN> and mapset <UNKNOWN>?
>
> > As goes for GISDBASE creation, I will take a look into this
> > problem later this weekend.
>
> thanks.
Would r35911 make things better? svn up Your develbranch, rm .grassrc6 and
start GRASS. If it's OK, merge to release branch.
Still it may be a good idea to set GISDBASE for first run to user home dir
on windows. Still I have no idea how to do that. And will it work safe
with spaces in path? Do we have windows gurus here? Hamish? Patches
welcome :)
Not RTFMing is not a major GRASS issue. It's PEBKAC. And if windows
doesn't provide multitasking feature (ability to switch to other
application to create simple folder) then is it worth to run GRASS there?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/499#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list