View Single Post
Old 03-17-2023, 09:58 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,758
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
If 'it still works', where did that log come from?
Read what the OP wrote:

BR

Quote:
Originally Posted by thegameksk View Post
Im using onedrive for my books.

Every now and then I get

calibre, version 6.14.1

ERROR: Unhandled error: Failed to read book data from calibre library. Click "Show details" for more information

Traceback (most recent call last):
File "calibre\db\backend.py", line 1542, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

Spoiler:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\backend.py", line 1546, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\library\models.py", line 634, in current_changed
File "calibre\gui2\library\models.py", line 611, in get_book_display_info
File "calibre\gui2\library\models.py", line 806, in cover
File "calibre\db\legacy.py", line 455, in cover
File "calibre\db\cache.py", line 1004, in cover
File "calibre\db\cache.py", line 77, in call_func_with_lock
File "calibre\db\cache.py", line 1039, in copy_cover_to
File "calibre\db\backend.py", line 1549, in copy_cover_to
Exception: Failed to open 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg' with error: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

When I try to save Metadata on certain books I get:
calibre, version 6.14.1
ERROR: Unhandled exception: <b>Exception</b>:Failed to open 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg' with error: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

calibre 6.14.1 embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
File "calibre\db\backend.py", line 1542, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\backend.py", line 1546, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\actions\edit_metadata.py", line 438, in edit_metadata
File "calibre\gui2\actions\edit_metadata.py", line 461, in edit_metadata_for
File "calibre\gui2\actions\edit_metadata.py", line 491, in do_edit_metadata
File "calibre\gui2\metadata\single.py", line 1250, in edit_metadata
File "calibre\gui2\metadata\single.py", line 665, in start
File "calibre\gui2\metadata\single.py", line 701, in do_one
File "calibre\gui2\metadata\single.py", line 383, in __call__
File "calibre\gui2\metadata\basic_widgets.py", line 1274, in initialize
File "calibre\db\legacy.py", line 455, in cover
File "calibre\db\cache.py", line 1004, in cover
File "calibre\db\cache.py", line 77, in call_func_with_lock
File "calibre\db\cache.py", line 1039, in copy_cover_to
File "calibre\db\backend.py", line 1549, in copy_cover_to
Exception: Failed to open 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg' with error: [Errno 22] Invalid argument: 'C:\\Users\\ksk9\\OneDrive\\Books\\Calibre Library\\Dean Palmer\\Tea With Hitler_ The Secret Histor (12124)\\cover.jpg'

Not sure the issue. This just started happening. I tried updating calibre and it hasnt made a difference
BetterRed is offline   Reply With Quote