scripts icon indicating copy to clipboard operation
scripts copied to clipboard

ePUB placeholder never updates?

Open osresearch opened this issue 5 years ago • 2 comments

With a remarkable 2 running 2.4.1.30, the ePUB files installed with repush.sh never seem to be updated beyond the two page placeholder added in commit https://github.com/reHackable/scripts/commit/67b15a3dc448a954813f420fa050c9be56ac8550

The $UUID.ePUB file in ~/.local/share/remarkable/xochitl/ has the right sha1sum, so the file transfer worked, although the corresonding $UUID.content file still only has the two pages listed rather than the few hundred that are expected, and viewing the document on the table only shows the two empty placeholder pages.

Am I missing a step to have the tablet process the .epub file to populate the .content?

osresearch avatar Dec 03 '20 14:12 osresearch

PDF files work with repush.sh, however. Uploading ePUB directly via curl --form [email protected] http://10.11.99.1/upload also works fine (for small enough files)

osresearch avatar Dec 03 '20 14:12 osresearch

If I ssh into the device I run epub2pdf --epub $UUID.epub --pdf $UUID.pdf, then it will update. Alternatively, if I load the empty two page document and change the font, the tablet appears to re-run epub2pdf or something under the covers to regenerate it, so that is a workaround. (I don't see a new process running to do the conversion, so I'm not certain what command line it uses for the conversion when invoked from the GUI)

osresearch avatar Dec 03 '20 14:12 osresearch