View Single Post
Old 06-29-2013, 10:21 AM   #1
macnab69
Zealot
macnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toysmacnab69 shares his or her toys
 
Posts: 129
Karma: 5754
Join Date: Jan 2012
Location: South Africa
Device: Kindle 4
KeyError when changing libraries

Win7 64-bit v0.9.35

Had 2 libraries. Dave and NotMe. Switched to NotMe and used Library icon to rename Dave to Me.

Now if I switch to NotMe no problem. If I switch to Me I get

Code:
calibre, version 0.9.35
ERROR: Unhandled exception: <b>KeyError</b>:u'Me'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\__init__.py", line 381, in dispatch
  File "site-packages\calibre\gui2\actions\choose_library.py", line 494, in switch_requested
  File "site-packages\calibre\gui2\ui.py", line 612, in library_moved
  File "calibre_plugins.view_manager.action", line 51, in library_changed
  File "calibre_plugins.view_manager.action", line 45, in initialization_complete
  File "calibre_plugins.view_manager.action", line 92, in check_switch_to_last_view_for_library
  File "calibre_plugins.view_manager.action", line 120, in switch_view
KeyError: u'Me'
It does switch libraries, but shows wrong library name under icon.
Reboot does not help.

I get this if I use Library maintenance -> Check library
Code:
calibre, version 0.9.35
ERROR: Unhandled exception: <b>KeyError</b>:u'Me'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\actions\choose_library.py", line 426, in check_library
  File "site-packages\calibre\gui2\ui.py", line 612, in library_moved
  File "calibre_plugins.view_manager.action", line 51, in library_changed
  File "calibre_plugins.view_manager.action", line 45, in initialization_complete
  File "calibre_plugins.view_manager.action", line 92, in check_switch_to_last_view_for_library
  File "calibre_plugins.view_manager.action", line 120, in switch_view
KeyError: u'Me'

Last edited by macnab69; 06-29-2013 at 10:26 AM.
macnab69 is offline   Reply With Quote