gordon-matt / peachpie-responsive-file-manager

Responsive File Manager running on .NET Core with Peachpie
24 stars 16 forks source link

Conflict with SixLabors.ImageSharp 2.0.0+ #31

Closed endorbilisim closed 2 months ago

endorbilisim commented 1 year ago

I installed nuget to my CMS project but constantly getting "Unexpected end of JSON input" error. (Images are saved but thumbs are not) After examining the project in detail, if I use version SixLabors.ImageSharp 2.0.0 or higher in my app, I get the error "Unexpected end of JSON input". Using SixLabors.ImageSharp 1.0.4 fixes this issue but using older version does more harm than good.

gordon-matt commented 2 months ago

New version released for .NET 8 with all packages updated.

EDIT: The ImageSharp library is still old, but it's unrelated to this project. As discussed in #32 , the problem is with the PeachPie dependency: image

Please raise a task with them to update the library: https://github.com/peachpiecompiler/peachpie