TypeError: unsupported operand type(s) for -: 'tuple' and 'tuple'

Peter Bismuti bismuti at gmail.com
Thu Mar 16 18:14:29 EST 2006


Can anyone explain this error message?

Traceback (most recent call last):
  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/883db46a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dialog.py
Type: text/x-python
Size: 5270 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/883db46a/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RatDialog.py
Type: text/x-python
Size: 1126 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/883db46a/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mygui.py
Type: text/x-python
Size: 222 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/883db46a/attachment-0002.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rat.py
Type: text/x-python
Size: 7101 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060316/883db46a/attachment-0003.py>


More information about the Python-list mailing list