[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Unable to convert QVariant to Python object?
From: Matic Kukovec <kukovecmatic () hotmail ! com>
Date: 2022-06-04 9:06:16
Message-ID: VE1PR09MB32804227035059D11C9C6A79D7A09 () VE1PR09MB3280 ! eurprd09 ! prod ! outlook ! com
[Download RAW message or body]
Sorry, I was premature. It seems that I'm catching this error somewhere dee=
p 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@hotmail.com>
Sent: Friday, June 3, 2022 8:57 PM
To: PyQt@riverbankcomputing.com <pyqt@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 loc=
ate where it is.
Thanks,
Matic
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" \
class="elementToProof"> Sorry, I was premature. It seems that I'm catching this error somewhere \
deep in my code and</div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: \
12pt; color: rgb(0, 0, 0);" class="elementToProof"> I don't know where yet. That is why it's \
not stopping the program execution.<br> </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" \
class="elementToProof"> <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" \
class="elementToProof"> Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" \
class="elementToProof"> Matic<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" \
color="#000000"><b>From:</b> Matic Kukovec <kukovecmatic@hotmail.com><br> <b>Sent:</b> \
Friday, June 3, 2022 8:57 PM<br> <b>To:</b> PyQt@riverbankcomputing.com \
<pyqt@riverbankcomputing.com><br> <b>Subject:</b> Unable to convert QVariant to Python \
object?</font> <div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Hi,</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> does anyone know how to locate where an error of type:</div>
<blockquote style="margin-top:0; margin-bottom:0">
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <i><b>TypeError: unable to convert a QVariant back to a Python \
Object</b></i></div> </blockquote>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> in the code?</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> This error appears in PyQt6 code, but not in PyQt5, and I cannot easily \
locate where it is.</div> <div class="x_elementToProof" \
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Thanks,
<div>Matic</div>
<br>
</div>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic