[PyQt] TypeError: 'int' object is not callable, running qtdemo.py

Mitchell Model MLMConsulting at comcast.net
Mon Nov 23 18:20:43 GMT 2009

I am new to Qt and PyQt, though very experienced in all other relevant  
aspects of the situation.

When I run qtdemo from a terminal I get a slew of error messages:
	TypeError: 'int' object is not callable
Everything seems to work. Is this something I should worry about?

Mac OS 10.5.8 (Leopard)
Qt installed with the downloaded installer
The qtdemo application installed into /Developer/Applications/Qt runs  

sip 4.9.3
	python configure.py --arch i386
	sudo make install
	python configure.py --use-arch i386
	sudo make install

navigate to examples/demos/qtdemo
python3 qtdemo.py

The frequency suggests something to do with the event loop.
If I run under a debugger I can see the errors happening as soon as  
this line near the end of the file is executed
If I switch to the terminal window from which qtdemo was run and type  
something as a marker then go back to qtdemo I can see that the  
message was repeated about 150 times since I typed the marker.

More information about the PyQt mailing list