Closed deepumukundan closed 7 years ago
Does this issue still persist?
Not anymore. Thanks! Closing the issue
@HazAT
Thanks for the great library. However, I'm facing the same problem here. what'sthe solution before you fixed the issue?
INFO [2017-10-10 15:44:29.27]: Start adding badges...
DEBUG [2017-10-10 15:44:29.27]: Trying to load image from shield.io. Timeout: 10s
DEBUG [2017-10-10 15:44:29.27]: URL: https://img.shields.io/badge/2.9.0-2-orange.png
ERROR [2017-10-10 15:44:30.05]: Error validating image from shield.io. Use --verbose for more info
INFO [2017-10-10 15:44:30.05]: Waiting for 60s and retry to load image from shield.io tries remaining: 10
Same problem
Same problem. I cannot tell more, because the error doesn't say anything meaningful to me.
But I have the suspicion that the redirect 301 coming from https://img.shields.io/badge/dev-B1-orange.png isn't handled correctly.
Verbose active... VERSION: 0.10.0 DEBUG [2019-07-17 10:02:16.52]: Parameters: {:shield=>"dev-B1-orange", :alpha=>true, :glob=>"/android//res//ic_launcher.{png,PNG}", :shield_scale=>"0.8", :dark=>nil, :alpha_channel=>nil, :custom=>nil, :no_badge=>nil, :badge_gravity=>nil, :shield_parameters=>nil, :shield_io_timeout=>nil, :shield_geometry=>nil, :shield_gravity=>nil, :shield_no_resize=>nil, :grayscale=>false} INFO [2019-07-17 10:02:16.52]: Start adding badges... DEBUG [2019-07-17 10:02:16.52]: Trying to load image from shields.io. Timeout: 10s DEBUG [2019-07-17 10:02:16.52]: URL: https://img.shields.io/badge/dev-B1-orange.png ERROR [2019-07-17 10:02:17.22]: Error validating image from shields.io. Use --verbose for more info INFO [2019-07-17 10:02:17.22]: Waiting for 10s and retry to load image from shields.io tries remaining: 10 ^CWARN [2019-07-17 10:02:26.78]: Lane Context: INFO [2019-07-17 10:02:26.79]: {:PLATFORM_NAME=>:android, :LANE_NAME=>"android build", :ANDROID_NEW_VERSION_CODE=>1, :ANDROID_VERSION_NAME=>"2.7", :ANDROID_NEW_VERSION_NAME=>"2.7", :ANDROID_CHANGE_PACKAGE_IDENTIFIER_ORIGINAL=>"com.xyz.xyz"}
Same problem. I cannot tell more, because the error doesn't say anything meaningful to me.
But I have the suspicion that the redirect 301 coming from https://img.shields.io/badge/dev-B1-orange.png isn't handled correctly.
Verbose active... VERSION: 0.10.0 DEBUG [2019-07-17 10:02:16.52]: Parameters: {:shield=>"dev-B1-orange", :alpha=>true, :glob=>"/android//res//ic_launcher.{png,PNG}", :shield_scale=>"0.8", :dark=>nil, :alpha_channel=>nil, :custom=>nil, :no_badge=>nil, :badge_gravity=>nil, :shield_parameters=>nil, :shield_io_timeout=>nil, :shield_geometry=>nil, :shield_gravity=>nil, :shield_no_resize=>nil, :grayscale=>false} INFO [2019-07-17 10:02:16.52]: Start adding badges... DEBUG [2019-07-17 10:02:16.52]: Trying to load image from shields.io. Timeout: 10s DEBUG [2019-07-17 10:02:16.52]: URL: https://img.shields.io/badge/dev-B1-orange.png ERROR [2019-07-17 10:02:17.22]: Error validating image from shields.io. Use --verbose for more info INFO [2019-07-17 10:02:17.22]: Waiting for 10s and retry to load image from shields.io tries remaining: 10 ^CWARN [2019-07-17 10:02:26.78]: Lane Context: INFO [2019-07-17 10:02:26.79]: {:PLATFORM_NAME=>:android, :LANE_NAME=>"android build", :ANDROID_NEW_VERSION_CODE=>1, :ANDROID_VERSION_NAME=>"2.7", :ANDROID_NEW_VERSION_NAME=>"2.7", :ANDROID_CHANGE_PACKAGE_IDENTIFIER_ORIGINAL=>"com.xyz.xyz"}
Same issue here:
Error validating image from shields.io. Use --verbose for more info
Same problem here... Did you find a solution ? Thanks
@NachosSs Can you try 0.11.0
Thanks, it works on 0.11.0
. Can you release a "fastlane-plugin-badge" version please?
@NachosSs When updating the dependencies / for new installs it should work out of the box.
1.3.0
fastlane plugin released
Perfect Thanks !
Same problem here... I am using fastlane-plugin-badge v1.5.0. Thanks.
[10:20:18]: Start adding badges...
[10:20:19]: Error loading image from shields.io response Error. Use --verbose for more info
[10:20:19]: Waiting for 10s and retry to load image from shields.io tries remaining: 10
[10:20:29]: Start adding badges...
[10:20:30]: Error loading image from shields.io response Error. Use --verbose for more info
[10:20:30]: Waiting for 10s and retry to load image from shields.io tries remaining: 9
[10:20:41]: Start adding badges...
[10:20:42]: Error loading image from shields.io response Error. Use --verbose for more info
[10:20:42]: Waiting for 10s and retry to load image from shields.io tries remaining: 8
[10:20:52]: Start adding badges...
[10:20:54]: Error loading image from shields.io response Error. Use --verbose for more info
[10:20:54]: Waiting for 10s and retry to load image from shields.io tries remaining: 7
[10:21:04]: Start adding badges...
[10:21:06]: Error loading image from shields.io response Error. Use --verbose for more info
[10:21:06]: Waiting for 10s and retry to load image from shields.io tries remaining: 6
[10:21:16]: Start adding badges...
[10:21:16]: Error loading image from shields.io response Error. Use --verbose for more info
[10:21:16]: Waiting for 10s and retry to load image from shields.io tries remaining: 5
[10:21:26]: Start adding badges...
[10:21:28]: Error loading image from shields.io response Error. Use --verbose for more info
[10:21:28]: Waiting for 10s and retry to load image from shields.io tries remaining: 4
[10:21:38]: Start adding badges...
[10:21:39]: Error loading image from shields.io response Error. Use --verbose for more info
[10:21:39]: Waiting for 10s and retry to load image from shields.io tries remaining: 3
[10:21:49]: Start adding badges...
[10:21:49]: Error loading image from shields.io response Error. Use --verbose for more info
[10:21:49]: Waiting for 10s and retry to load image from shields.io tries remaining: 2
[10:21:59]: Start adding badges...
[10:22:00]: Error loading image from shields.io response Error. Use --verbose for more info
[10:22:00]: Waiting for 10s and retry to load image from shields.io tries remaining: 1
[10:22:11]: Start adding badges...
[10:22:12]: Error loading image from shields.io response Error. Use --verbose for more info
[10:22:12]: Cannot load image from shields.io skipping it...
[10:22:12]: Did nothing... Enable --verbose for more info.
When tried the last sample to badge and shield
badge --shield "Version-0.0.3-blue" --dark --shield_no_resize --verbose --shield_io_timeout 60
I am getting the message below in verbose mode.
INFO [2017-01-15 11:15:04.38]: Start adding badges... DEBUG [2017-01-15 11:15:04.38]: Trying to load image from shield.io. Timeout: 10s DEBUG [2017-01-15 11:15:04.38]: URL: https://img.shields.io/badge/Version-0.0.3-blue.png ERROR [2017-01-15 11:15:14.38]: Error loading image from shield.io timeout reached. Skipping Shield. Use --verbose for more info
When I tried the url https://img.shields.io/badge/Version-0.0.3-blue.png on browser, was able to see the image load.
version : badge 0.7.1