crashes on change library

Bug #1228517 reported by turiaso on 2013-09-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

calibre 1.4 Portable isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\dialogs\choose_library.py", line 132, in accept
  File "site-packages\calibre\gui2\dialogs\choose_library.py", line 107, in perform_action
  File "site-packages\calibre\gui2\actions\choose_library.py", line 580, in choose_library_callback
  File "site-packages\calibre\gui2\ui.py", line 621, in library_moved
  File "site-packages\calibre\gui2\tag_browser\view.py", line 179, in set_database
  File "site-packages\calibre\gui2\tag_browser\model.py", line 280, in set_database
  File "site-packages\calibre\gui2\tag_browser\model.py", line 303, in _run_rebuild
  File "site-packages\calibre\gui2\tag_browser\model.py", line 308, in _rebuild_node_tree
  File "site-packages\calibre\gui2\tag_browser\model.py", line 854, in _get_category_nodes
  File "site-packages\calibre\db\legacy.py", line 776, in <lambda>
  File "site-packages\calibre\db\cache.py", line 873, in get_categories
  File "site-packages\calibre\db\categories.py", line 138, in get_categories
  File "site-packages\calibre\db\fields.py", line 456, in book_value_map
  File "site-packages\calibre\db\fields.py", line 455, in <dictcomp>
KeyError: 1

Attach the metadata.db file from the library you are unable to change
to.

 status incomplete

Changed in calibre:
status: New → Incomplete
turiaso (turiaso2007) wrote :

File attached.

Thanks in advance

Changed in calibre:
status: Incomplete → New

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments