View Single Post
Old 04-07-2016, 03:40 AM   #1087
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 DNSB View Post
I recently started getting an error message when I remove a ebook from my Kobo, copy an edited version to the Kobo, let it process the new ebook and then attempt to use KoboUtilities to update the series data.

Not sure if it something I've managed to screw up or if it is caused by a Calibre update or ????.

If I do an update cached metadata before running KoboUtilities, I don't get the error message.

Code:
calibre, version 2.54.0
ERROR: Unhandled exception: <b>AttributeError</b>:Metadata object has no attribute named: 'series_index_string'

calibre 2.54 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Barnes & Noble && Kobo Utilities && Fantastic Fiction && Goodreads && SmartEject && Extract ISBN && Webscription && Obok DeDRM && FictionDB && Quality Check && Open With && Find Duplicates && Modify ePub
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 863, in update_metadata
  File "calibre_plugins.koboutilities.action", line 3630, in _update_metadata
  File "site-packages\calibre\ebooks\metadata\book\base.py", line 149, in __getattribute__
AttributeError: Metadata object has no attribute named: 'series_index_string'
OK, I think I can see what is happening. I rearranged some code for these beta's and I missed a code path. I'm a bit surprised that no-one has seen it before, so it might have been "activated" by a calibre change. But, no matter what, it's unsafe code in the plugin. I'll fix it tonight.
davidfor is offline