Sep-25-2021, 10:11 AM
(This post was last modified: Sep-25-2021, 12:16 PM by Yoriz.
Edit Reason: Added prefix
)
Hi,
What is the error reason and how can I solve it?
for x in secilen.indexes(): satirlar = '{ "row" : 2, "column": 2 }' asdds = json.loads(satirlar) tablobul = self.ui.eklenenlerTablo.item(asdds["row"], asdds["column"]) tets = tablobul.text() print(tets)I am trying to pull item content from PyQT5 table with this code. But
tets = tablobul.text()line gives an error.
AttributeError: 'NoneType' object has no attribute 'text'
What is the error reason and how can I solve it?