![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle Paperwhite
|
Problem Starting up on Mac OS X Catalina
All of a sudden I am having a problem starting Calibre on my Macbook Pro w/OS X Catalina on it. It appears to hang so I ran the debug statement and it seems like my database might be hosed?
calibre 5.6 embedded-python: True is64bit: True macOS-10.15.7-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '19.6.0', 'Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64') Python 3.8.5 OSX: ('10.15.7', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: devicePixelRatio: 2.0 logicalDpi: 72.0 x 72.0 physicalDpi: 142.00000213262607 x 141.00000211760755 Using calibre Qt style: True [0.00] Starting up... [0.03] Showing splash screen... [0.39] splash screen shown [0.39] Initializing db... [0.76] db initialized [0.76] Constructing main UI... Traceback (most recent call last): File "calibre/db/lazy.py", line 179, in func KeyError: 'format_metadata' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre/utils/formatter.py", line 781, in safe_format File "calibre/utils/formatter.py", line 748, in evaluate File "string.py", line 167, in vformat File "string.py", line 207, in _vformat File "string.py", line 272, in get_field File "calibre/ebooks/metadata/book/formatter.py", line 40, in get_value File "calibre/ebooks/metadata/book/base.py", line 642, in format_field File "calibre/ebooks/metadata/book/base.py", line 703, in format_field_extended File "calibre/ebooks/metadata/book/base.py", line 220, in get File "calibre/db/lazy.py", line 330, in __getattribute__ File "calibre/db/lazy.py", line 184, in func File "calibre/db/cache.py", line 619, in format_metadata File "calibre/db/backend.py", line 1371, in format_metadata File "calibre/db/backend.py", line 1341, in format_abspath File "shutil.py", line 241, in copyfile shutil.SameFileError: '/Users/ericgoldman/Box/Calibre Library/Unknown/Following the Light (2201)/Following the Light - Unknown.pdf' and '/Users/ericgoldman/Box/Calibre Library/Unknown/Following the Light (2201)/Following the Light - Unknown.pdf' are the same file Error evaluating column named: #formats Traceback (most recent call last): File "calibre/db/lazy.py", line 179, in func KeyError: 'format_metadata' That error repeats itself over and over as it tries to read the info about the books. Any thoughts? |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
[CODE]shutil.SameFileError: '/Users/ericgoldman/Box/Calibre Library/Unknown/Following the Light (2201)/Following the Light - Unknown.pdf' and '/Users/ericgoldman/Box/Calibre Library/Unknown/Following the Light (2201)/Following the Light - Unknown.pdf' are the same file/CODE]
Is this Library on a Cloud drive or NAS? Do read the FAQ about this subject. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle Paperwhite
|
It is running in the cloud on Box.com and I have been doing it that way for 5+ years with no issues. I started it in Dropbox years and years ago and moved it when I ran out of space - "If you must share the actual library, use a file syncing tool like DropBox or rsync instead of a networked drive."
I get there are risks in running anything, just trying to see if there is anything I can do to resolve the issue. |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You ran into the case where it no longer works.
The question was not if it will fail, but WHEN. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Make sure Box is turned off while running calibre and you should be fine.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle Paperwhite
|
Thank you sir. That was the key to get in and then restore a backup which worked just fine. It did have some errors and I forgot to copy them to the clipboard and a file. Does it save that anywhere else? Are there log files saved somewhere?
Thanks again for your help Kovid. Very helpful.... |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run the check library tool (click the calibre button on the toolbar and chose Library maintenance)
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem starting calibre-server automatically at system startup (Mac) | paul55391 | Related Tools | 19 | 08-21-2023 11:08 PM |
Mac OS Catalina and Amazon | Abrasrose | Library Management | 2 | 07-31-2020 01:12 PM |
Kobo and Mac OS Catalina | French2001 | Kobo Reader | 19 | 06-26-2020 04:29 AM |
Sigil for Mac & macOS 10.15 Catalina | odamizu | Sigil | 26 | 12-25-2019 03:16 PM |
Dark theme Mac Catalina | Igor Engelen | Calibre | 1 | 11-24-2019 09:37 PM |