Giter Site home page Giter Site logo

Comments (3)

DuraMorte avatar DuraMorte commented on May 22, 2024

Renamed all files to look identical to my second example. No change.

from mango.

hkalexling avatar hkalexling commented on May 22, 2024

It is not a naming problem, and I think the culprit here is that one of the .cbz files is corrupted.

Basically a .cbz file is just a zip archive containing some images, and all Mango (and any cbz reader) does is unzip the file in memory and read the content. When the file is corrupted or is not a valid zip file, it cannot be unzipped.

Can you try to unzip the files using external tools like unzip if you are using Unix? If you see an error message like the one below, it means the file is corrupted (see this).

End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.

You can also check the file type using the file command. If it's a valid zip archive, you should see something like this:

$ file Ch.126.2\ .cbz
Ch.126.2 .cbz: Zip archive data, at least v2.0 to extract

But I agree that the scanning process should not hang even when a corrupted file is present. In version 0.2.0 that I am working on, Mango would ignore any corrupted and invalid zip files when scanning the library. I will make a minor release soon to address this and a few other issues.

from mango.

hkalexling avatar hkalexling commented on May 22, 2024

In v0.1.2, Mango would ignore the invalid files and log a warning message. Feel free to reopen this issue if needed.

from mango.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.