QWebEngineErrorCertificate::type() is broken

Kovid Goyal kovid at kovidgoyal.net
Mon Nov 22 15:37:32 GMT 2021


Never mind this happens because of processing the err in a queued
signal. Which is apparently not kosher though the Qt dos dont say so.

On Mon, Nov 22, 2021 at 12:02:48PM +0530, 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.
> -- 
> _____________________________________
> 
> Dr. Kovid Goyal 
> https://www.kovidgoyal.net
> https://calibre-ebook.com
> _____________________________________
> 

-- 
_____________________________________

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


More information about the PyQt mailing list