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

Error when trying to run #39

Closed
datachico opened this issue Oct 10, 2019 · 6 comments
Closed

Error when trying to run #39

datachico opened this issue Oct 10, 2019 · 6 comments

Comments

@datachico
Copy link

I followed the directions in the readme file and everything works until I try to run the program:

(venv.garminexport) Patricks-MBP:garminexport patricknoonan$ ./garminbackup.py --backup-dir=activities psnoonan@gmail.com
-bash: syntax error near unexpected token `newline'

Any ideas on how to troubleshoot?

@petergardfjall
Copy link
Owner

Did you somehow modify the garminbackup.py script?
What does git diff give you (from the root directory of the project)?

@mrantala
Copy link

I've used the code for a few years and I'm also getting an error. I last ran it 31.8.2019 and it worked then. I tried it yesterday & todayand it failed--I suspect Garmin has changed something on their end.

Line 114 of garminclient.py is returning this error for me:

2019-10-13 11:17:41,954 [ERROR] failed with exception: HTTPSConnectionPool(host='sso.garmin.com', port=443): Max retries exceeded with url: /sso/signin?service=https%3A%2F%2Fconnect.garmin.com%2Fmodern (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:719)'),))

Thanks for the code, I've used it along with SportTracks to track my running for a long time.

@datachico
Copy link
Author

@petergardfjall - git diff doesn't show any differences.

@petergardfjall
Copy link
Owner

@pfunknoondawg could you try running it with python garminbackup.py --password <pass> <email>. That is, run it as an argument passed to the python executable.

@petergardfjall
Copy link
Owner

@mrantala Seems like your issue is unrelated to this issue. Looks like it might have been a temporary issue with the Garmin site. I ran everything successfully yesterday. If your problem persists, feel free to open a separate issue!

@petergardfjall
Copy link
Owner

Closing due to lack of activity. Reopen if problem persists.

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

No branches or pull requests

3 participants