HazAT / badge

Add a badge to your app icon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to add badges

guthyerrz opened this issue · comments

All of a sudden Jenkins builds that worked perfectly all of a sudden started to return this error wile adding badges to icons

[09:44:13]: Error validating image from shields.io. Use --verbose for more info
[09:44:13]: Waiting for 10s and retry to load image from shields.io tries remaining: 10

Did something change in the shields.io website?

The same problem happened in my environment.
Accessing png url of badge, another url will be redirected.

It seems that redirect doesn't work.

Resolved in #87 or #86

Another solution is to install the additional dependencies in order to use svg images that download from a direct source without redirects.. On your machine just run

brew install librsvg

As a bonus, you'll get better quality shields also

Created a PR to replace the URL with the alternate mentioned in #87 The fix added to master recently did not help to fix this issue for us.

Another solution is to install the additional dependencies in order to use svg images that download > from a direct source without redirects.

This method also did not work for us i'm afraid, the needed libs could not be found after compiling librsvg on a build machine.

I have this same problem.

Should be fixed in 0.11.0