View Single Post
Old 05-25-2015, 03:55 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I tried to access the content server from a browser on my tablet but when I tapped on the book description nothing happened. That's when I went to the pc an got some kind of a message that the file didn't exist. Maybe you could see how the browser on the pc knows a file is missing and use that in CC?
How to detect the problem is to check the HTTP headers to see if the response is "normal". This part is easy. The hard part is working out what to do if the response isn't normal. There is a lot of code between the GUI and where the book is downloaded.
Quote:
Edit: I doubt this will happen very often, so it might be more risky to fix than not fix.
I agree that it won't happen often, but it can happen if someone manually deletes formats from the calibre library. It is worth some time to see if I can detect the error and then do something besides falling over dead, and do so with minimal risk to it functioning correctly in the normal case.
chaley is offline   Reply With Quote