Open FajarKim opened 1 year ago
I've run into this as well, self-hosting with Vercel. Here are some more details:
https://github-readme-streak-stats.tycrek.dev/?user=tycrek&theme=dracula&hide_border=true&type=png
Failed to convert SVG to PNG: sh: line 100: inkscape: command not found
@tycrek On Vercel this is expected since we do not have inkscape or imagick on Vercel and currently there isn't a known time when one of these will be available (this is tracked at https://github.com/vercel-community/php/issues/368)
@FajarKim Thanks for reporting :+1:
Unfortunately, I can't reproduce the issue locally which makes this a difficult issue to debug.
For the Demolab site which is on Heroku, it seems like sometimes it is working and sometimes it is not which means something is probably weird on Heroku's end of things.
I'll make sure to provide an update if I found out any additional info.
I made a small change in #605 that may potentially help with this issue.
It seems to be working on demolab when I try it, but I can't know if it is fixed or only temporarily working.
I seem to still run into this issue with Demolab, using this URL: https://streak-stats.demolab.com?user=tycrek&theme=dracula&hide_border=true&type=png (excluding theme
and hide_border
also fails).
The error was "Failed to convert svg to png" But removing type=png solved the issue for me...
Describe the bug A failure converting when changing an image from SVG to PNG on a website page
To Reproduce No comment
Expected behavior No comment
Screenshots
Smartphone (please complete the following information):
Additional context No comment