View Single Post
Old 01-28-2020, 07:58 AM   #1728
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 arwandar View Post
Hi guy,

I'm trying to import the shelves from my libra h2o to calibre with your plugin, but I am stuck with this error:

Spoiler:
calibre, version 4.7.0
ERREUR : Exception non gérée: <b>AttributeError</b>:'KTCollectionsBookList' object has no attribute 'id'

calibre 4.7 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: FanFicFare (3, 14, 0) && Kobo Utilities (2, 9, 0) && KoboTouchExtended (3, 1, 5) && EpubMerge (2, 7, 0)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 1561, in get_shelves_from_device
File "calibre_plugins.koboutilities.action", line 1942, in _get_selected_ids
File "site-packages\calibre\gui2\library\models.py", line 724, in id
AttributeError: 'KTCollectionsBookList' object has no attribute 'id'


Do you what I do wrong? The target column is a simple like tags, I'm seing the shelves in the device view...
Are you doing this from the device list? It should work from the library list, so try it from there. I don't remember if it ever worked from the device list, or whether it is supposed to be disabled there. I'll have to check if it there is a way to use it there.
davidfor is offline