[GRASS-dev] [GRASS GIS] #655: g.manual fails to open a browser

#655: g.manual fails to open a browser
--------------------+-------------------------------------------------------
Reporter: landis | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Docs | Version: svn-trunk
Keywords: | Platform: MSWindows XP
      Cpu: x86-32 |
--------------------+-------------------------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by hamish):

  * keywords: => wingrass, osgeo4w
  * version: svn-trunk => 6.4.0 RCs

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/655#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [ticket:655 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/655#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:3 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hamish):

Replying to [comment:4 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:5 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:5 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hamish):

Replying to [comment:7 hellik]:
> Replying to [comment:5 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: g.manual, osgeo4w
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by martinl):

  * keywords: wingrass, osgeo4w => g.manual, osgeo4w

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: g.manual, osgeo4w, wingrass
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by hamish):

  * keywords: g.manual, osgeo4w => g.manual, osgeo4w, wingrass

Comment:

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

e.g. wiki:CompileOnWindows#Errata

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: g.manual, osgeo4w, wingrass
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/655#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: | Keywords: g.manual, osgeo4w, wingrass
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/655#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>

#655: g.manual fails to open a browser
---------------------------+------------------------------------------------
  Reporter: landis | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: Docs | Version: 6.4.0 RCs
Resolution: fixed | Keywords: g.manual, osgeo4w, wingrass
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * resolution: => fixed

Comment:

calling this one fixed. reopen if needed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/655#comment:13&gt;
GRASS GIS <http://grass.osgeo.org>