Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
supasonix-zuv opened this issue Apr 25, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@supasonix-zuv
Copy link

supasonix-zuv commented Apr 25, 2022

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 supasonix-zuv added the bug Something isn't working label Apr 25, 2022
@hkalexling
Copy link
Member

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.

@supasonix-zuv
Copy link
Author

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

@rabume
Copy link

rabume commented May 2, 2022

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.

@Leeingnyo
Copy link
Member

Is it different with #112 (comment)?
cbz files archived with 7zip are not yet supported, aren't they?

@rabume
Copy link

rabume commented May 7, 2022

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

@hkalexling
Copy link
Member

@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 🤔

@alpharde
Copy link

alpharde commented Oct 8, 2022

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

@hkalexling
Copy link
Member

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

@alpharde
Copy link

alpharde commented Nov 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants