[PyQt] segmentation fault

David Boddie david at boddie.org.uk
Fri Oct 19 00:21:26 BST 2007


On Thursday 18 October 2007 11:17:36 +0200, lucaberto wrote:

> Hello Again at all:
> i get segmentation fault and i can't debug in this script:

[...]

>     def file_information(self):
>         val = self.treeWidget.currentItem()
>         indice = self.treeWidget.indexFromItem(val, 0)
>
> in this instruction :
>
> indice = self.treeWidget.indexFromItem(val, 0)

Can you tell us what "val" contains? Is it "None"?

David




More information about the PyQt mailing list