Mango icon indicating copy to clipboard operation
Mango copied to clipboard

[Bug Report] Archive error: Couldn't find directory end signature in the last 65KB

Open supasonix-zuv opened this issue 2 years ago • 9 comments

Describe the bug Some archives are unreadable with the error message Archive error: Couldn't find directory end signature in the last 65KB. It tends to be about once per 20 volume series. There is no thumbnail as well.

To Reproduce Steps to reproduce the behavior:

  1. Import an archive
  2. It may or may not work
  3. See error

Expected behavior The archive loads and reads properly.

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: Occurs on both Firefox and Tachiyomi's extension
  • Mango Version: 0.26.1

Docker (if you are running Mango in a Docker container) ` mango:
image: hkalexling/mango container_name: mango
restart: unless-stopped expose:

  • 9000
    ports:
  • 9000:9000
    volumes:
  • /mnt/SSD/mango:/root/mango
  • /mnt/SSD/mango/.config:/root/.config/mango
  • /mnt/HDD/Reading/Manga:/root/mango/library ` Additional context It's also not a problem with the archives, I can literally copy and paste the archive and it works just fine. Running a checksum shows that they are exactly the same.

supasonix-zuv avatar Apr 25 '22 18:04 supasonix-zuv

Can you try deleting the /mnt/SSD/mango/library.yml.gz file and see if it resolves the issue? This is a temporary cache for the library and will be regenerated.

hkalexling avatar Apr 27 '22 02:04 hkalexling

It didn't seem to do anything, even after restarting the docker container the issue persists

supasonix-zuv avatar Apr 27 '22 22:04 supasonix-zuv

Same issue for me. Also tried to delete the /mnt/SSD/mango/library.yml.gz file. Im using .cbz files and they are all working in other readers.

rabume avatar May 02 '22 12:05 rabume

Is it different with https://github.com/hkalexling/Mango/issues/112#issuecomment-712103777? cbz files archived with 7zip are not yet supported, aren't they?

Leeingnyo avatar May 06 '22 14:05 Leeingnyo

I "re-achieved" them with 7zip using the .zip extension and rename them to .cbz. Seems to work after that.

rabume avatar May 07 '22 08:05 rabume

@Leeingnyo Yeah I was suspecting that to be an 7z issue as well, but @supasonix-zuv mentioned that the exact copy of the archive worked, which is really strange. I have no idea why it's happening and can't reproduce it :thinking:

hkalexling avatar May 07 '22 15:05 hkalexling

I'm getting this too. I can provide a file that triggers this issue.

alpharde avatar Oct 08 '22 11:10 alpharde

@alpharde Are those 7zip files? You might want to re-archive them into standard zip files. See #112

hkalexling avatar Oct 14 '22 09:10 hkalexling

Sorry, forgot about this issue. The files were indeed corrupt.

alpharde avatar Nov 07 '22 02:11 alpharde