Opened 10 years ago

Closed 10 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 Changed 10 years ago by hamish

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

comment:2 in reply to:  description Changed 10 years ago by hellik

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 Changed 10 years ago by 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

comment:4 in reply to:  3 ; Changed 10 years ago by hellik

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

comment:5 in reply to:  4 ; Changed 10 years ago by hamish

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

comment:6 in reply to:  5 Changed 10 years ago by hellik

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

comment:7 in reply to:  5 ; Changed 10 years ago by 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.

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

comment:8 in reply to:  7 Changed 10 years ago by hamish

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 Changed 10 years ago by martinl

Keywords: g.manual added; wingrass removed

comment:10 Changed 10 years ago by hamish

Keywords: wingrass added

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

e.g. wiki:CompileOnWindows#Errata

comment:11 Changed 10 years ago by hellik

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 Changed 10 years ago by hamish

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 Changed 10 years ago by hamish

Resolution: fixed
Status: newclosed

calling this one fixed. reopen if needed.

Note: See TracTickets for help on using tickets.