Comments (4)
Because some of your activities does not contain the length.
Cna you use this script in the local env and try again and to see what happens.
python scripts/gen_svg.py --from-db --title "Gary's Running" --type grid --athlete "Gary" --output assets/grid.svg --use-localtime
from running_page.
@zgr0629
If it is still not work I will try to drop the assert
and pass the error.
from running_page.
Result of script you give:
python3 scripts/gen_svg.py --from-db --title "Gary's Running" --type grid --athlete "Gary" --output assets/grid.svg --use-localtime
179
179
Creating poster of type grid with 160 tracks and storing it in file assets/grid.svg...
Result of script in github action run:
python3 scripts/gen_svg.py --from-db --title "Gary's Running" --type github --athlete "Gary" --special-distance 10 --special-distance2 20 --special-color yellow --special-color2 red --output assets/github.svg --use-localtime --min-distance 0.5
179
179
Creating poster of type github with 165 tracks and storing it in file assets/github.svg...
Both command can generate correct svg file on my machine.(Python 3.7.9)
Do you need any further information?
from running_page.
Cool @zgr0629 glad to here you got correct svg file.
I think you can change the length --special-distance 10 --special-distance2 20 --special-color yellow --special-color2 red --output assets/github.svg --use-localtime --min-distance 0.5 to make it color that not caused the problem.
No future info need~
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.