Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error loading files #152

Open
iamdabe opened this issue Jan 17, 2022 · 2 comments
Open

Unexpected error loading files #152

iamdabe opened this issue Jan 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working editor Editor task

Comments

@iamdabe
Copy link

iamdabe commented Jan 17, 2022

Trying to load a gpx file and keep getting the error 'Unexpected error loading files to editor: duplicate key value violates unique constraint "TrackApp_upload_pkey" DETAIL: Key (id)=(4) already exists.'

attached is gpx file (renamed to txt)

Thank
Hauts-Forts - Avoriaz.txt
s

@alguerre
Copy link
Collaborator

Hi @iamdabe. Thank you very much for this issue report. Your are the first person, who is not a friend, who provides some feedback :)

I am not working intensively right now in the TrackEditor, but I will try to review your problem asap.

@alguerre alguerre self-assigned this Jan 17, 2022
@alguerre alguerre added bug Something isn't working editor Editor task labels Jan 17, 2022
@alguerre
Copy link
Collaborator

Hi @iamdabe, finally I have decided to reset the database. I tried to migrate a month ago or so, but It looks like I failed in some detailed difficult to find. You can re-register and try again.

Anyway I am having problems with your file.

SyntaxError: Unexpected token N in JSON at position 6972

It fulfils the GPX schema, so I will need deeper investigation on your file. Thanks for sending it, I always use gpx from strava or tomtom and never experienced any problem. So I like to know that there are other sources which can generate problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor Editor task
Projects
None yet
Development

No branches or pull requests

2 participants