#185 Exception when using new MySQLdb and UnicodeCol

closed
nobody
MySQL (29)
5
2006-07-14
2006-07-04
No

SQLObject-0.7.1b1-py2.4.egg
MySQL Server 5.0
Windows XP SP 2

MySQL-python.exe-1.2.0.win32-py2.4.zip
MySQL-python.exe-1.2.1_p2.win32-py2.4.exe

The attached test-script 'SQLObject_test.py' works only
when using MySQL-python.exe-1.2.0.win32-py2.4.zip, but
fails when using MySQL-python.exe-1.2.1_p2.win32-py2.4.exe.

The second attachment 'MySQLdb_test.py' which uses
MySQLdb directly, works with both versions of the
connector.

Discussion

  • Markus Gritsch

    Markus Gritsch - 2006-07-04

    Logged In: YES
    user_id=553904

    Additional Note: Even if SQLObject can store the unicode
    string in the DB (and can also retrieve it correctly) when
    using MySQL-python.exe-1.2.0.win32-py2.4.zip, I think it is
    stored incorrectly in the DB, because when looking at the
    value with MySQL Query Browser, it is displayed containing
    strange characters.

     
  • Markus Gritsch

    Markus Gritsch - 2006-07-14
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks