[GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

Hamish hamish_b at yahoo.com
Sun Jul 26 09:01:28 EDT 2009


Frank Bilki wrote:
> Subject: Re: [GRASS-user] g.manual tries to run C:\Program Files\Internet Exporer\iexplore (the 'L' is missing from 'Explorer')

this is osgeo4w bug #86,

http://trac.osgeo.org/osgeo4w/wiki/pkg-grass#Errata
https://trac.osgeo.org/grass/wiki/CompileOnWindows
https://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/mswindows

I think it is fixed but the osgeo4w GRASS package is so far
out of date now & so untested..


> Thanks for the suggestion and the link to the changeset. It
> turns out I had
> already made that change, having also discovered
> grass64.bat after editing
> grass.bat. 

the osgeo4w installer adds a few extra layers of "grass.bat"s
on its own, some of which are created by the nsi scripts in
the mswindows/ dir of the source code.


> That particular command was commented out in my version; I
> tried un-commenting it but I still got the same error.
> 
> The relevant contents of my two batch files are:
> 
> C:\OSGeo4W\bin\grass64.bat
> --------------------------
> ...
> rem Path to your web browser
> rem set
> GRASS_HTML_BROWSER=%SYSTEMDRIVE%\PROGRA~1\INTERN~1\IEXPLORE.EXE
> ...
> 
> I also tried changing the above statement to:
> set GRASS_HTML_BROWSER=%PROGRAMFILES%\Internet
> Explorer\iexplore.exe
> 
> but I still got the same error.
> 
> C:\OSGeo4W\etc\ini\grass.bat
> ----------------------------
> ...
> set GRASS_HTML_BROWSER=%PROGRAMFILES%\Internet
> Explorer\iexplore
> ...
> 
> I can confirm that grass.bat is executed, but it also
> appears to be
> overridden by grass64.bat (I can tell because the g.manual
> error contains
> "iexplorer.exe" rather than just "iexplore").

fwiw, mswindows/GRASS-Installer.nsi in the source code sets
it to iexplore.exe

> After some investigation I also found another copy of
> grass64.bat at
> C:\OSGeo4W\apps\grass\bin, however the second copy does not
> appear to be
> executed and is missing several statements.
> 
> The operation and purpose of all the batch files isn't
> clear to me at the
> moment but I will help where I can to diagnose the
> problem.


try reading through the osgeo4w bug reports and changes linked
above, JEF has explained a bit how their setup works in those
tickets.


good luck,
Hamish

ps - I'll be offline and unable to help for a while



      



More information about the grass-user mailing list