View Single Post
Old 11-30-2020, 07:26 PM   #1
goldmantx
Junior Member
goldmantx began at the beginning.
 
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?
goldmantx is offline   Reply With Quote