[GRASS-dev] [GRASS GIS] #501: wxgui: g.message getting squashed

#501: wxgui: g.message getting squashed
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.message | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------+----------------------------------------------------
Hi,

trying to run v.in.gpsbabel from wxGUI.
(OSGeo4W install on windows xp)

[Run] button -> Command output:
{{{
(date)
v.in.gpsbabel format=gpx
which: gpsbabel: unknown command (ok, it isn't installed)
ERROR: http://gpsbabel.sourceforge.net
[date] Command finished (1 sec)
}}}

the full error message should be:
{{{
  if [ ! -x "`which gpsbabel`" ] ; then
     g.message -e "The gpsbabel program was not found, please install it
first.
                   http://gpsbabel.sourceforge.net"
     exit 1
fi
}}}

it seems the g.message newline is getting squashed into just a \r and the
bulk of the message is lost?

svn setting is ok:
{{{
$ svn propget svn:eol-style v.in.gpsbabel
native
}}}

Hamish

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

#501: wxgui: g.message getting squashed
---------------------------+------------------------------------------------
  Reporter: hamish | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: g.message
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

Fixed in r35998.

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

#501: wxgui: g.message getting squashed
---------------------------+------------------------------------------------
  Reporter: hamish | Owner: martinl
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: fixed | Keywords: g.message
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by martinl):

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

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