Re: can't adapt type 'Decimal'

2010-08-24 Thread Gabriel Farrell
(I tried to post the below in a comment at poupou's site (http:// www.defitek.com/blog/2010/06/29/cant-adapt-type-decimal-error-with-django-apache-postgresql-psycopg2/), but kept getting errors.) Just ran into the same problem. In my mod_wsgi config I had: WSGIDaemonProcess site1

Re: can't adapt type 'Decimal'

2010-06-28 Thread poupou
I confirm that everything is working fine now. Thank you again. On 25 juin, 13:12, poupou wrote: > Yes I'm running two sites on the same server.  Only difference with > you is that I'm running it with virtual host. > > I modifier my Apache config, now it looks like

Re: can't adapt type 'Decimal'

2010-06-25 Thread poupou
Yes I'm running two sites on the same server. Only difference with you is that I'm running it with virtual host. I modifier my Apache config, now it looks like this : ServerName site1.com WSGIDaemonProcess site1 WSGIScriptAlias / /var/www/site1.wsgi process-group=site1

Re: can't adapt type 'Decimal'

2010-06-25 Thread Stuart
On Jun 25, 8:06 am, poupou wrote: > >   Of the 2 web site that I have, It only happens where I make request > using the the Q objects. > If you have two django sites/projects on the same server (e.g. http://myserver/app1 and http://myserver/app2) and you are using

Re: can't adapt type 'Decimal'

2010-06-25 Thread Stuart
On Jun 25, 8:06 am, poupou wrote: > >   Of the 2 web site that I have, It only happens where I make request > using the the Q objects. > Your problem sounds like the problem I just went through. I assume you are using mod_wsgi. Are the two sites on the same server? For

can't adapt type 'Decimal'

2010-06-25 Thread poupou
Hi, I'm getting the error "can't adapt type 'Decimal'" from time to time in my Django web site. Once I restart Apache it will works for few hours, then some users will start to get this error. Of the 2 web site that I have, It only happens where I make request using the the