szarroug3 / X-Ray_Calibre_Plugin

X-Ray Creator plugin for Calibre
http://www.mobileread.com/forums/showthread.php?t=273189
GNU General Public License v3.0
57 stars 12 forks source link

Creating X-ray with no valid book format does nothing silently #57

Closed stoduk closed 8 years ago

stoduk commented 8 years ago

Not sure if this is a bug or intentional behaviour, but as a user it is rather opaque..

I ran a create operation on a single book, which I only have in EPUB format and which wasn't on my Kindle.

Obviously this can't fully work (probably won't do much at all, I don't think we cache goodreads data or similar) - so probably just adding a new error case for this. ie. report an error if an operation is run on a book that has no suitable file formats (according to the user's preferences).

Job: 7 Creating X-Ray Files finished
Starting job: Creating X-Ray Files 

    06-27-2016 15:35:43 Initializing... 
    06-27-2016 15:35:44 Reykjavik Nights - Arnaldur Indridason 
    06-27-2016 15:35:44     Parsing Goodreads data... 
    06-27-2016 15:35:52     Getting format specific data... 
    06-27-2016 15:35:52     Parsing book data... 
    06-27-2016 15:35:52     Creating x-ray... 
    06-27-2016 15:35:52     Sending x-ray to device... 

    X-Ray Creation: 

Job: 8 Get device information started