8bitgentleman / fitexport Goto Github PK
View Code? Open in Web Editor NEWExports all Google Fit data for a backup
License: MIT License
Exports all Google Fit data for a backup
License: MIT License
When running for the first time, it seems that an exports/
directory needs to exist:
Traceback (most recent call last):
File "/net/server/src/gpx2fit/fitexport/main.py", line 87, in <module>
main()
File "/net/server/src/gpx2fit/fitexport/main.py", line 63, in main
saveJSON("dataSources", data_sources)
File "/net/server/src/gpx2fit/fitexport/main.py", line 29, in saveJSON
with open(full_name, 'w') as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '.../exports/dataSources-1649423981.json'
Should the app create that?
Hi. I'm trying to give your app a spin. I have a project set up a Google and am able to get through the OAuth bit where I am asked to authorize with my project.
Your app though just sits at:
Opening in existing browser session.
after I have authorized and closed my browser tab. Eventually it stops with:
Traceback (most recent call last):
File "/net/server/src/gpx2fit/fitexport/main.py", line 87, in <module>
main()
File "/net/server/src/gpx2fit/fitexport/main.py", line 61, in main
execute()
File "/usr/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/googleapiclient/http.py", line 922, in execute
resp, content = _retry_request(
File "/usr/lib/python3.10/site-packages/googleapiclient/http.py", line 221, in _retry_request
raise exception
File "/usr/lib/python3.10/site-packages/googleapiclient/http.py", line 190, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/google_auth_httplib2.py", line 218, in request
response, content = self.http.request(
File "/usr/lib/python3.10/site-packages/httplib2/__init__.py", line 1725, in request
(response, content) = self._request(
File "/usr/lib/python3.10/site-packages/httplib2/__init__.py", line 1441, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python3.10/site-packages/httplib2/__init__.py", line 1363, in _conn_request
conn.connect()
File "/usr/lib/python3.10/site-packages/httplib2/__init__.py", line 1153, in connect
sock.connect((self.host, self.port))
TimeoutError: timed out
Any ideas?
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.