geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 801 forks source link

FBReader and Bookshelf refuse to open this mobi file #307

Open proski opened 9 years ago

proski commented 9 years ago

Link to the file: https://drive.google.com/file/d/0Bx4CguuiXKepNTlIV1NsdFR5NHc/view?usp=sharing

The file is called Open-Advice.mobi and I put it to /storage/emulated/0/Books

The default library view in the file tree mode doesn't even show the file. The Bookshelf Plugin in the file tree mode shows the file but doesn't open it. I can select the file in a file manager and choose FBReader to open it, but FBReader opens the book that was open before.

On Kindle Fire HD 7 (2013), the default Kindle reader and Moon+ Reader have no problem opening the file.

DMcCunney commented 9 years ago

Which version of FBReaderJ and Bookshelf are you running?

The file opens fine in the C version of FBReader on my desktop under Windows (and will probably work fine in FBReader under Linux, but I'm booted into Windows at the moment.

Calibre readily concerted the file to ePub, and FBReader handles the ePub version fine too.

FBReaderJ on my Android 4.4.2 Jellybean tablet opens the mobi file you supplied with no problem. It is visible and opens from Bookshelf as well as the default listing.

I see the issue you mention if there is a problem with the underlying file, but I can't reproduce it here. Are you sure the version on your Fire device got over to it properly?


Dennis

proski commented 9 years ago

I was running the current Android versions as of the time of writing. Sorry, I should have mentioned that.

I upgraded FBReaderJ to version 2.4.7 and the Bookshelf plugin to version 1.3.1. I still see the problem on Kindle Fire HD 7 (2013). The Bookshelf view shows the file with a gray page icon but does not react to tapping on it. The default library view does not even show the file.

The same version of FBreaderJ on Samsung Galaxy S4 running CyanogenMod 11 can see and open the same file.

I assume that the version of Android running on Kindle somehow prevents FBReaderJ from opening the MOBI files. However, Moon+ Reader can circumvent that block.

DMcCunney commented 9 years ago

@proski: "I assume that the version of Android running on Kindle somehow prevents FBReaderJ from opening the MOBI files. However, Moon+ Reader can circumvent that block."

Weird. My first thought would be a permissions issue, but if Moon+ Reader is looking at the same copy of the Mobi file FBReaderJ is, it should get bit the same way.

Current Fire versions are based on Android 4.4.2 (the same version my tablet runs), with Amazon UI modifications to suit the intended uses.

How are you getting the Mobi file on the Fire? I plug my tablet into my desktop with a USB able, and Android mounts it as an installer. I can then use Calibre to drop new eBooks into the directory tree on the external microSD card where I keep such things.

Out of curiosity, if you convert the Mobi file to ePub and drop it on the tablet, does FBReaderJ still have an issue?

Dennis