i finally installed it and /prog/scrape doesn't work.
nice job, guido. wasn't the whole point of continuing 2.x supposed to be for backwards compatibility?
Name:
Anonymous2009-06-24 2:45
>>11
something about 8-bit bytestrings vs unicode strings.
i fixed it by changing db.execute('INSERT INTO posts (thread, id, author, email, trip, time, body) VALUES (?, ?, ?, ?, ?, ?, ?)', b) to db.execute('INSERT INTO posts (thread, id, author, email, trip, time, body) VALUES (?, ?, ?, ?, ?, ?, ?)', [unicode(str(i).encode('string_escape')) for i in b]).