View Single Post
Old 11-12-2018, 08:49 PM   #1
ChipAHoy
Thistle Sifter
ChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notesChipAHoy can name that song in three notes
 
ChipAHoy's Avatar
 
Posts: 187
Karma: 24088
Join Date: Sep 2016
Location: San Diego
Device: Kindle Paperwhite
Question [MacOS] read-only database

When I click on Calibre Library, then Switch/Create Library, a pop-up says:

Read Only Error; attempt to write a read-only database.

I don't know where this database is, and I am not sure where my Calibre library resides, or if I messed it up, or maybe I just have an e-book list.

I was attempting to create a new library with the ebooks I have.

Thanks for any help.

Chip

calibre, version 3.34.0
ERROR: Unhandled exception: <b>ReadOnlyError</b>:ReadOnlyError: attempt to write a readonly database

calibre 3.34 embedded-python: True is64bit: True
Darwin-18.2.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '18.2.0', 'Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64')
Python 2.7.12
OSX: ('10.14.1', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 10, 0) && Package KFX (from KFX Input) (1, 10, 0) && Goodreads Sync (1, 12, 1) && Reading List (1, 6, 6) && Quality Check (1, 9, 11) && Set KFX metadata (from KFX Output) (1, 24, 0) && KFX Output (1, 24, 0) && X-Ray Creator (3, 2, 0) && KFX metadata reader (from KFX Input) (1, 10, 0) && KFX Input (1, 10, 0) && Clean Metadata (0, 0, 6) && Goodreads (1, 3, 0) && Wiki Reader (2, 1, 0) && EpubCheck (0, 1, 3) && Find Duplicates (1, 6, 3) && KindleUnpack - The Plugin (0, 81, 5) && Kindle Collections (1, 7, 21)
Traceback (most recent call last):
File "site-packages/calibre/gui2/actions/choose_library.py", line 612, in choose_library
File "site-packages/calibre/gui2/library/views.py", line 636, in save_state
File "site-packages/calibre/gui2/library/views.py", line 630, in write_state
File "site-packages/calibre/db/cache.py", line 63, in call_func_with_lock
File "site-packages/calibre/db/cache.py", line 617, in set_pref
File "site-packages/calibre/db/backend.py", line 134, in set
File "site-packages/calibre/db/backend.py", line 130, in __setitem__
File "site-packages/calibre/db/backend.py", line 845, in execute
File "src/cursor.c", line 236, in resetcursor
ReadOnlyError: ReadOnlyError: attempt to write a readonly database
ChipAHoy is offline   Reply With Quote