-
Notifications
You must be signed in to change notification settings - Fork 134
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
Errors starting the py-script #47
Comments
Thanks, but unfortunately both lead to errors
- the second needs class “sort” which does not exist within python 3.7.0
- the first gives the following output:
Welcome to Garmin Connect Exporter!
service=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&webhost=https%3A%2F%2Fconnect.garmin.com&source=http%3A%2F%2Fconnect.garmin.com%2Fen-US%2Fsignin&redirectAfterAccountLoginUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&redirectAfterAccountCreationUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&gauthHost=https%3A%2F%2Fsso.garmin.com%2Fsso&locale=en_US&id=gauth-widget&cssUrl=https%3A%2F%2Fstatic.garmincdn.com%2Fcom.garmin.connect%2Fui%2Fcss%2Fgauth-custom-v1.2-min.css&clientId=GarminConnect&rememberMeShown=true&rememberMeChecked=false&createAccountShown=true&openCreateAccount=false&usernameShown=false&displayNameShown=false&consumeServiceTicket=false&initialFocus=true&embedWidget=false&generateExtraServiceTicket=false
Request login page
Finish login page
Post login data
Finish login post
login ticket=ST-23876083-YpVUkH3VFdkLnECeZqc1-cas
Request authentication URL: https://connect.garmin.com/modern/activities?ticket=ST-23876083-YpVUkH3VFdkLnECeZqc1-cas
Finished authentication
Making activity request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://connect.garmin.com/proxy/activity-search-service-1.2/json/activities?start=0&limit=3
Finished activity request ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "gcexport3.py", line 287, in <module>
write_to_file(ARGS.directory + '/activities.json', RESULT.decode(), 'a')
File "gcexport3.py", line 83, in write_to_file
write_file.write(content)
File "C:\Users\Gerald\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0113' in position 1211: character maps to <undefined>
best regards
gerald luza
Von: Joe Timmerman [mailto:[email protected]]
Gesendet: Donnerstag, 26. Juli 2018 20:13
An: kjkjava/garmin-connect-export <[email protected]>
Cc: beta-L-user <[email protected]>; Author <[email protected]>
Betreff: Re: [kjkjava/garmin-connect-export] Errors starting the py-script (#47)
This repository isn't maintained anymore (and also doesn't support Python 3, as you've discovered). I believe the forks here <https:/moderation/garmin-connect-export/> and here <https:/pe-st/garmin-connect-export> are more current, I'd give those a try.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#47 (comment)> , or mute the thread <https:/notifications/unsubscribe-auth/AdahRgdG3TTYt4gS62br1LGp3EqdOQbzks5uKga-gaJpZM4ViSKL> .
|
@joetimmerman Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New to Python I installed python 3.7.0, thought it should be easy to get output by the gcexport.py-script.
Unfortunately Python demands a lot of parantheses that seem to be missing after the print-commands of gcexport.py.
After introducing "( )" I got the next error (just trying the "-h"):
"ImportError: cannot import name 'urlencode' from 'urllib' (C:\Users\Gerald\AppData\Local\Programs\Python\Python37\lib\urllib_init_.py)"
This init-file is empty.
Is there something else necessary that the py-script runs?
Best regards
beta-L-user
The text was updated successfully, but these errors were encountered: