Comments (10)
开始运行是正常的,输出日志如下:
Get single run for codoon id xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
.... Get single run for codoon id xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
运行大概10多分钟之后,重复报如下错误:
Syncing tracks '+' means new track '.' means update tracks 2023-12-06 10:08:47,474 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutErr or("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)")': /reverse?lat=x x.xxxxxxxxxxxx&lon=xxx.xxxxxxxxxxxxxxx&format=json&addressdetails=1
可以忽略这个
from running_page.
用的命令是:
python3 run_page/codoon_sync.py nnnnnnnnnn pppppppppppp --with-gpx
from running_page.
知道,这个是获取地点出错了,不影响使用,如果一直弹这个错你需要全局的梯子
from running_page.
谢谢大佬光速回复。
一直有挂全局梯子,昨天已经获取了600多条记录,之后就报错,再也没能获取到新的记录。
刚才重试的结果记录如下:
2023-12-06 10:26 开始运行,部分日志如下:
41 runs to parse
39 runs to parse
30 runs to parse
33 runs to parse
33 runs to parse
59 runs to parse
59 runs to parse
100 runs to parse
119 runs to parse
143 runs to parse
96 runs to parse
Get single run for codoon id xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
...
Get single run for codoon id xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
…
2023-12-06 10:44:05, 开始重复报错 'ReadTimeoutError’
Syncing tracks '+' means new track '.' means update tracks
2023-12-06 10:44:05,543 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)")': /reverse?lat=xx.xxxxxxxxxxxx&lon=xxx.xxxxxxxxxxxxxxx&format=json&addressdetails=1
2023-12-06 10:44:06,545 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)")': /reverse?lat=xx.xxxxxxxxxxxxx&lon=xxx.xxxxxxxxxx&format=json&addressdetails=1
…
…
2023-12-06 11:28:06,开始重复报错 ’Connection refused’
2023-12-06 11:28:06,482 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')': /reverse?lat=xx.xxxxxxxxx&lon=xxx.xxxxxxxxxxx&format=json&addressdetails=1
…
2023-12-06 11:28:08, 程序退出
from running_page.
- 跑这个的时候记录已经都获取完了,你可以去 GPX_OUT 里
ls | wc
- 这个报错是获取不到地理位置了,可能有点麻烦
- 程序退出有报错吗?
from running_page.
- 昨天运行完之后已经导出657条记录在GPX_OUT目录下,在咕咚app里可以看到跑步记录总共729次
- 获取不到地理位置,是否与我开启了“路线偏移修正”有关?
If your points need trans from gcj02 to wgs84 coordinate which use by Mappbox
TRANS_GCJ02_TO_WGS84 = True
trans the coordinate data until the TRANS_END_DATE, work with TRANS_GCJ02_TO_WGS84 = True
TRANS_END_DATE = "2014-03-24"
但是,2014-03-24之前的咕咚跑步记录总数不超过10条
-
退出没有报其它错误,最后一条错误日志仍然是上文提到的重复错误: [Errno 61] Connection refused
-
btw,请问除了跑步记录,是否还能导出骑行记录?——找到了,有个参数控制,待会验证下
# only for running sports, if you want others, please change the True to False
from running_page.
把“TRANS_GCJ02_TO_WGS84”改为“False”之后,没有报任何错误了,直接运行就结束了,没有下载到新的记录。
看起来能获取到的就是昨天这657条记录。
虽然在咕咚里看到的是729次记录。
完整的运行日志如下:
your refresh_token and user_id are xxxxxxxxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
40 runs to parse
40 runs to parse
29 runs to parse
34 runs to parse
32 runs to parse
55 runs to parse
64 runs to parse
98 runs to parse
120 runs to parse
142 runs to parse
98 runs to parse
Get single run for codoon id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
ID xxxxxxxxx has no total time just ignore please check
No tracks found.
from running_page.
可以的,应该有骑行,但需要你自己diy 把 run 改成 cycle 啥的试试(api
from running_page.
记录已经获取完成,错误信息可以忽略
from running_page.
@ROOTx2000 骑行可以使用 @ben-29 的 https://github.com/ben-29/workouts_page
from running_page.
Related Issues (20)
- pnpm install 提示错误 HOT 25
- 请教为什么国家解析不对 HOT 11
- gpx文件未生成 HOT 10
- localhost拒绝访问 HOT 2
- docs: README.md/README-CN.md 新增第一次部署後的操作導引(個人建議) HOT 3
- 資安疑慮:Mapbox token 只能明碼寫在`const.ts`中? HOT 12
- 使用--with-tcx参数获取咕咚数据,导出来的TCX文件导入Garmin还是会提示报错无法导入 HOT 1
- 看了几天代码,有几个自己的想法不知道对不对? HOT 21
- 我发现 Run Data Sync.yaml 在跑的时候-Garmin_cn 执行就死循环了 HOT 9
- 为什么数据库删除的数据前端还是有 HOT 2
- Cloudflare 部署的是作者演示画面 HOT 9
- v HOT 1
- Can't get nike refresh_token HOT 3
- 数据库的地区格式不统一影响吗 HOT 2
- 悦跑圈抓取数据时错误,遇到错误:Max retries exceeded with url错误。 HOT 7
- 咨询下docker的工作原理 HOT 1
- 请教, 开始从咕咚拉数据的时,没有带 --with-gpx,后续怎么得到GPX数据 HOT 3
- 如何把国家涂上色 HOT 3
- 源自华米的GPX导入轨迹漂移,且心率为空 HOT 7
- [Function enhancement] SVG info source error caused by the inability to automate JoyRun HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from running_page.