View Single Post
Old 01-08-2022, 10:55 AM   #1
rollsrice
Junior Member
rollsrice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2022
Device: Kindle
Error when "Review downloaded metadata"

Here is the error:

Code:
calibre, version 5.99.2
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for |: 'PolicyFlag' and 'PolicyFlag'

calibre 5.99.2  embedded-python: True
macOS-12.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '21.2.0', 'Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000')
Python 3.10.1
OSX: ('12.1', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins: Goodreads (1, 5, 3)
Traceback (most recent call last):
  File "calibre/gui2/proceed.py", line 209, in do_ask_question
  File "calibre/gui2/actions/edit_metadata.py", line 373, in apply_downloaded_metadata
  File "calibre/gui2/metadata/diff.py", line 623, in __init__
  File "calibre/gui2/metadata/diff.py", line 450, in __init__
  File "calibre/gui2/metadata/diff.py", line 323, in __init__
TypeError: unsupported operand type(s) for |: 'PolicyFlag' and 'PolicyFlag'

This is on Apple ARM if not clear from the error. It looks like bitwise OR is not supported for enums in Qt? It looks similar to this: https://www.mobileread.com/forums/sh...d.php?t=343490
rollsrice is offline   Reply With Quote