Bug report #2203

GPS Tools: spaces in Output File path

Added by Micha Silver over 4 years ago. Updated about 4 years ago.

Status:Closed Start Date:
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:C++ Plugins
Target version:Version 1.6.0
Platform:All Patch supplied:
Platform version: Affected version:2.4.0
Status info:0 Causes crash or corruption:No
Resolution:fixed Tag:

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..."

History

Updated by J├╝rgen Fischer over 4 years ago

please try 944c4572 (SVN r12344)

Updated by Paolo Cavallini about 4 years ago

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

Updated by Micha Silver about 4 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed

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).

Also available in: Atom PDF