Calibre won't read metadata.db
I've been getting an error message when I try to change preferences or load a book into the program.
Using it on Linux, Ubuntu 9.10, with the latest version (I think) of Calibre.
I've tried changing the permissions (initially they were root) and that hasn't worked.
The errors are:
A Tree Rustling over a Gravesite by Dennis Kiingati.pdf
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/add.py", line 83, in run
title = self.add(id, opf, cover, name)
File "/usr/lib/calibre/calibre/gui2/add.py", line 128, in add
id = self.db.create_book_entry(mi, cover=cover, add_duplicates=False)
File "/usr/lib/calibre/calibre/library/database2.py", line 1371, in create_book_entry
(title, series_index, aus))
File "/usr/lib/calibre/calibre/library/sqlite.py", line 170, in run
DatabaseException: attempt to write a readonly database
RemoteTraceback (most recent call last):
File "/usr/lib/calibre/calibre/library/sqlite.py", line 141, in run
ok, res = True, func(*args, **kwargs)
OperationalError: attempt to write a readonly database
Can someone advise how to fix the problems?