Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Cannot get image dimensions for logo.svg #10026

Closed
1 task done
PhantomPhoton opened this issue Jul 20, 2023 · 2 comments
Closed
1 task done

[Issue]: Cannot get image dimensions for logo.svg #10026

PhantomPhoton opened this issue Jul 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@PhantomPhoton
Copy link

Please describe your bug

During scans, Jellyfin is logging numerous errors about not being able to determine the image dimensions for logo.svg files. The files appear to be valid.

For example,

This Logo shows up as invalid when scanning, however, when viewed in the browser is valid.

#9581 doesn't appear to completely solve this issue.

Jellyfin Version

Other

if other:

10.8.10

Environment

- OS: Ubuntu 22.04
- Linux Kernel: 5.15.0-76-generic
- Virtualization: Docker
- Clients: Browser
- Browser: Chrome 114.0.5735.198
- FFmpeg Version: 5.1.3-Jellyfin
- Playback Method: All methods are impacted
- Hardware Acceleration: None
- GPU Model: None
- Plugins: None
- Reverse Proxy: None
- Base URL: None
- Networking: Host
- Storage: local

Jellyfin logs

[22:19:40] [ERR] [52] Emby.Server.Implementations.Library.LibraryManager: Cannot get image dimensions for /path/to/logo.svg
System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at SkiaSharp.Extended.Svg.ColorHelper.TryParse(String str, SKColor& color)
   at SkiaSharp.Extended.Svg.SKSvg.ReadPaints(Dictionary`2 style, SKPaint& strokePaint, SKPaint& fillPaint, Boolean isGroup)
   at SkiaSharp.Extended.Svg.SKSvg.ReadElement(XElement e, SKCanvas canvas, SKPaint stroke, SKPaint fill)
   at SkiaSharp.Extended.Svg.SKSvg.ReadElement(XElement e, SKCanvas canvas, SKPaint stroke, SKPaint fill)
   at SkiaSharp.Extended.Svg.SKSvg.LoadElements(IEnumerable`1 elements, SKCanvas canvas, SKPaint stroke, SKPaint fill)
   at SkiaSharp.Extended.Svg.SKSvg.Load(XDocument xdoc)
   at SkiaSharp.Extended.Svg.SKSvg.Load(Stream stream)
   at SkiaSharp.Extended.Svg.SKSvg.Load(String filename)
   at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageSize(String path)
   at Emby.Drawing.ImageProcessor.GetImageDimensions(BaseItem item, ItemImageInfo info)
   at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@PhantomPhoton PhantomPhoton added the bug Something isn't working label Jul 20, 2023
@cvium
Copy link
Member

cvium commented Jul 20, 2023

As far as I know, the fix is not in 10.8

@jellyfin-bot jellyfin-bot added this to Needs triage in Issue Triage for Main Repo Jul 20, 2023
@cvium
Copy link
Member

cvium commented Jul 20, 2023

Also a duplicate of #7626

@cvium cvium closed this as completed Jul 20, 2023
Issue Triage for Main Repo automation moved this from Needs triage to Closed/Done Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants