Opened 15 years ago

Closed 15 years ago

#655 closed defect (fixed)

g.manual fails to open a browser

Reported by: landis Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: Docs Version: 6.4.0 RCs
Keywords: g.manual, osgeo4w, wingrass Cc:
CPU: x86-32 Platform: MSWindows XP

Description

Here is a copy of the error message I got.

GRASS 6.4.0svn (nc_spm_08)> g.manual -i Starting browser <C:\Program Files\Mozilla Firefox\firefox.exe> for module index... C:/OSGeo4W/apps/grass/grass-6.4.0svn/scripts/g.manual: C:\Program Files\Mozilla Firefox\firefox.exe: command not found

This happens if I substitute other command names for -i (e.g. g.manual d.rast).

Manually typing in the firefox path in a DOS window successfully opened the browser.

Running 6.4.0svn installed via the OSGeo4W installer.

Change History (13)

comment:1 by hamish, 15 years ago

Keywords: wingrass osgeo4w added
Version: svn-trunk6.4.0 RCs

in reply to:  description comment:2 by hellik, 15 years ago

Replying to landis:

Here is a copy of the error message I got.

GRASS 6.4.0svn (nc_spm_08)> g.manual -i Starting browser <C:\Program Files\Mozilla Firefox\firefox.exe> for module index... C:/OSGeo4W/apps/grass/grass-6.4.0svn/scripts/g.manual: C:\Program Files\Mozilla Firefox\firefox.exe: command not found

This happens if I substitute other command names for -i (e.g. g.manual d.rast).

Manually typing in the firefox path in a DOS window successfully opened the browser.

Running 6.4.0svn installed via the OSGeo4W installer.

WinVista 32 Grass65-svn - self-compiled today in the osgeo4w-tree nc-dataset

g.manual -i                                                                     
Starting browser <C;C:\OSGeo4W\apps\msys\Program Files\Internet Explorer\iexplore.exe> for module index...
(Mon Jul 06 21:09:06 2009) Command finished (126 sec)

and

g.manual -i entry=d.rast                                                        
Starting browser <C;C:\OSGeo4W\apps\msys\Program Files\Internet Explorer\iexplore.exe> for module index...

=> IE is starting

helli

comment:3 by hamish, 15 years ago

Helli wrote:

> Starting browser <C;C:\OSGeo4W\ ...

any idea where the "C;" came from??

(so it works for you in all cases?) if GRASS terminal is a DOS box: what does "echo %GRASS_HTML_BROWSER%" say from the GRASS terminal?

if GRASS terminal is a MSys unix shell: (rxvt/xterm) what does "echo $GRASS_HTML_BROWSER" say from the GRASS terminal?

Hamish

in reply to:  3 ; comment:4 by hellik, 15 years ago

Replying to hamish:

Helli wrote:

> Starting browser <C;C:\OSGeo4W\ ...

any idea where the "C;" came from??

(so it works for you in all cases?) if GRASS terminal is a DOS box: what does "echo %GRASS_HTML_BROWSER%" say from the GRASS terminal?

if GRASS terminal is a MSys unix shell: (rxvt/xterm) what does "echo $GRASS_HTML_BROWSER" say from the GRASS terminal?

Hamish

I'm always starting grass65 from MSYS-console by /osgeo4w/apps/grass/bin/grass65 -wxpython.

"g.manual d.rast" is working from the MSYS-console and also from the wx-gui-commandline and the g.manual-wx-gui by starting the IE and the d.rast-manual.

"echo $GRASS_HTML_BROWSER" in the MSYS-console:

sh: echo C:/Program Files/Internet Explorer/iexplore.exe: No such file or directory

how can i start grass65 in the dos-box?

Helli

in reply to:  4 ; comment:5 by hamish, 15 years ago

Replying to hellik:

I'm always starting grass65 from MSYS-console by /osgeo4w/apps/grass/bin/grass65 -wxpython.

hint- put this in ~/.bashrc:

alias grass_wx='/osgeo4w/apps/grass/bin/grass65 -wxpython'

much less typing.

"echo $GRASS_HTML_BROWSER" in the MSYS-console: sh: echo C:/Program Files/Internet Explorer/iexplore.exe: No such file or directory

(without the "quotes")

but if everything is working for you, not problem. just wondering about the 'C;' at the start of the browser path.

how can i start grass65 in the dos-box?

The OSGeo4W does this - see the OSGeo4W installer/wiki site/osgeo4w grass buglist. It is explained there much better than I know it.

Hamish

in reply to:  5 comment:6 by hellik, 15 years ago

Replying to hamish:

"echo $GRASS_HTML_BROWSER" in the MSYS-console: sh: echo C:/Program Files/Internet Explorer/iexplore.exe: No such file or directory

(without the "quotes"):

C:/Program Files/Internet Explorer/iexplore.exe

Helli

in reply to:  5 ; comment:7 by hellik, 15 years ago

Replying to hamish:

how can i start grass65 in the dos-box?

The OSGeo4W does this - see the OSGeo4W installer/wiki site/osgeo4w grass buglist. It is explained there much better than I know it.

Hamish

i've surfed through http://trac.osgeo.org/osgeo4w/wiki and the bug list, but I couldn't find relevant things. maybe anyone have a hint for this?

best regards Helli

in reply to:  7 comment:8 by hamish, 15 years ago

Replying to hellik:

Replying to hamish:

how can i start grass65 in the dos-box?

The OSGeo4W does this - see the OSGeo4W installer/wiki site/osgeo4w grass buglist. It is explained there much better than I know it.

i've surfed through http://trac.osgeo.org/osgeo4w/wiki and the bug list, but I couldn't find relevant things. maybe anyone have a hint for this?

see comments in http://trac.osgeo.org/osgeo4w/ticket/73 and also osgeo4w tickets # 83, 86, and 90.

or just install GRASS from the OSGeo4W installer and follow the story from the menu item link.

Hamish

comment:9 by martinl, 15 years ago

Keywords: g.manual added; wingrass removed

comment:10 by hamish, 15 years ago

Keywords: wingrass added

please leave "wingrass" keywords intact, wiki wingrass bug lists depend on it.

e.g. wiki:CompileOnWindows#Errata

comment:11 by hellik, 15 years ago

grass64.svn rev39432 self compiled in the osgeo4w-stack

g.manual -i                                                                     
Starting browser <C:\Program Files\Internet Explorer\iexplore.exe> for module index...

the IE is starting correctly

comment:12 by hamish, 15 years ago

The OSGeo4W install does a few things differently than a self-compile. Confirmation is needed from that side before calling this one done.

comment:13 by hamish, 15 years ago

Resolution: fixed
Status: newclosed

calling this one fixed. reopen if needed.

Note: See TracTickets for help on using tickets.