QWebEngineErrorCertificate::type() is broken

Kovid Goyal kovid at kovidgoyal.net
Mon Nov 22 06:32:48 GMT 2021


Calling err.type() raises a ValueError such as 

  File "/usr/lib/python3.9/enum.py", line 384, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.9/enum.py", line 702, in __new__
    raise ve_exc
ValueError: 1748234176 is not a valid QWebEngineCertificateError.Type


Looks like another signed <-> unsigned incorrect conversion.
-- 
_____________________________________

Dr. Kovid Goyal 
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list