getmango / Mango

Mango is a self-hosted manga server and web reader
https://getmango.app
MIT License
1.71k stars 123 forks source link

[Bug? / Feature Request] Failed to generate thumbnail for entry #123

Closed VegethB closed 3 years ago

VegethB commented 3 years ago

As the title suggests, I don't understand if it's a bug or if the jpegs are really damaged. The other error is "Index out of bounds".

image

Suspicious file links (uploaded to mega): https://mega.nz/folder/Al8FHQaC#jbayRkMYTUy1Z3SMLJURRg

The feature request is to put the full path on the "failed to generate thumbnail for entry" error. As you can see from the screen, I do not understand which series "volume 03 / Chapter 22 -" refers to, since the base folder or full path is not added.

hkalexling commented 3 years ago

I think both of them have corrupted pages. See the screenshot below:

Screenshot 2020-11-08 at 9 59 53 PM

You can verify this by unzipping both files and check their first pages. The first page in "Capitolo 436 - 436.zip" has zero bytes, and the first page in "Ch. 565 - God Like You.cbz" has only 16 bytes.

Yes, I agree we should print out the full path for these entries. I will update it in the next version. Thanks for the suggestion!

BTW, I found multiple corrupted pages in "Ch. 565 - God Like You.cbz". Did you download it using the MangaDex downloader in Mango? If so there might be a bug in the downloader 🤔

VegethB commented 3 years ago

Did you download it using the MangaDex downloader in Mango?

No, they were downloaded with Emule (these 2 specific). The others I can't find, however, have "AGC" in the name. Those chapters are .zips downloaded directly from the site of the group that translates them (downloaded with IDM). If I knew exactly which series they belong to, I could check if I was the one who downloaded badly or if they are really corrupt. Now I try to see all the series that have that name and control.

Edit:

So, chapter 12 is the corrupt version of the group that translates it (luckily it is a useless page to be corrupted). On the 13th my version was corrupted (downloaded again). 22 is too generic a name, so I don't know who it might be (my version is definitely corrupt). At this point I thank you as usual and I consider the problem closed 👍.

Edit2:

image And instead... Again, he tells me the "name" of the chapter but not of which "book". Also a new error appeared 😆🤷‍♂️

hkalexling commented 3 years ago

In v0.16.0, Mango would log the full path of the entries.