Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2020
Device: Windows 10 PC & Android 10 Essential PH-1
|
Unhandled Exception Error
Since updating to Calibre 4.12, every time I select a book or try to use the search bar, I get the following error:
calibre, version 4.10.1
ERROR: Unhandled exception: <b>IOError</b>:[Errno 22] Invalid argument
calibre 4.10.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 31, 0) && DeDRM (6, 6, 3) && Package KFX (from KFX Input) (1, 31, 0) && KFX metadata reader (from KFX Input) (1, 31, 0) && KFX Input (1, 31, 0) && Count Pages (1, 9, 0) && Set KFX metadata (from KFX Output) (1, 40, 0) && KFX Output (1, 40, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 577, in current_changed
File "site-packages\calibre\gui2\library\models.py", line 562, in get_book_display_info
File "site-packages\calibre\gui2\library\models.py", line 740, in cover
File "site-packages\calibre\db\legacy.py", line 339, in cover
File "site-packages\calibre\db\cache.py", line 682, in cover
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 723, in copy_cover_to
File "site-packages\calibre\db\backend.py", line 1401, in copy_cover_to
File "shutil.py", line 63, in copyfileobj
IOError: [Errno 22] Invalid argument
After getting the error numerous times and finding no solutions online, I downgraded to 4.10.1 but continued to receive the error (as you can see in the copied message above). I have Python downloaded on my PC, so I tried upgrading to Python 3.8.2, but that also didn't change anything.
I have my Calibre library set as a folder in my Box drive (because I found that to be the best way to sync with my phone and other devices). I think this may be what is causing the issue (although I don't know why, because it gave me no problems previously), but ran into yet another error when I tried to move the library to a local folder in my Documents:
calibre, version 4.10.1
ERROR: Failed to move library: There was an error while moving the library. The operation has been aborted. Click "Show details" for details.
Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\choose_library.py", line 145, in do_move
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 2033, in move_library_to
File "site-packages\calibre\db\backend.py", line 1788, in move_library_to
File "site-packages\calibre\utils\filenames.py", line 629, in copytree_using_links
File "site-packages\calibre\utils\filenames.py", line 570, in copyfile
File "shutil.py", line 98, in copyfile
File "shutil.py", line 63, in copyfileobj
IOError: [Errno 22] Invalid argument
Thanks for any help you can give me!
|