View Single Post
Old 06-03-2024, 07:25 AM   #1
hinyarii
Junior Member
hinyarii began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2024
Device: Kobo Libra 2
Could not restore corrupted library due to NotADirectoryError

Hi all,
Just turned on Calibre today on my thumbdrive and found out my library was corrupted, in-built repair feature doesn't seem to work. I suspect I might have turned off my PC w/o ejecting one day and that corrupted it. Been trying to fix it but to no avail. Searched online for the error I got but can't seem to find anybody else that has faced this issue; ok with sending my library if it helps w troubleshooting.

Wld rly appreciate if anyb here knows how I can fix this, as it contains a lot of my files. Thank you!

calibre, version 7.12.0
ERROR: Failed to repair library: Restoring database failed, click "Show details" to see details

Traceback (most recent call last):
File "calibre\db\restore.py", line 157, in run
File "calibre\db\restore.py", line 316, in restore_books
File "calibre\db\backend.py", line 1049, in restore_notes
File "calibre\db\notes\connect.py", line 471, in restore
NotADirectoryError: [WinError 267] The directory name is invalid: 'D:\\Calibre Portable\\20w3j86v_rlib\\.calnotes\\resources\\des ktop.ini'
hinyarii is offline   Reply With Quote