Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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
Old 06-29-2013, 10:30 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by macnab69 View Post
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.
That appears to be a 'View Manager' Plugin error.
Did you change something (about 'Me', like rename ) after you created the 'View' configuration?
theducks is offline   Reply With Quote
Advert
Old 06-29-2013, 10:41 AM   #3
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
I removed View Manager from the toolbar.
macnab69 is offline   Reply With Quote
Old 06-29-2013, 10:46 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by macnab69 View Post
I removed View Manager from the toolbar.
Removing from the Toolbar, does not remove the Plugin (just makes it hard to use)

Preferences: Plugins: (Probably in.I don't have this one.) User Interface Action select and use the appropriate button below
theducks is offline   Reply With Quote
Old 06-29-2013, 10:48 AM   #5
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
About to do that, just doing a backup of library first.
macnab69 is offline   Reply With Quote
Advert
Old 06-29-2013, 11:18 AM   #6
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
Uninstalling the plug-in fixed it. Thanks.
macnab69 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't start - KeyError: <type 'tuple'> anthonyliu Calibre 2 10-08-2012 03:26 AM
unhandled exception KeyError:'draw_hidden_section_indicators" Troubled Calibre 3 10-01-2012 09:30 AM
Libraries are changing speakingtohe General Discussions 1 01-31-2012 08:33 PM
CNN article on Changing/Future Libraries kennyc News 0 09-04-2009 02:32 PM
Changing Libraries.. US to UK M0zza Sony Reader 11 04-14-2009 12:27 PM


All times are GMT -4. The time now is 03:53 PM.


MobileRead.com is a privately owned, operated and funded community.