Hi,
I am trying to add several books in a new and empty library, recursive through the whole path, one directory equals one ebook. But I get the following error:
Code:
usr/bin/calibredb --with-library http://localhost:8081 --username=**** --password=**** add -1 -r /path_to/ebooks/
Traceback (most recent call last):
File "site-packages/calibre/srv/cdb.py", line 48, in cdb_run
File "site-packages/calibre/db/cli/cmd_add.py", line 65, in implementation
File "site-packages/calibre/db/cli/cmd_add.py", line 55, in add_books
File "site-packages/calibre/db/cache.py", line 1592, in add_books
File "site-packages/calibre/db/cache.py", line 62, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 1552, in create_book_entry
File "site-packages/calibre/db/backend.py", line 843, in execute
File "src/cursor.c", line 236, in resetcursor
ReadOnlyError: ReadOnlyError: attempt to write a readonly database
ReadOnlyError: attempt to write a readonly database
The user issuing the command is owner of all directories and files of the path to the ebooks and the new library. So there cannot be a problem with rights management I think.
WARNING: this is calibre Version 3.7.
Any help appreciated.
Regards,
Sebastian