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

没有生成新的svg, 越500kb? #588

Closed
zpengcom opened this issue Jan 2, 2024 · 3 comments
Closed

没有生成新的svg, 越500kb? #588

zpengcom opened this issue Jan 2, 2024 · 3 comments

Comments

@zpengcom
Copy link

zpengcom commented Jan 2, 2024

你好,我是在windows本地运行
在项目目录中执行生成svg图形:
python3 run_page/gen_svg.py --from-db --title Running --type github --athlete peng --special-distance 10 --special-distance2 20 --special-color yellow --special-color2 red --output assets/github.svg --use-localtime --min-distance 0.5

没有生成新的svg

多次尝试有过一条通知
[BABEL] Note: The code generator has deoptimised the styling of F:\ABC\workouts_page\assets\grid.svg as it exceeds the max of 500KB.

我用的是https://github.com/ben-29/workouts_page 的项目,但似乎应该把问题提在这里

@yihong0618
Copy link
Owner

[BABEL] Note: The code generator has deoptimised the styling of F:\ABC\workouts_page\assets\grid.svg as it exceeds the max of 500KB.
忽略这条。他告诉你 500k 会影响性能不是没生成

@zpengcom
Copy link
Author

zpengcom commented Jan 2, 2024

[BABEL] Note: The code generator has deoptimised the styling of F:\ABC\workouts_page\assets\grid.svg as it exceeds the max of 500KB.

忽略这条。他告诉你 500k 会影响性能不是没生成

不好意思 浪费你时间了,我知道问题是怎么产生的了:这项目是我从另一台电脑上直接拷贝过来的,所有的脚本都不能运行 我看看怎么解决吧

@zpengcom zpengcom closed this as completed Jan 2, 2024
@yihong0618
Copy link
Owner

好的有问题随时打开

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

2 participants