View Single Post
Old 07-02-2014, 07:28 AM   #1
mikolajek
Junior Member
mikolajek began at the beginning.
 
mikolajek's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Location: Warsaw, Poland
Device: Kindle PaperWhite IV
Problems with library located on a network drive

I've switched from a desktop PC to a notebook which resulted in migrating many of my files into NAS drives. That included Calibre library.

After a fresh Calibre install I was unable to add book or modify books in the library but I found the answer on the forum and followed that - deleted the metadata.db file and recreated library. There was some minor errors related to two books but in general that worked.

Unfortunately I'm not able to add new books to the library - Calibre claims to have added some of them (not listing them in the error dialog) but it's not true. The most recent error that keeps appearing is lited below:
Quote:
calibre, version 1.42.0
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file

calibre 1.42 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.5
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\add.py", line 42, in add_one
File "site-packages\calibre\db\legacy.py", line 211, in create_book_entry
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1390, in create_book_entry
File "site-packages\calibre\db\cache.py", line 1161, in set_metadata
File "site-packages\calibre\db\cache.py", line 984, in update_path
File "site-packages\calibre\db\backend.py", line 1486, in update_path
File "site-packages\calibre\db\tables.py", line 130, in set_path
File "site-packages\calibre\db\backend.py", line 792, in execute
File "c:\cygwin\home\kovid\sw\build\apsw-3.7.14.1-r1\src\cursor.c", line 231, in resetcursor
CantOpenError: CantOpenError: unable to open database file
I must add that I've changed the ownership of the metadata.db file to my user id and I've also enabled full control over that file so there were no restrictions placed on the operations using that file. I'm also running Calibre as an administrator. However it doesn't help.

Of course I'm familiar with the official restriction related to placed Calibre library over networked drives (as stated here) but since I've been using sumbolic link to the library I was hoping to overcome potential problems (in many cases it helps). Apparently I wasn't right.

Is anyone able to advise me on that?

Last edited by mikolajek; 07-02-2014 at 07:38 AM.
mikolajek is offline   Reply With Quote