OK, got it running: Is this expected behavior: twisted.python.usage.UsageError: Filename 'Rotha�s Lament.mid' cannot be decoded using the current encoding of your filesystem (UTF-8). Please rename this file.
Thanks, Andrej On Wed, Feb 25, 2009 at 11:59 PM, Francois Deppierraz <[email protected]> wrote: > Andrej Falout wrote: > > > File "/usr/src/tahoe/tahoe/src/allmydata/scripts/tahoe_backup.py", > > line 241, in verboseprint > > print >>self.options.stdout, unicode_to_stdout(msg) > > File "/usr/src/tahoe/tahoe/src/allmydata/util/stringutils.py", line > > 70, in unicode_to_stdout > > return s.encode(sys.stdout.encoding, 'replace') > > TypeError: encode() argument 1 must be string, not None > > Ok, it looks like Python was not able to figure out the encoding used by > your terminal. I thought that sys.stdout.encoding would return 'ascii' > instead of None in that case. > > Can you try to apply the attached patch ? It's a standard patch this > time, you should be able to apply it using "patch -p1 < > override-none-encoding.patch". > > François > > _______________________________________________ > tahoe-dev mailing list > [email protected] > http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev > > -- Andrej Falout AU: +61 (410) 463 735 NZ: +64 (21) 0256 6825 US: +1 (360) 488 0970
_______________________________________________ tahoe-dev mailing list [email protected] http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
