Error: Cannot convert Decimal("0.0000") to Decimal

V

Vitaliy

Hi

I got this wired exception periodically (Python 2.5, Django based
application)
what does it mean ?
 
P

Peter Otten

Vitaliy said:
I got this wired exception periodically (Python 2.5, Django based
application)
what does it mean ?

A reload() maybe?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/decimal.py", line 617, in __new__
raise TypeError("Cannot convert %r to Decimal" % value)
TypeError: Cannot convert Decimal("0") to Decimal

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top