restore database without metadata.db present in directory fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
calibredb restore_database --library-
takes 2 days to look in each folder and fails with
Buntes Allerlei Nr. 5 ... 99%
Buntes Allerlei Nr. 6 ... 100%
Restoring database failed with error:
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
replace_db
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
a simple
touch /mnt/3TB/
solves this issue.
As I'm still repairing my huge, crashed library and moving folders by hand to reindex, this would be useful to just create metadata.db if there is no, as this is the goal of the game.
Currently the crash after a restore-run that took days is annoying.
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased