Unable to convert QVariant to Python object?

Matic Kukovec kukovecmatic at hotmail.com
Sat Jun 4 10:06:16 BST 2022


Sorry, I was premature. It seems that I'm catching this error somewhere deep in my code and
I don't know where yet. That is why it's not stopping the program execution.

Regards,
Matic
________________________________
From: Matic Kukovec <kukovecmatic at hotmail.com>
Sent: Friday, June 3, 2022 8:57 PM
To: PyQt at riverbankcomputing.com <pyqt at riverbankcomputing.com>
Subject: Unable to convert QVariant to Python object?

Hi,

does anyone know how to locate where an error of type:
TypeError: unable to convert a QVariant back to a Python Object
in the code?

This error appears in PyQt6 code, but not in PyQt5, and I cannot easily locate where it is.

Thanks,
Matic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220604/4678037c/attachment.htm>


More information about the PyQt mailing list