TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
Peter Bismuti
bismuti at gmail.com
Thu Mar 16 17:33:35 EST 2006
Strange, I don't get this error when using pure Python, only when using
PyQt.
Can anyone tell me what is going on here? Thanks!
File "/acct/pjb9508/RAT/Scripts/PyQt/RatDialog.py", line 30, in
NewClipButton_clicked
self.rat.planeClip(self.o,"SQUARE"+str(self.squareCounter),width,origin)
File "/acct/pjb9508/RAT/Scripts/PyQt/rat.py", line 12, in planeClip
plane1[1] = origin[1]-width
TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'
--
Peter Bismuti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/51b7350a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dialog.py
Type: text/x-python
Size: 5272 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/51b7350a/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RatDialog.pyc
Type: application/octet-stream
Size: 2135 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/51b7350a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rat.py
Type: text/x-python
Size: 7103 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/51b7350a/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mygui.py
Type: text/x-python
Size: 224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/51b7350a/attachment-0002.py>
More information about the Python-list
mailing list