View Single Post
Old 04-21-2014, 10:47 PM   #490
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Lofwyr23 View Post
I just ran into an error trying to update metadata on the device (Glo,FW 3.2.0).

Calibre 1.33 - KoboUtils 1.6.4

Quote:
calibre, version 1.33.0
FEHLER: Nicht abgefangener Fehler: <b>UnboundLocalError</b>:local variable 'newmi' referenced before assignment

calibre 1.33 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 698, in update_metadata
File "calibre_plugins.koboutilities.action", line 2981, in _update_metadata
UnboundLocalError: local variable 'newmi' referenced before assignment
I changed a variable name a little while ago and I missed a place it was used. The worst part of this is that it is in a debug statement that won't bee seen.

This should only happen when you try updating the metadata for a book that you have sent to the device but has not been processed into the internal database. You can't change the metadata until you disconnect and the book is processed. But, it shouldn't error like this.

I have fixed it and will put 1.6.5 up in a few minutes. This will be the only change.
davidfor is offline   Reply With Quote