View Single Post
Old 07-26-2014, 08:51 PM   #75
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 theducks View Post
Is this from the latest SortCSS PI (on 1.203)?

Spoiler:
calibre, version 1.203.1
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'ac' referenced before assignment

calibre 1.203.1 isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.8
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubMerge && Generate Cover && Count Pages && Search The Internet && Open With && Quality Check && Import List && Manage Series && Find Duplicates && Fantastic Fiction && Sort CSS && Fantastic Fiction Adults && EpubSplit && Resize Cover && Modify ePub
Traceback (most recent call last):
File "site-packages\calibre\gui2\tweak_book\preferences.py", line 452, in bar_changed
File "site-packages\calibre\gui2\tweak_book\preferences.py", line 447, in build_lists
UnboundLocalError: local variable 'ac' referenced before assignment
It looks like it. I changed one of the names in the plugin. It looks like that name was used as part of the key in the preferences for what is on the toolbar. And calibre didn't like not being able to match the key to a plugin. Or at least I think that is what is happening.

To fix it, I think you need to edit the file "tweak_book_gui.json" that is in you calibre preferences directory. Look for the "global_plugins_toolbar" and remove that section and save the file.
davidfor is offline   Reply With Quote