View Single Post
Old 05-18-2016, 07:52 AM   #1126
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
After updating to 2.3.0, I got the following error message attempting to update the metadata on a dozen books:

Code:
calibre, version 2.56.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'new_comments' referenced before assignment

calibre 2.56 [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: DeDRM && Obok DeDRM && Fantastic Fiction && Open With && FictionDB && Barnes & Noble && Find Duplicates && Extract ISBN && Webscription && Goodreads && Quality Check && Kobo Utilities && SmartEject && Modify ePub
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 863, in update_metadata
  File "calibre_plugins.koboutilities.action", line 3558, in _update_metadata
UnboundLocalError: local variable 'new_comments' referenced before assignment
Things that make you go hmmmm....
Well, you're a lot politer than I was when I saw it. And it got worse when I saw where the error was. With all the adding of templates for the description, I forgot to test with the template option off.

I'll have a fix for this in a few minutes. I just have to decide whether to include something else as well.
davidfor is offline