docs | |
tests | |
package |
gols
- Free software: BSD license
pip install gols
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
|
Other |
|
upload garmin runs automatically on linux
I am getting several "duplicate activity" messages. Any way to automatically delete uploaded activities from watch after uploading?
I have noticed the -d and -c options are mandatory. I suggest documenting its differences. I think I can upload passing my activity folder for both, but I am not sure if it is correct.
I have been successfully using gols (on Linux) for the past couple of wks but since last evening been getting this error
Exception: Did not get a ticket in the login response. Cannot log in. Did you enter the correct username and password?
I have a simple bash scripts which feeds the userid/password which hasn't changed and I verified that the username/password is correct. Below is the debug log of the run.
INFO:gols.cli:Debug level set on
INFO:gols.cli:Uplading stuff
INFO:gols.cli:Login into Garmin connect
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): sso.garmin.com:443
DEBUG:urllib3.connectionpool:https://sso.garmin.com:443 "GET /sso/login?openCreateAccount=false&createAccountShown=true&consumeServiceTicket=false&embedWidget=false&service=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&webhost=https%3A%2F%2Fconnect.garmin.com&redirectAfterAccountCreationUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&rememberMeShown=true&gauthHost=https%3A%2F%2Fsso.garmin.com%2Fsso&usernameShown=false&clientId=GarminConnect&id=gauth-widget&source=http%3A%2F%2Fconnect.garmin.com%2Fen-US%2Fsignin&initialFocus=true&cssUrl=https%3A%2F%2Fstatic.garmincdn.com%2Fcom.garmin.connect%2Fui%2Fcss%2Fgauth-custom-v1.2-min.css&rememberMeChecked=false&locale=en_US&displayNameShown=false&generateExtraServiceTicket=false&redirectAfterAccountLoginUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://sso.garmin.com:443 "POST /sso/login?openCreateAccount=false&createAccountShown=true&consumeServiceTicket=false&embedWidget=false&service=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&webhost=https%3A%2F%2Fconnect.garmin.com&redirectAfterAccountCreationUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&rememberMeShown=true&gauthHost=https%3A%2F%2Fsso.garmin.com%2Fsso&usernameShown=false&clientId=GarminConnect&id=gauth-widget&source=http%3A%2F%2Fconnect.garmin.com%2Fen-US%2Fsignin&initialFocus=true&cssUrl=https%3A%2F%2Fstatic.garmincdn.com%2Fcom.garmin.connect%2Fui%2Fcss%2Fgauth-custom-v1.2-min.css&rememberMeChecked=false&locale=en_US&displayNameShown=false&generateExtraServiceTicket=false&redirectAfterAccountLoginUrl=https%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin HTTP/1.1" 200 None
Traceback (most recent call last):
File "/home/samir/.local/bin/gols", line 11, in
sys.exit(main())
File "/home/samir/.local/lib/python2.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/samir/.local/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/samir/.local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/samir/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/samir/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/samir/.local/lib/python2.7/site-packages/gols/cli.py", line 121, in upload
raise Exception('Did not get a ticket in the login response. Cannot log in. Did you enter the correct username and password?')
Exception: Did not get a ticket in the login response. Cannot log in. Did you enter the correct username and password?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.