On Tue, Feb 06, 2007 at 10:19:19AM -0600, Jim Steil wrote:
> But, I'm not creating the 'query', SQLObject, or something else is. I'm
SQLObject, of course.
> just assigning values to my object with the following:
>
> o = OrderHistory(orderNumber=int(orderNumber),
> orderSequence=int(orderSequ
eenFaxed=hasBeenFaxed.encode('utf8'), fobCode=fobCode.encode('utf8'))
How am I to tell what is causing the problem?
-Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oleg
Broytmann
Sent: Tuesday, February 06, 2007
On Tue, Feb 06, 2007 at 09:31:52AM -0600, Jim Steil wrote:
> myquery = unicode(query, self.encoding)
>
> TypeError: decoding Unicode is not supported
"query" must be string here. You have passed a unicode somewhere to
SQLObject where it is not allowed.
Oleg.
--
Oleg Broytmann
Hi:
I'm getting the following exception using SQLObject. I've done some
searches to find out what to do about this, but can't seem to find a
definitive answer about what I need to do to make this go away. Is there an
easy way to fix this without specifically encoding each and every string
att