pgaskin/kepubify

Converted file fails to open on Kobo H2O

rokweom opened this issue · 4 comments

I'm trying to convert a (rather simple, I think) epub file, but even after many modifications to the input file the converted kepub fails to open, giving an "Oops!, This document couldn't be opened" error on my Kobo Aura H2O. I've verified the input epub file with epubcheck 4.2.2 and it is fully compliant. I've tried playing with kepubify settings (smarten-punctuation, hyphenate) and it didn't help. The original epub transfered to the reader opens just fine.

Here are the files in question: epub+kepub

Does it open if you just rename the file to .kepub.epub? If not, it's a bug in the Kobo itself (or an issue with the book) and you'll probably to contact Kobo about it.

Turns out the problem was caused by exclamation mark in the filename. After removing it opens just fine.
It's interesting that epub with the same filename doesn't cause any problem. Indeed, it looks like a bug in the Kobo software.

For the record (in case someone else encounters this): this also happens if any part of the path contains an exclamation mark (like a subdirectory). Kobo Libra H2O. @rokweom, many thanks for the find.

That's because the exclamation mark is used to separate the location identifier in the database.