PlayniteExtensionsCollection icon indicating copy to clipboard operation
PlayniteExtensionsCollection copied to clipboard

[Image Cache Size Saver] "image couldn't be processed" and the script stop because of that

Open BanCrash opened this issue 4 years ago • 0 comments

Extension name

Image Cache Size Saver

Bug Description

After a while, the script will throw an error and will stop the execution. Restarting the script will have the same result with the same image.

This is the bug:

23-03 15:23:55.719|ERROR|Image_Cache_Size_Saver#PS:Image Cache Size Saver - "C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg" image couldn't be processed - Error: magick.exe: Corrupt JPEG data: 1 extraneous bytes before marker 0xdb `C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg' @ warning/jpeg.c/JPEGWarningHandler/402.

First execution:

23-03 10:53:24.739|INFO |Image_Cache_Size_Saver#PS:Image Cache Size Saver - Playnite is Installed. 23-03 10:53:24.739|INFO |Image_Cache_Size_Saver#PS:Image Cache Size Saver - Found executable Path via registry in "C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe". 23-03 12:24:50.361|ERROR|Image_Cache_Size_Saver#PS:Image Cache Size Saver - "C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg" image couldn't be processed - Error: magick.exe: Corrupt JPEG data: 1 extraneous bytes before marker 0xdb `C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg' @ warning/jpeg.c/JPEGWarningHandler/402.

Second execution, stop with the same file:

23-03 13:32:10.506|INFO |Image_Cache_Size_Saver#PS:Image Cache Size Saver - Playnite is Installed. 23-03 13:32:10.506|INFO |Image_Cache_Size_Saver#PS:Image Cache Size Saver - Found executable Path via registry in "C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe". 23-03 15:23:55.719|ERROR|Image_Cache_Size_Saver#PS:Image Cache Size Saver - "C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg" image couldn't be processed - Error: magick.exe: Corrupt JPEG data: 1 extraneous bytes before marker 0xdb `C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg' @ warning/jpeg.c/JPEGWarningHandler/402.

Important thing, those are really the second and third execution since I started yesterday but I had to gone and force close of Playnite. I thought this could be the cause for this error, but the file didn't get modified since november:

image

While this image, for example, was modified yesterday on the (real) first execution of the script: image

This is the image that is referenced on the log: f33dddb05574c37748c6f3dce4cb3d6a

To Reproduce

Not sure tbh.

Extensions log

extensions.log

23-03 15:23:55.719|ERROR|Image_Cache_Size_Saver#PS:Image Cache Size Saver - "C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg" image couldn't be processed - Error: magick.exe: Corrupt JPEG data: 1 extraneous bytes before marker 0xdb `C:\Users\User\AppData\Roaming\Playnite\cache\images\f33dddb05574c37748c6f3dce4cb3d6a.jpg' @ warning/jpeg.c/JPEGWarningHandler/402.

Screenshots

No response

BanCrash avatar Mar 23 '22 15:03 BanCrash