Opened 11 years ago

Closed 11 years ago

#501 closed defect (fixed)

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@…
CPU: x86-32 Platform: MSWindows XP

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 (2)

comment:1 Changed 11 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Fixed in r35998.

comment:2 Changed 11 years ago by martinl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.