On Thu, Sep 28, 2006 at 10:50:11AM +0200, Mathias Winkler wrote:
> I guess you meant ._connection.cache.clear()?
Yes, exactly.
> 2006-09-28 10:46:35,361 bogi.controllers DEBUG writing headline as:
> u'ooo\xd6\xd6\xd6ooo'
> 1/Query : UPDATE news_item SET headline = ('ooo???ooo') WHERE id = (27)
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1860-py2.4.egg/sqlobject/mysql/mysqlconnection.py:75:
> Warning: Data truncated for column 'headline' at row 1
> return cursor.execute(myquery)
> 1/QueryOne: SELECT date, headline, body FROM news_item WHERE id = (27)
> 2006-09-28 10:46:35,380 bogi.controllers DEBUG written headline is:
> u'ooo???ooo'
>
> so it it all comes down to that Data truncated warning, I guess?
Seems so. I failed to understand what does it mean. Probably a problem
in unicode/ascii or ascii/unicode conversion, but what caused it?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.
|