<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I have been taking out an old program that I wrote 2 years ago that
uses QGraphicsItem in a graph application. I get an error<br>
TypeError: 'int' object is not callable<br>
which I cannot localise. <br>
<br>
Tried lots of things with the debugger, but do not get anywhere.
Cannot isolate or localise the error source. I also downloaded
newest version of pyqt, recompiled and with the tracing switch set.
<br>
Still no results. <br>
<br>
Error occurs in various activities related to creating, moving but
also when clicking on the graph items. Not on all of them though. <br>
<br>
Any ideas on how to go about it? Looks like the error comes from
within the pyqt, but experience shows that it is most likely one
owns stupidity that is the problem.<br>
<br>
Regards<br>
Heinz Preisig<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>business</title>
<br>
<br>
<table style="text-align: left; width: 785px; height: 124px;"
border="1" cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td style="width: 50%; vertical-align: top;"><span
style="font-weight: bold;">Heinz A Preisig</span><br>
Professor of Process Systems Engineering</td>
<td style="width: 50px; vertical-align: top;"><span style=""
lang="EN-US">Private: <br>
Øvre Bakklandet 62 B, 7013 Trondheim, Norway<br>
</span></td>
</tr>
<tr>
<td style="vertical-align: top;"><span style="font-style:
italic;">Department
of Chemical Engineering</span><br>
<div style="text-align: left;"><span style="font-weight:
bold; font-style: italic;"></span><span
style="font-weight: bold; font-style: italic;">Norwegian
University
of Science and
Technology </span><span style="font-size: 12pt;
font-family: "Times New Roman";"></span><br>
</div>
<span style="font-size: 12pt; font-family: "Times New
Roman";"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:45pt;
height:45pt'>
<v:imagedata src="file:///C:\DOCUME~1\preisig\LOCALS~1\Temp\msohtml1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span
style="font-weight: bold; font-style: italic;"></span><span
style="font-style: italic;">N – 7491 Trondheim, Norway</span></td>
<td style="vertical-align: top;">Tel direct:<span style="">
</span> <span style="" lang="EN-US">+47 <span style="">
</span><span style=""> </span>735
92807<span style=""><br>
</span></span><span style="" lang="EN-US">Tel mob:<span
style=""> </span> +47 <span style=""> </span>9754
1334<br>
</span><span style="" lang="EN-US">e-mail:<span style="">
</span><a href="mailto:Heinz.Preisig@chemeng.ntnu.no">Heinz.Preisig@chemeng.ntnu.no</a><br>
</span><span style="" lang="EN-US">web:<span style="">
</span><a href="http://www.chemeng.ntnu.no/%7Epreisig">www.chemeng.ntnu.no\~preisig</a></span></td>
</tr>
</tbody>
</table>
<span style="font-weight: bold;"></span><br>
<span style="" lang="EN-US"></span>
</div>
</body>
</html>