View Single Post
Old 03-03-2022, 11:27 AM   #1
Reader47
Junior Member
Reader47 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2022
Device: Kindle Fire
Error: Unhandled Exception & Can't add books.

Hello
I was consolidating libraries from several different computers onto my portable external hard drive. I haven't cleaned out doubles yet, so it's about 200K books. Now, when I try to add books from a file or folder, the process starts then just hangs at 0%. Also, when i try to click on any author, series, etc., i get the following:

calibre, version 5.34.0
ERROR: Unhandled exception: <b>MemoryError</b>:
Spoiler:

calibre 5.34 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Category Tags (0, 1, 3) && Clipboard Search (1, 3, 1) && EpubCheck (0, 2, 4) && EpubMerge (2, 11, 0) && EpubSplit (3, 1, 0) && Find Duplicates (1, 8, 10) && Kindle Collections (1, 7, 29) && Manage Series (1, 2, 11) && Reading List (1, 7, 6)
Traceback (most recent call last):
File "calibre\gui2\library\views.py", line 1357, in search_proxy
File "calibre\gui2\library\models.py", line 495, in search
File "calibre\db\view.py", line 273, in search
File "calibre\db\view.py", line 308, in search_getting_ids
File "calibre\db\cache.py", line 75, in call_func_with_lock
File "calibre\db\cache.py", line 1123, in search
File "calibre\db\search.py", line 932, in __call__
File "calibre\db\search.py", line 994, in _do_search
File "calibre\db\search.py", line 496, in parse
File "calibre\utils\search_query_parser.py", line 365, in parse
File "calibre\utils\search_query_parser.py", line 392, in _parse
File "calibre\utils\search_query_parser.py", line 400, in evaluate
File "calibre\utils\search_query_parser.py", line 449, in evaluate_token
File "calibre\utils\search_query_parser.py", line 453, in _get_matches
File "calibre\db\search.py", line 697, in get_matches
MemoryError



When I tried to run the library repair function, i got this:
calibre, version 5.34.0
Spoiler:

ERROR: Unhandled exception: <b>MemoryError</b>:

calibre 5.34 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Category Tags (0, 1, 3) && Clipboard Search (1, 3, 1) && EpubCheck (0, 2, 4) && EpubMerge (2, 11, 0) && EpubSplit (3, 1, 0) && Find Duplicates (1, 8, 10) && Kindle Collections (1, 7, 29) && Manage Series (1, 2, 11) && Reading List (1, 7, 6)
Traceback (most recent call last):
File "calibre\gui2\actions\choose_library.py", line 653, in check_library
File "calibre\gui2\ui.py", line 854, in library_moved
File "calibre\db\legacy.py", line 193, in __init__
File "calibre\db\cache.py", line 395, in init
File "calibre\db\backend.py", line 1339, in read_tables
File "calibre\db\tables.py", line 110, in read
MemoryError



I tried copying the entire library into a new folder and opening that one instead, as suggested in a prior post. That produced a separate error.

Any help would be appreciated.
Thank you

Last edited by theducks; 03-03-2022 at 04:40 PM. Reason: spoilered
Reader47 is offline   Reply With Quote