[GRASS-dev] Re: [GRASS GIS] #499: fresh windows startup not very friendly

GRASS GIS trac at osgeo.org
Sun Feb 22 22:36:42 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:  Unspecified              
---------------------------+------------------------------------------------
Comment (by hamish):

 Great,

 FWIW here's a post detailing the differences between %HOMEPATH% vs
 %USERPROFILE%, etc:
   http://www.mail-archive.com/bug-cvs@gnu.org/msg05565.html


 still todo:
  - test latest patches on Windows
  - port new helpful hello message to wyPython (mostly for grass7; because
 the default for grass6 is tcltk, if .grassrc6 is missing it will never try
 and start the wxPy startup gui unless you specifically start from the cmd
 line with -wxpython)


 and, 1/2 the initial reason for this bug report:
  - init.bat does no handle UNKNOWN cleanly ("access )
  (init.sh understands what it means and tests for it though).


 starting "grass64 -wxpython" at the osgeo4w dos shell gives a similar
 error (and a loud beep):
 {{{
 access: Invalid arguement
 ERROR: LOCATION << C:"/Docs and Settings/user/Desktop/<UNKNOWN>
     >> not available
 }}}


 ah, I found it. Init.bat was calling clean_temp unconditionally, and
 that's what is giving the error. Patch on its way....


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/499#comment:8>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list