<html>
<head>
</head>
<body>
Ok but this is not the problem, I've well defined my derived classes.<br>
Problem seems to be not so simple to fix, but link with the use of the QListViewItem
class.<br>
Someone got the same problem (see in the archive about sipThis AND AttributeError).<br>
<br>
Nevertheless I cannot reproduce the problem within a simple test program.<br>
<br>
Henrik Motakef wrote:<br>
<blockquote type="cite" cite="mid:863czkmm1y.fsf@apo.hmotakef.int">
<pre wrap="">Laurent Claustre <a class="moz-txt-link-rfc2396E" href="mailto:claustre@esrf.fr"><claustre@esrf.fr></a> writes:<br><br></pre>
<blockquote type="cite">
<pre wrap="">AttributeError: sipThis<br></pre>
</blockquote>
<pre wrap=""><!----><br>One good method to get this error seems to be not calling the<br>superclasses constructor in a derived class. You should always do<br>something like:<br><br>class DerivedClass(QListViewItem):<br> def __init__(self, *args):<br> apply(QListViewItem.__init__, (self,) + args)<br><br>hth<br>Henrik<br></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
        /===============================================================\
        | Laurent Claustre | eMail: <a class="moz-txt-link-abbreviated" href="mailto:claustre@esrf.fr">claustre@esrf.fr</a> |
        | BeamLine Instrument Software | Phone: +33 (0)476 88 29 12 |
        | Support Group (BLISS) | Fax : +33 (0)476 88 25 42 |
        | Experiments Division | Central Building Room 150 |
        | ------------------------------------------------------------- |
        | European Synchrotron Radiation Facility |
        | 6 rue Jules Horowitz BP220 38042 Grenoble Cedex - France |
        \===============================================================/
</pre>
<br>
</body>
</html>