I am currently running three separate Django sites on a single apache
web server using named virtual hosts. Recently I've started having
issues with one of the sites that makes heavy use of the Decimal type
for monetary calculations. Basically everything works until I try to
perform some calculations on the decimals I get the following error:

unsupported operand type(s) for *: 'Decimal' and 'Decimal'

Now I remembered seeing a reference to psycopg2 having issues with
Decimals and I've found the original posts but I'm becoming less sure
that this is the same issue. For one, all the sites are now using
sqlite and are no longer using postgresql (although 2 of them USED to
be on postgres). However psycopg2 is still installed on the box.

The issue started happening more frequently lately (no idea why) and
last friday i would get about 2 page loads after restarting the server
before these calculations would fail again. I svn updated my django
install to the latest revision and it then worked fine for a couple
days before failing. There has to be some way to configure these sites
to work in conjunction. Any help or suggestions would be greatly
appreciated. I will be in the office tomorrow if seeing excepts of my
apache or django config would help.

- Justin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to