View Single Post
Old 06-08-2012, 01:38 AM   #1
luoto
Member
luoto began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2012
Device: ipad
Storing calibre database on NAS

Hello. I am trying to store my calibre database on to a NAS drive but running it on my Mac OSX10.7. It works well on local drive (thank you to the developer for the great tool!) but to save space I want to offload it to a drive mapped on my finder.

I am not trying to let it multi user access, but despite it letting me map it to a volume through the finder, with full r/w privs, it then throws up many errors.

I then copied the data to the NAS with the move library tool and things fail with a metadata read.

calibre, version 0.8.53
WARNING: Failed to read metadata: Failed to read metadata from the following:

Till_We_Eat_Again_nodrm.pdf
Traceback (most recent call last):
File "site-packages/calibre/gui2/add.py", line 127, in start
File "site-packages/calibre/gui2/add.py", line 217, in add
File "site-packages/calibre/library/database2.py", line 3239, in create_book_entry
File "site-packages/calibre/library/database2.py", line 2094, in set_metadata
File "site-packages/calibre/library/database2.py", line 643, in set_path
File "site-packages/calibre/library/sqlite.py", line 314, in run
DatabaseException: database is locked
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 271, in run
OperationalError: database is locked


Is one of the examples.

Is there any way around this as, with all my magazines and things, it is a lot of data (plus the NAS is backed up better!).


Thank you.
luoto is offline   Reply With Quote