View Single Post
Old 08-14-2015, 10:15 AM   #2324
gummihuhn
Enthusiast
gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.gummihuhn solves Fermat’s last theorem while doing the crossword.
 
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
Need advice on Koreader / OPDS problem

Hi all,

I installed KSM07 + Koreader (currently the latest nightly version) onto my Kobo Glo a couple of weeks ago and thus far I have been very happy with it. My main issue thus far has been getting content onto my device in the most seamless way possible.

To summarize, I have a python script that grabs an epub of my saved Wallabag (an open source alternative to Pocket) articles every hour and adds it to a folder watched by Calibre on a desktop PC I run at home. This and any other pdfs or epubs I add to the watched folder get automatically added to a Calibre library. This library is in turn synced to my VPS which runs COPS (Calibre OPDS PHP Server). My hope is to use the OPDS browser in Koreader to grab epubs and pdfs from this OPDS server.

Everything up to this point works flawlessly, and I can browse the COPS OPDS catalog via Koreader. But I can't download. When I tap a document (say example.epub), I get a message that says "Could not save file to /mnt/onboard/Downloads/example.epub". When I look in /mnt/onboard/Downloads/ there is indeed a file called example.epub, but it is an epub version of a 404 (not found) page rather than the example.epub on the server. The same happens with .mobi and .pdf files (though in the latter case there is no file in Downloads).

Initially I thought I had a configuration problem on the server, but I am able to download the same documents from the same server in other clients (Marvin on iOS, LuciFox, the COPS browser interface) without issue. As far as I can tell the COPS server is fully compliant with the OPDS standard. I cannot find any open issue on github (cops or koreader) that relates to my problem. I have spent the past couple days searching the MobileRead threads on koreader (this one) and COPS without finding anything on my problem.

Questions:
(1) Has anyone successfully downloaded a document from a COPS OPDS server via Koreader? How about *any* OPDS server over the internet (not LAN)? [EDIT: I can download an epub from the built in link to Project Gutenberg. But if the problem is with COPS why do all other clients seemingly work ok?] If so, what version of Koreader are you running?

(2) Can someone advise me on whether there are logs in Koreader that will tell me what URL it is trying to access when it downloads these 404 pages? Is there any other information you would suggest I gather before reporting an issue on github?

(3) What is the process to downgrade to an earlier nightly version of Koreader? (I'd like to see if this issue exists in earlier versions.) Does this require a factory reset? Is there a particular nightly version that you have found reasonably stable? I would prefer to get the OPDS functionality working but failing that Calibre server on the LAN would be better than nothing. The latest nightly version of Koreader freezes and never recovers (until pinhole restart) when I try to browse my Calibre server on the LAN.

Any suggestions or answers to the above would be greatly appreciated.

Last edited by gummihuhn; 08-14-2015 at 10:39 AM.
gummihuhn is offline   Reply With Quote