Re: weird "can't adapt" error

2007-11-22 Thread Jarek Zgoda
Michael napisaƂ(a): > Thanks Thomas... your shot in the dark hit it's mark for me :) > > I was suffering the same "can't adapt" psycopg2 error (worked fine > with sqlite), but it was due to the exact reason you stated. > > Although your solution is probably better in the long run, another >

Re: weird "can't adapt" error

2007-11-22 Thread Sandro Dentella
On Tue, Nov 20, 2007 at 03:04:09PM -0600, Jeremy Dunck wrote: > > On Oct 26, 2007 2:47 AM, sandro dentella <[EMAIL PROTECTED]> wrote: > ... > > > > once again I stumble into this problem. This time I gathered some > > more > > info so I describe them. > >

Re: weird "can't adapt" error

2007-11-20 Thread Michael
Thanks Thomas... your shot in the dark hit it's mark for me :) I was suffering the same "can't adapt" psycopg2 error (worked fine with sqlite), but it was due to the exact reason you stated. Although your solution is probably better in the long run, another solution is to simply convert the

Re: weird "can't adapt" error

2007-11-20 Thread [EMAIL PROTECTED]
This is just a shot in the dark, but I just solved a similar problem that just popped up for me. I noticed that you are creating slugs for your object near where the error happens. I had the exact same error happen when creating slugified names. It turned out that I was calling the built-in

Re: weird "can't adapt" error

2007-11-20 Thread Jarek Zgoda
OK, filed a ticket, but really I do not have any idea as what might be "usable information" in this case, just copied what I posted here. What makes me thinking there's a bug somewhere, is that the code works for psycopg and sqlite3, but fails for psycopg2. On 20 Lis, 22:06, "Jeremy Dunck"

Re: weird "can't adapt" error

2007-11-20 Thread Jeremy Dunck
"Can't adapt" is quite a vague error that psycopg2 issues. Your issue is (apparently) something to do with encoding, and that's different than Sandro's issue. Please include more information, especially if you do decide to file a ticket. I can't help with the info given so far... On Nov 20,

Re: weird "can't adapt" error

2007-11-20 Thread Jeremy Dunck
On Oct 26, 2007 2:47 AM, sandro dentella <[EMAIL PROTECTED]> wrote: ... > > once again I stumble into this problem. This time I gathered some > more > info so I describe them. http://groups.google.com/group/django-users/browse_thread/thread/091aa6c088f6c090 I understand you're running wsgi

Re: weird "can't adapt" error

2007-11-20 Thread Jarek Zgoda
The problem in my case seems to be strictly related to psycopg2 backend. I tried with psycopg and it does not happens. Should I file a ticket? On 20 Lis, 10:17, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > I just started receiving the same problem when I try to save an object > that has non-ASCII

Re: weird "can't adapt" error

2007-11-20 Thread Sandro Dentella
On Tue, Nov 20, 2007 at 01:17:50AM -0800, Jarek Zgoda wrote: > > I just started receiving the same problem when I try to save an object > that has non-ASCII values in char field (the values are all properly > decoded to unicode)> This seems related to psycopg2 backend, as I do > not observe such

Re: weird "can't adapt" error

2007-11-20 Thread Jarek Zgoda
I just started receiving the same problem when I try to save an object that has non-ASCII values in char field (the values are all properly decoded to unicode)> This seems related to psycopg2 backend, as I do not observe such behaviour on my dev server with sqlite3 backend. The model is similar

Re: weird "can't adapt" error

2007-10-26 Thread sandro dentella
On 26 Set, 12:59, Sandro Dentella <[EMAIL PROTECTED]> wrote: > Hi, > > I'm meeting a weird problem in a django application. > It works w/o any problem from my pc connecting remotely to my customer's > apache but is not working inside the lan. > > I'm connecting from firefox/ubuntu they're

weird "can't adapt" error

2007-09-26 Thread Sandro Dentella
Hi, I'm meeting a weird problem in a django application. It works w/o any problem from my pc connecting remotely to my customer's apache but is not working inside the lan. I'm connecting from firefox/ubuntu they're connecting from firefox/XP. the weird part is that: 1. they