Ticket #501 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

wxgui: g.message getting squashed

Reported by: hamish Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: 6.4.0 RCs
Keywords: g.message Cc: grass-dev@…
Platform: MSWindows XP CPU: x86-32

Description

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

Change History

Changed 4 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

Fixed in r35998.

Changed 4 years ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.