06-26-2019, 04:01 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura
|
Startup Error macOS Catalina
Hi. I installed the macOS 10.15 Beta. When I started Calibre I got this error, any ideas?
calibre, version 3.44.0 ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more. Traceback (most recent call last): File "site-packages/calibre/gui2/main.py", line 291, in initialize_db_stage2 File "site-packages/calibre/gui2/main.py", line 235, in start_gui File "site-packages/calibre/gui2/ui.py", line 372, in initialize File "site-packages/calibre/gui2/tag_browser/ui.py", line 73, in init_tag_browser_mixin File "site-packages/calibre/gui2/tag_browser/view.py", line 237, in set_database File "site-packages/calibre/gui2/tag_browser/model.py", line 366, in set_database File "site-packages/calibre/db/cache.py", line 62, in call_func_with_lock File "site-packages/calibre/db/cache.py", line 616, in set_pref File "site-packages/calibre/db/backend.py", line 134, in set File "site-packages/calibre/db/backend.py", line 128, in __setitem__ File "site-packages/calibre/db/backend.py", line 874, in execute File "src/cursor.c", line 236, in resetcursor ReadOnlyError: ReadOnlyError: attempt to write a readonly database |
06-26-2019, 04:54 AM | #2 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That indicates the metadata.db file inside the calibre library folder is read only
|
Advert | |
|
06-26-2019, 10:56 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura
|
Ah, thank you Kovid. My library is in iCloud, Apple must have changed something there. My permissions for metadata.db now say "You have unknown access." If I can't reset them, can I move metadata.db out of iCloud but keep my books there?
Moderator Notice
inline images are limited to 600x600. I moved it to an attachment. please use attachments for images or logs Last edited by theducks; 06-26-2019 at 10:59 AM. |
06-26-2019, 11:03 AM | #4 |
Well trained by Cats
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Using a Library from a cloud is unsupported and hazardous to its integrity
See Calibre FAQ's about (and everything else) About NAS and shares issues. Calibre is designed for Local Drive only. It is safe to keep a backup in the cloud (except Google drive, unless it is zipped first) |
06-26-2019, 11:14 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura
|
Thank you, I just read that FAQ. Hmm. I've had my library in iCloud for many years with no problems (until now, of course). Knowing the risk, I'd still like to know if metadata.db can be moved and my books can remain.
|
Advert | |
|
06-26-2019, 11:24 AM | #6 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use CALIBRE_OVERRIDE_DATABASE_PATH as described here https://manual.calibre-ebook.com/cus...ment-variables
|
06-27-2019, 12:58 AM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura
|
Thanks Kovid, I'm getting closer.... The 'how to set env variables' link went over my head so I googled a bit. I added this bit to my .zshrc file:
Code:
export CALIBRE_OVERRIDE_DATABASE_PATH=~/Public/metadata.db Code:
csd@mbp ~ % $CALIBRE_OVERRIDE_DATABASE_PATH zsh: permission denied: /Users/csd/Public/metadata.db |
06-27-2019, 01:04 AM | #8 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Setting an env var in zsh is useless unless you are launching calibre from within zsh. You need to set the env var system wide.
|
06-29-2019, 04:48 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura
|
Paid Troubleshooting - Calibre on macOS Catalina
It seems I'm not capable of doing this myself. I'd like to pay someone to TeamViewer into my machine and fix my calibre install me. Please PM me if you're interested.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil for Mac & macOS 10.15 Catalina | odamizu | Sigil | 26 | 12-25-2019 03:16 PM |
Notarizing App for macOS Catalina | KevinH | Development | 31 | 09-19-2019 07:52 AM |
MacOS 10.15 Catalina Beta Discussion Thread | OtinG | Apple Devices | 40 | 08-21-2019 07:51 AM |
FIX4 - calibre ebook-view error in macos high sierra | blisshome | Calibre | 4 | 12-15-2017 03:56 PM |
Error on startup | hdubec | Calibre | 3 | 01-20-2012 03:48 PM |