Bug report #2203
GPS Tools: spaces in Output File path
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | C++ Plugins | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 12263 |
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
#1
Updated by Jürgen Fischer over 14 years ago
please try 944c4572 (SVN r12344)
#2
Updated by Paolo Cavallini about 14 years ago
Is this fixed now? Please check and close if appropriate.
#3
Updated by Micha Silver about 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
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).