View Single Post
Old 12-08-2018, 09:16 PM   #22
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by compurandom View Post
Relevant looking excerpt from the log:
Spoiler:

DEBUG: 1.0 KoboTouch:books - row= {u'___ExpirationStatus': 0, u'DateCreated': None, u'SeriesNumber': None, u'ImageId': u'c0ffee00-0000-0000-0000-000000000000', u'ISBN': u'1990000461471', u'Description': u'', u'ExternalId': None, u'IsDownloaded': u'true', u'MimeType': u'application/epub+zip', u'ContentID': u'687945d8-3035-4b71-8928-87090afe1dd5', u'ContentType': u'6', u'Language': u'en', u'Title': u'Feeding the mind', u'Publisher': u'', u'Subtitle': None, u'FavouritesIndex': -1, u'Accessibility': 1, u'Attribution': u'Lewis Carroll,William Henry Draper', u'Series': None, u'ReadStatus': 0, u'___UserID': u'XXXXX'}
DEBUG: 1.0 KoboTouch:books - path='687945d8-3035-4b71-8928-87090afe1dd5' Co
ntentID='687945d8-3035-4b71-8928-87090afe1dd5' externalId=None
DEBUG: 1.0 KoboTouch:update_booklist - title='Feeding the mind' ContentType=6
isdownloaded= true
DEBUG: 1.0 prefix=/media/KOBOeReader/, DateCreated=None, readstatus=0, MimeType=application/epub+zip, expired=0, favouritesindex=-1, accessibility=1, isdownloaded=true
DEBUG: 1.0 KoboTouch:update_booklist - playlist_map= {u'': []}
DEBUG: 1.0 KoboTouch:update_booklist - idx=23
DEBUG: 1.0 KoboTouch:update_booklist - lpath=
DEBUG: 1.0 KoboTouch:update_booklist - bl[idx].device_collections= []
DEBUG: 1.0 KoboTouch:update_booklist - playlist_map= {u'': []}
DEBUG: 1.0 KoboTouch:update_booklist - bookshelves= []
DEBUG: 1.0 KoboTouch:update_booklist - kobo_collections= []
DEBUG: 1.0 KoboTouch:update_booklist - series="None"
DEBUG: 1.0 KoboTouch:update_booklist - the book= Title : Feeding the mind
Author(s) : Lewis Carroll,William Henry Draper [Lewis Carroll,William Henry Draper]
Kobo metadata:
MimeType : application/epub+zip
Title : Unknown
Author(s) : Unknown
DEBUG: 1.0 KoboTouch:update_booklist - the authors= [u'Lewis Carroll,William Henry Draper']
DEBUG: 1.0 KoboTouch:update_booklist - application_id= None
DEBUG: 1.0 KoboTouch:update_booklist - ContentID='687945d8-3035-4b71-8928-87090afe1dd5'
DEBUG: 1.0 KoboTouch:update_booklist - updated bl[idx].device_collections= []
DEBUG: 1.0 KoboTouch:update_booklist - playlist_map= {u'': []} changed= False
DEBUG: 1.0 KoboTouch:update_booklist - book class=<class 'calibre.devices.kobo.books.Book'>
DEBUG: 1.0 KoboTouch:update_booklist - book title=Feeding the mind
KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x7f98e1e85710>
DEBUG: 1.3 KoboTouch:books - automatically managing metadata
DEBUG: 1.3 KoboTouch:books - about to sync_booklists
DEBUG: 1.3 USBMS: starting sync_booklists
DEBUG: 1.5 USBMS: finished sync_booklists
DEBUG: 1.5 KoboTouch:books - have done sync_booklists
DEBUG: 1.5 KoboTouch:books - end - oncard='None'
DEBUG: 1.5 KoboTouch:books - oncard='carda'


Let me know if you still want the entire log.
That looks like what I would expect, and I would expect that it was displayed in the device list. It is slightly unusual in that the book format is epub, but it has been downloaded from Kobo. I have one or two of those as well. How does the book display on the device? I am expecting it to be in the "Purchased" list.

But, there was actually a bug related to books like these. It had been there for a long time and I hadn't gotten around to fixing it. One of the changes I made when doing this fixed the problem. It was sort of a side-effect of the other changes. I made changes and everything was working. Then I decided to fix this bug while I was at it, and, found that it had gone away. When I looked at why, it was fixed by the other changes.
Quote:
And when I try to import the book into the library, I get a dialog containing this:
Spoiler:

calibre, version 3.35.0
Not Implemented: The following books are virtual and cannot be added to the calibre library:

/media/KOBOeReader/
You will get that message whenever you try to add a book downloaded from Kobo (purchased, preview, library, etc.) to the library. The message is a general one that really means "The selected book on device cannot be added to the library". The term "virtual" comes from other devices and I haven't found a way to override it. There is a bug as the path at the end of the details should be the path to the book, not to the root directory of the device. And I also need to look at the add to library as I would like a way to add an empty book in some circumstances. I'd like it at least for OverDrive books.

I use SmartEject as well. But, I turn of fmost of the checks. I use multiple libraries and there are lots of books on the devices that aren't in whichever library I am looking at when I eject the device. The only one I have enabled is the Reading List setting.
davidfor is offline   Reply With Quote