DenverCoder1 / github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
https://streak-stats.demolab.com
MIT License
4.83k stars 752 forks source link

Failed convert SVG to PNG #596

Open FajarKim opened 1 year ago

FajarKim commented 1 year ago

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 Screenshot_20230924_201213

Smartphone (please complete the following information):

Additional context No comment

tycrek commented 1 year ago

I've run into this as well, self-hosting with Vercel. Here are some more details:

DenverCoder1 commented 1 year ago

@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)

DenverCoder1 commented 1 year ago

@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.

DenverCoder1 commented 1 year ago

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.

tycrek commented 1 year ago

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).

SamratAdhikari commented 6 months ago

The error was "Failed to convert svg to png" But removing type=png solved the issue for me...