-
Notifications
You must be signed in to change notification settings - Fork 51
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
Something went wrong when loading GPX #78
Comments
Thank you for reporting this issue. |
@narfel |
This is the output i get when i remove the exception. Python version in the venv is 3.8.2. I am not familiar with that toolchain used, so i had to be creative and change it in the site-packages after build.
If i don't change anything and try to run it i get this:
|
@narfel |
@yihong0618 I think |
yes, I am wrong... |
Tried it anyway, no dice. I even used good old 8.3 format for good measure. But since i can do the i/o stuff on the exact same files with gpxpy i think that is not an issue of the filesystem. |
I guess it has something to do with the concurrent loading via |
Yes, that's the part that goes wooshing straight over my head. I found a couple of references to update: same exact behaviour outside of venv. |
I am having the same issue here. Downloaded GPX files from strava.
|
@luiscruz is this on a Linux machine? |
Hi @flopp , this is on a Mac OS Catalina Version 10.15.7 |
Hello, This worked for me. Best Regards, and @flopp, thanks a lot for the great application. |
Sweet, thank you, can confirm that works perfectly under Windows. I still have no clue what that actually is about, but i came across some threads that seemed to suggest something similar. I hope it works for Mac OS, too. |
@wlhUser thank you for your research! |
I've just added a command line option
So, if there are any problems with loading, |
Can you check if this works on Windows & MacOS? |
Works on windows for smaller sets of files without specifying |
Oh, I see. So I guess there is an (uncaught?) exception (related to comparing datetimes with and without timezone info) that kills the loader process... |
After specifying |
tried on windows, this works well with --workers 1 , but on a mac on big sur (11.7) this doesn't fix the issue, no matter the number of workers. |
Lovely, this FIXED all issues for me - Mac M1, os v14.5 |
Hi, can someone help me getting this to run in native windows? All dependecies and venv work, but if i pass a gpx dir (that confirmed works on linux) i get the above error.The error is in track.py:76
except Exception as e: # raise TrackLoadError("Something went wrong when loading GPX.") from e
Sadly that doesn't tell me much.If i remove the exception, I end up with an assertion error in create_poster-script.py:11,
in <module> load_entry_point('gpxtrackposter==0.1', 'console_scripts', 'create_poster')()
I'm not familiar with all that build framework around that script so any help or pointers would be appreciated, because i think it's not an issue with the script itself or gpxpy.
The text was updated successfully, but these errors were encountered: