Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2023, 06:59 AM   #1
Bluesnowan
Member
Bluesnowan began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2021
Device: Android phone/tablet win 10 pc
Failed to read book data from calibre library

So trying to check some comics I have getting this error not sure what is going on.

Please help.

calibre, version 6.11.0
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 1540, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\backend.py", line 1544, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\library\models.py", line 631, in current_changed
File "calibre\gui2\library\models.py", line 608, in get_book_display_info
File "calibre\gui2\library\models.py", line 803, in cover
File "calibre\db\legacy.py", line 447, 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 1547, in copy_cover_to
Exception: Failed to open 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg' with error: [Errno 22] Invalid argument: 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg'
Bluesnowan is offline   Reply With Quote
Old 01-16-2023, 07:05 AM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,936
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Bluesnowan View Post
Exception: Failed to open 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg' with error: [Errno 22] Invalid argument: 'D:\\Dropbox\\Calibre Library\\Unknown\\001 Lobo Annual, 1993-01-00 (#01) (d (4)\\cover.jpg'
Remove the library from Dropbox. It's not a matter of if but when it'll get damaged.
ownedbycats is offline   Reply With Quote
Advert
Old 01-16-2023, 07:14 AM   #3
Bluesnowan
Member
Bluesnowan began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2021
Device: Android phone/tablet win 10 pc
Quote:
Originally Posted by ownedbycats View Post
Remove the library from Dropbox. It's not a matter of if but when it'll get damaged.
Okay went to try that through choose calibre library and got this

calibre, version 6.11.0
ERROR: Unhandled exception: <b>PermissionError</b>:[WinError 5] Access is denied: 'D:\\'

calibre 6.11 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
Successfully initialized third party plugins: Barnes & Noble (1, 4, 0) && BookFusion Plugin (0, 7, 0) && Count Pages (1, 12, 0) && Embed Comic Metadata (1, 6, 4) && EpubMerge (2, 15, 0) && FanFicFare (4, 19, 0) && Find Duplicates (1, 10, 7) && Goodreads (1, 7, 2) && Import List (1, 9, 0) && Kindle Collections (1, 7, 29) && Kobo Books (1, 9, 2) && Reading List (1, 14, 0) && Search The Internet (1, 10, 0) && Smashwords Metadata (1, 0, 2) && Wikidata (2, 0, 0)
Traceback (most recent call last):
File "calibre\gui2\dialogs\choose_library.py", line 177, in accept
File "os.py", line 225, in makedirs
PermissionError: [WinError 5] Access is denied: 'D:\\'
Bluesnowan is offline   Reply With Quote
Old 01-16-2023, 09:55 AM   #4
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
I don't know if this is an artifact of the log:
Code:
... Access is denied: 'D:\\'
But, where did you put your library? Perhaps it's a badly named directory?
enuddleyarbl is offline   Reply With Quote
Old 01-16-2023, 05:07 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,961
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I suspect the library was removed from Dropbox external to calibre so calibre is still looking for the library on Dropbox.

The easiest fix (if it works) would be to create a new calibre library on the local hard drive in the root of the user's home directory, copy the contents of the Dropbox folder to that location and then use calibre's Swith/create new library to point to the new location and select Use the previously existing library at the new location.
DNSB is offline   Reply With Quote
Advert
Old 01-23-2023, 06:07 AM   #6
Bluesnowan
Member
Bluesnowan began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jul 2021
Device: Android phone/tablet win 10 pc
Quote:
Originally Posted by DNSB View Post
I suspect the library was removed from Dropbox external to calibre so calibre is still looking for the library on Dropbox.

The easiest fix (if it works) would be to create a new calibre library on the local hard drive in the root of the user's home directory, copy the contents of the Dropbox folder to that location and then use calibre's Swith/create new library to point to the new location and select Use the previously existing library at the new location.
Pretty Much though what I did was use calibre library to move the files to my D drive and while it now access the comics I tried fine other it seems random other books won't open with viewer or other errors such as
Spoiler:
calibre, version 6.11.0
ERROR: Loading book failed: Failed to open the book at D:\Library\Mad Snail\Rebirth of the Thief Who Roamed the (3298)\Rebirth of the Thief Who Roamed - Mad Snail.mobi. Click "Show details" for more info.

Failed to convert book: D:\Library\Mad Snail\Rebirth of the Thief Who Roamed the (3298)\Rebirth of the Thief Who Roamed - Mad Snail.mobi with error:
Initialized urlfixer
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 821, in viewer_main
File "calibre\srv\render_book.py", line 812, in render_for_viewer
File "calibre\srv\render_book.py", line 787, in render
OSError: [Errno 22] Invalid argument: 'D:\\Library\\Mad Snail\\Rebirth of the Thief Who Roamed the (3298)\\Rebirth of the Thief Who Roamed - Mad Snail.mobi'

Spoiler:
calibre, version 6.11.0
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 1540, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'D:\\Library\\Blood Brandy\\Hokage On The Run (6329)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\backend.py", line 1544, in copy_cover_to
OSError: [Errno 22] Invalid argument: 'D:\\Library\\Blood Brandy\\Hokage On The Run (6329)\\cover.jpg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\library\models.py", line 631, in current_changed
File "calibre\gui2\library\models.py", line 608, in get_book_display_info
File "calibre\gui2\library\models.py", line 803, in cover
File "calibre\db\legacy.py", line 447, 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 1547, in copy_cover_to
Exception: Failed to open 'D:\\Library\\Blood Brandy\\Hokage On The Run (6329)\\cover.jpg' with error: [Errno 22] Invalid argument: 'D:\\Library\\Blood Brandy\\Hokage On The Run (6329)\\cover.jpg'

Spoiler:
calibre, version 6.11.0
ERROR: Loading book failed: Failed to open the book at D:\Library\ArkAngel1179\A Path Paved In Ice (2864)\A Path Paved In Ice - ArkAngel1179.prc. Click "Show details" for more info.

Failed to convert book: D:\Library\ArkAngel1179\A Path Paved In Ice (2864)\A Path Paved In Ice - ArkAngel1179.prc with error:
Initialized urlfixer
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 821, in viewer_main
File "calibre\srv\render_book.py", line 812, in render_for_viewer
File "calibre\srv\render_book.py", line 787, in render
OSError: [Errno 22] Invalid argument: 'D:\\Library\\ArkAngel1179\\A Path Paved In Ice (2864)\\A Path Paved In Ice - ArkAngel1179.prc'

So should I use the Library Create empty library in new location and Copy Structure from current library into my c/users/me folder and then just move all the folders myself to that newly created library?
Bluesnowan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to Export Data - Invalid Argument Error When Exporting Data zakropotch Calibre 6 06-18-2022 06:09 PM
ERROR: Failed: Failed to export data Funkybassman Library Management 3 05-09-2020 07:22 AM
Failed to read book gricoo2017 Library Management 10 09-15-2017 05:48 AM
ERROR: Failed to create library: Failed to create calibre library at: u'F:\\Calibre B feenix1363 Calibre 1 05-10-2012 05:45 PM
'operation failed due to an error' ebook library doesn't read prs505 contents billper Sony Reader 9 04-30-2009 02:06 PM


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


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