QWebEngineErrorCertificate::type() is broken

Phil Thompson phil at riverbankcomputing.com
Mon Nov 22 15:07:27 GMT 2021


On 22/11/2021 06:32, Kovid Goyal wrote:
> 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.

The bit pattern doesn't resemble a documented value.

Do you have a test script that demonstrates the problem?

Phil


More information about the PyQt mailing list