Skip to content

Unable to open epub "Zip archive is not supported" #634

Description

@NormanDunbar

Linux Mint 21.1 Vera. 64 bit. All updates applied.

I have a number of purchased epub books. Xreader can open most of them, but some from as recently as 2022 fail with the error "Unable to open document. File type Zip archive (application/zip) is not supported.

Using Nemo, right-click->properties, all my epubs show "Document (application/epub+zip)" however, using the "file" command, I get different results.

Those that do open correctly are "EPUB document" while those that don't open are "Zip archive data, at least v2.0 to extract, compression method=store". I assume the latter is the source of my problems?

Is there anything I can do to be able to read my books on Linux MInt with Xreader? Thanks.

Cheers,
Norm.

Activity

  1. mtwebster commented on Jan 5, 2024

    @mtwebster
    Member

    I'm pretty certain those files are corrupt - I built xreader with its internal mimetype check disabled. I found an epub that had given me the same behavior as you're seeing, and it was able to be opened, but only 2 pages rendered out of 80.

    I then installed Calibre, which I sort of treat as a reference app for this stuff, and it also only displayed two pages, and actually dropped all of the bad ones.

    Are there other formats you can download? You could convert a pdf to epub format using calibre also.

  2. NormanDunbar commented on Jan 8, 2024

    @NormanDunbar
    Author

    Hi @mtwebster .

    Thanks for a prompt reply.

    I am able to read the book on my Android phone and my Android tablet with a couple of different epub readers. I also have Calibre installed (now!) and it is happy to open the file to view or even to edit, although I haven't tried actually editing the book. I also installed Foliate and it is also able to open the book but, quite honestly, I do not like Foliate at all!

    Reading through with Calibre, I'm able to read all pages in the affected books.

    HTH

    Cheers,
    Norm.

  3. mtwebster commented on Jan 8, 2024

    @mtwebster
    Member

    Yours must be a different 'broken' than my test file. Can you point me to one? (I'll even buy it from wherever if necessary, it would keep me from continuing to stab in the dark).

    Thanks

  4. NormanDunbar commented on Jan 9, 2024

    @NormanDunbar
    Author

    If you have a (private?) space somewhere I can upload the affected book to, I can let you have my copy temporarily to see if you can fix things. The book is copyright so I'd be loathe, as an author myself, to put it somewhere public. I think fixing a problem like this is "fair use".

    HTH

    Cheers,
    Norm.

  5. mtwebster commented on Jan 19, 2024

    @mtwebster
    Member

    Hi, sorry for the delayed response -

    Unfortunately I don't have anything private to upload to. Would email work? I understand your concerns.

  6. NormanDunbar commented on Jan 19, 2024

    @NormanDunbar
    Author

    No worries on the delay, not a problem.
    Email would be fine. Where shall I send it?

    Cheers,.
    Norm.

  7. clefebvre commented on Sep 4, 2026

    @clefebvre
    Member

    EPUB support was removed from Xreader and reimplemented in Xepub: https://github.com/xapp-project/xepub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions