TypeError: unsupported operand type(s) for -: 'Decimal' and 'Decimal'. Why?

Steve Holden steve at holdenweb.com
Mon Jul 30 06:54:24 EDT 2007


Gilbert Fine wrote:
> This is a very strange exception raised from somewhere in our program.
> I have no idea how this happen. And don't know how to reproduce. It
> just occurs from time to time.
> 
> Can anyone give me some suggestion to fix this?
> 
If it's raised from "somewhere in your program" the first this to do is 
disable the except clause that is apparently stopping you from getting a 
full traceback, then post that traceback with an appropriate code snippet.

People on this list are good at guessing, but it's better to give then 
some hard information to work with.

Otherwise you are calling the shop (garage?) and saying "My car doesn't 
work, can you tell me how to fix it, please?"

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------



More information about the Python-list mailing list