I've just uploaded the new bugfix release 0.1.2 of gpx2svg.
From the ChangeLog:
- Fixed crash when processing GPX files with empty or no path segments. Thanks to Fabian Seitz for the bug report!
- Added exception handler for non-readable or non-existant files or files with no valid GPX data.