bumptech / bumptech/glide

SVG rendering issues

Open
#5,381 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

implementation 'com.github.bumptech.glide:glide:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
implementation 'com.caverock:androidsvg:1.4'

: Load failed for [https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_2.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=TQWsiD%2BQ0etVZ%2B%2BusnECtLQlS%2B0%3D] with dimensions [1080x2287]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->PictureDrawable}, REMOTE, https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_2.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=TQWsiD%2BQ0etVZ%2B%2BusnECtLQlS%2B0%3D
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->SVG->PictureDrawable}
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class java.io.IOException: Cannot load SVG from stream
2024-03-18 15:57:40.872 30012-30012/com.qingxun.translationdog W/Glide: Load failed for [https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_1.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=xv%2BbhmLaVuaklIGWzeqCHkZvKV4%3D] with dimensions [1080x2287]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->PictureDrawable}, REMOTE, https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_1.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=xv%2BbhmLaVuaklIGWzeqCHkZvKV4%3D
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->SVG->PictureDrawable}
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class java.io.IOException: Cannot load SVG from stream

Failed to render SVG in demo

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.