Re: Strange ProgrammingError - What causes it?

2008-07-17 Thread andrewljohnson
Thanks Karen... I'll poke around a bit. On Jul 17, 4:44 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 5:02 PM, andrewljohnson <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > I am getting a strange programming error, and I wonder what causes it? > > > The Error > > =

Re: Strange ProgrammingError - What causes it?

2008-07-17 Thread andrewljohnson
I am using the current SVN version. On Jul 17, 4:14 pm, Julien Phalip <[EMAIL PROTECTED]> wrote: > Which version of Django are you using? > > As a first attempt, I'd replace your __str__ method by __unicode__ and > replace the calls to 'str' by 'unicode'. > > On Jul 18, 7:02 am, andrewljohnson <[

Re: Strange ProgrammingError - What causes it?

2008-07-17 Thread Karen Tracey
On Thu, Jul 17, 2008 at 5:02 PM, andrewljohnson <[EMAIL PROTECTED]> wrote: > > Hi, > > I am getting a strange programming error, and I wonder what causes it? > > The Error > > ProgrammingError at /trips/viewtrip/2/ > ERROR: current transaction is aborted, commands ignored until end of > t

Re: Strange ProgrammingError - What causes it?

2008-07-17 Thread Julien Phalip
Seems like it could be, as you say, related to a problem with psycopg, see: http://groups.google.com/group/comp.lang.python/browse_thread/thread/8e78649ac40472fe/ On Jul 18, 9:14 am, Julien Phalip <[EMAIL PROTECTED]> wrote: > Which version of Django are you using? > > As a first attempt, I'd re

Re: Strange ProgrammingError - What causes it?

2008-07-17 Thread Julien Phalip
Which version of Django are you using? As a first attempt, I'd replace your __str__ method by __unicode__ and replace the calls to 'str' by 'unicode'. On Jul 18, 7:02 am, andrewljohnson <[EMAIL PROTECTED]> wrote: > Hi, > > I am getting a strange programming error, and I wonder what causes it? >

Strange ProgrammingError - What causes it?

2008-07-17 Thread andrewljohnson
Hi, I am getting a strange programming error, and I wonder what causes it? The Error ProgrammingError at /trips/viewtrip/2/ ERROR: current transaction is aborted, commands ignored until end of transaction block SET client_encoding to 'UNICODE' This error is triggered by calling {{trip.