Hi Jorge,

You're passing unicode string to SQLObject which it (underlying db driver, to 
be precise) cannot handle.

Here:

user= user_class.by_user_name( user_name )

user_name must be encoded string here.

I can speculate that it works on other machines either because they do not have 
decoding_filter enabled or use different DB API driver.

I have patched soprovider.py, please try it out and let me know if it helped 
(see r1354.

> I'm trying to setup some code to run on a demonstration server here and I
> can't find out how I solved this problem on my development machine and on the
> deployment server.  I thought we have solved that but it looks like it is
> still present...
> 
> This is from the 1.0 branch, with code that already runs fine on two other
> machines.  sitecustomize.py is in place setting the default encoding to utf-8
> (but even if I remove it I get the same error...).
> 
> This is right after I type my login and password at the standard login form
> (I've just added the name to the button, because of identity changes).
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to