Skip to content

Conversation

@ptpt
Copy link
Member

@ptpt ptpt commented Feb 23, 2025

A more explicit error when GPX parsing fails:

[
  {
    "error": {
      "type": "RuntimeError",
      "message": "Error parsing GPX /usr/xx/Downloads/Forward.gpx: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte"
    },
    "filename": "/usr/xx/Downloads/Forward.mp4",
    "filetype": "video"
  }
]

@ptpt ptpt merged commit 4f0b470 into main Feb 23, 2025
19 checks passed
@ptpt ptpt deleted the improve-gpx-parsing-error-message branch February 23, 2025 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants