On 3/27/06, Jonathan LaCour <[EMAIL PROTECTED]> wrote:
>    File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/turbogears/
> identity/soprovider.py", line 193, in validate_identity
>      user= user_class.byUserId( user_name )
>    File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/SQLObject-0.7.1dev_r1588-py2.4.egg/sqlobject/
> dbconnection.py", line 297, in _executeRetry
>      return cursor.execute(query)
> TypeError: argument 1 must be str, not unicode
> ------------------------------------------------------------------------
> ------
>
> Any idea whats going on?  How do I fix it?  There has been a mad rush
> of people trying to install Fast Track, and I want to make sure this
> works for everyone as soon as possible :)

userId in TG_User is, in fact, a UnicodeCol. So, that implies that the
column validator is not being applied before the query string is put
together. It's hard to imagine that this is a new bug in SQLObject,
but it's possible.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to