Aloha,
I've just downloaded the latest plain text data files and I've
updated my SQLObject with the one in the svn (0.8-r2072).

Everything works wonderfully, if not for another unicode-related bug.

No problem at insert time, but the _getTitleID() and _getNameID()
methods - used to retrieve information about movies/persons that
are quoted in a text in the _Title, The (year)_ (qv) manner - seem
to be partially broken.

The fact is: with my MySQL 5.0.18 and the latest SQLObject, even
a query like:
  res = Name.select(Name.q.name == u'Bj\xf6rk') # the icelandic singer.
  res.count()

fails with a UnicodeDecodeError.
The database tables uses (as expected) utf8_general_ci as collation.

I'm banging my head on the wall to solve this issue, but honestly
the lack of documentation about the internals of SQLObject is
seriously upsetting me. :-/

As a temporary solution, in the cvs there's a version that catches
the UnicodeDecodeError and ignores the problem (but I don't want
to ignore this problem: I want to issue a correct query to the
database...)

-- 
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to