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

XCSoar Map Generator Error - cup file upload #17

Open
jstells opened this issue Apr 28, 2021 · 8 comments
Open

XCSoar Map Generator Error - cup file upload #17

jstells opened this issue Apr 28, 2021 · 8 comments
Assignees
Labels

Comments

@jstells
Copy link

jstells commented Apr 28, 2021

Trying to convert .cup file to an XCM but every time, no matter what .cup file I select, I get error "Unsupported waypoint file"

@lordfolken
Copy link
Contributor

Could you please attach the file, so i can trigger the error? it seems to work for me.

@lordfolken
Copy link
Contributor

@jstells can you check again please? i did quite some updates to mapgen (mostyl structural)

@DRNadler
Copy link

Same problem, I always get error "Unsupported waypoint file".
Example file attached.
Thanks in advance for any help!
MapGenFailure_CUPs.zip

@lordfolken lordfolken changed the title XCSoar Map Generator Error XCSoar Map Generator Error - cup file upload Feb 18, 2022
@lordfolken lordfolken assigned lordfolken and unassigned jstells Feb 18, 2022
@lordfolken lordfolken added the bug label Feb 18, 2022
@DRNadler
Copy link

DRNadler commented Apr 11, 2022

Still broken, another CUP from World Wide Turnpoint Exchange attached, Thanks!
Perry, South Carolina 2021 Revision a with number before name.zip

@lordfolken
Copy link
Contributor

I currently don't have time. Please try fixing yourself or find someone to do it for you.

@hess8
Copy link

hess8 commented Dec 30, 2022

This function is still broken or broken again. Uploading .cup files that used to work now it now says "Unsupported waypoint file"

@lordfolken
Copy link
Contributor

As nobody stepped up, its still broken.

@paynterf
Copy link

I have created a repo to try and debug the 'Unsupported waypoint file" issue - see https://github.com/paynterf/XCSoarMapGenDebug.

This project extracts the 'back-end' code from the mapgen repo and runs it in a modified 'XCSoarMapServerDebug.py' file. When run this file reads 'WaypointFile.cup' and emulates most of the waypoint file related code.

At this point, it appears to me that all the .CUP file parsing works (I used a truncated Condor .cup file as input - didn't try any other formats), so I'm now thinking the issue has to do with the 'front-end' code that accepts a filename on the web page and hands it off to the back-end python code.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants