Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 01-08-2022, 11:29 AM   #2
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
Hi @rollsrice.
As you are using the beta version of Calibre 6 (v5.99.2), this error is already known and a fix is in the pipeline to fix it in a later beta. https://github.com/kovidgoyal/calibr...34bc5982f91dca
georgemk is online now   Reply With Quote
Advert
Old 01-08-2022, 11:52 AM   #3
rollsrice
Junior Member
rollsrice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2022
Device: Kindle
Yea I'm using the beta. That's good to know! Do you know if there are any nightly builds or more recent builds of the beta I could use?
rollsrice is offline   Reply With Quote
Old 01-08-2022, 12:07 PM   #4
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
The latest beta is put up here https://download.calibre-ebook.com/betas/ so you're on the latest.

You can try running from source if you wish which would include the meta data fix. The instructions on running from source are at https://manual.calibre-ebook.com/develop.html
georgemk is online now   Reply With Quote
Old 01-09-2022, 07:36 AM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Discussion of the beta is taking place in Plugin devs: Upcoming migration to Qt 6. Errors like this can be reported there. And Kovid will announce any new betas there as well.
davidfor is offline   Reply With Quote
Advert
Old 01-11-2022, 08:57 PM   #6
rollsrice
Junior Member
rollsrice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2022
Device: Kindle
AH I didn't know there was a dedicated thread davidfor. Thanks! I'll post any future issues there and watch out for future beta releases.
rollsrice is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Review downloaded metadata has no "Previous" button qwertyuio Library Management 0 06-14-2021 03:33 AM
In "Review Downloaded Metadata" window, how can I remove 2 fields (Language; Rating)? droopy Library Management 6 07-23-2020 12:54 PM
I always choose to review downloaded metadata, and never "Yes, accept". HBU? droopy Library Management 6 06-20-2020 06:54 AM
No "Back" button in Review downloaded metadata tool? eater Library Management 1 10-05-2019 11:44 AM
Adding a field to the "Review Downloaded Metadata" screen amyk0202 Library Management 4 04-22-2015 09:46 PM


All times are GMT -4. The time now is 05:48 PM.


MobileRead.com is a privately owned, operated and funded community.