Message5510
Database access behaves differently in Jython 2.1 and 2.5.1: Cursors return binary string in 2.1 and unicode strings in 2.5.1. I'm not sure which is the correct behaviour according to the API, but in 2.5.1, the usage of dbexts.console() will fail in line 85 as soon as one data item is not encodeable in ASCII:
85: row = map(lambda x: str(x), row)
A naïve Fix would be
85: row = map(lambda x: unicode(x), row) |
|
Date |
User |
Action |
Args |
2010-02-09 15:08:10 | w_hunger | set | recipients:
+ w_hunger |
2010-02-09 15:08:08 | w_hunger | set | messageid: <1265728088.87.0.786937186716.issue1553@psf.upfronthosting.co.za> |
2010-02-09 15:08:08 | w_hunger | link | issue1553 messages |
2010-02-09 15:08:05 | w_hunger | create | |
|