Opened 14 years ago

Closed 14 years ago

#2203 closed bug (fixed)

GPS Tools: spaces in Output File path

Reported by: micha Owned by:
Priority: minor: annoyance Milestone: Version 1.6.0
Component: C++ Plugins Version: Trunk
Keywords: GPS, GPS Tools, spaces Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

When using the GPS Tools plugin to download a gpx file from a GPS instrument, the plugin fails when there are spaces in the Output File path or file name. On the other hand, gpsbabel does work with spaces in the path when the output file path is quoted. For example running:

"C:\Program Files\Quantum GIS\bin\gpsbabel.exe" -w -i garmin -f USB: -o gpx -F "C:\Documents and Settings\micha\My Documents\waypoints.gpx"

works properly. However entering the same above output file (with or without quotes) in GPS Tools fails with the error "The layer is not a valid layer..."

Change History (4)

comment:1 by jef, 14 years ago

Component: Python plugins and bindingsC++ Plugins
Owner: borysiasty removed

comment:2 by jef, 14 years ago

please try r12343

comment:3 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

Is this fixed now? Please check and close if appropriate.

comment:4 by micha, 14 years ago

Resolution: fixed
Status: newclosed

I tested today on WinXP using the OSGeo4W installer (qgis-dev R13701) and the GPS tool plugin works correctly with spaces in the file path (and also in the file name itself).

Note: See TracTickets for help on using tickets.