[tahoe-dev] [tahoe-lafs] #734: Tahoe CLI with unicode patches applied fails when stdout is redirected

Brian Warner warner at lothar.com
Fri Aug 7 02:08:19 UTC 2009

Andrej Falout wrote:
> In the meantime, can anyone please help me with :
> Command:
> /usr/bin/python /usr/src/tahoe/darcs/09-08-05_18-15/tahoe/bin/tahoe backup --node-directory=/home/andrej/.tahoe-allmydata.com/ --verbose "/data/audio/Music/A Capella" tahoe:"Backups/polar/data/audio/Music/A Capella"
> ...
> sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless
> you use a text_factory that can interpret 8-bit bytestrings (like
> text_factory = str). It is highly recommended that you instead just
> switch your application to Unicode strings.

I think this is another instance of #629, and is occurring because your
version of sqlite is more picky about 8bit strings than mine was. I've
updated the ticket with some potential directions.. I suspect this one
should be pretty shallow, but I'll need to look more closely at sqlite
to be sure.


More information about the tahoe-dev mailing list