Jump to content

ImageMagic fails when loading images from path with UTF-8 chars [Windows Emby 3.0.5582.1]


Go to solution Solved by jabbera,

Recommended Posts

MediaLove
Posted

Hi,

 

Seams like the latest EMBY Server (3.0.5582.1) have a new bug with ImageMagic reading files when path have UTF-8 characters (MediaBrowser-Server folder is located under a username with UTF-8 chars).

 

This bug was also present in 3.0.5582.0.

 

This blocks all media in the interface and all connected clients.

 

Exception: ImageMagickSharp.WandException: UnableToOpenBlob

 

-ML

  • Like 2
Posted

what is an example?

MediaLove
Posted (edited)

Exception example (User image thumb):
[GetUserImage: 15.04.2015 19:19:50]: [REQUEST: {Id:a809da2423d793bd8eaef99392d9d506,Height:20,Quality:90,Tag:5afe23d4838e7efc7064eb15b91eaccd,EnableImageEnhancers:True,AddPlayedIndicator:False,Type:Primary}] ImageMagickSharp.WandException: UnableToOpenBlob `C:\Users\Janni Ulk�\AppData\Roaming\MediaBrowser-Server\config\users\Janni\folder.jpg': No such file or directory @ error/blob.c/OpenBlob/2675 at ImageMagickSharp.WandCore`1.CheckErrorBool(Int32 status) at ImageMagickSharp.MagickWand.OpenImage(String path) at ImageMagickSharp.MagickWand..ctor(String path) at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage(String inputPath, String outputPath, Int32 width, Int32 height, Int32 quality, ImageProcessingOptions options) at Emby.Drawing.ImageProcessor.<ProcessImage>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at MediaBrowser.Api.Images.ImageService.<GetImageResult>d__f.MoveNext()

 

(My name is not Janni but anonymized but the last character is UTF-8) :)

Edited by MediaLove
Posted

what is the character?

  • Solution
Posted (edited)

My bad. Sorry about the utf 8 stuff. Consider it sorted in dev.

Edited by jabbera
  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...