Hello,<br><br>I see that this bug is now marked "eventually", meaning that I still cannot use Tahoe with <a href="http://allmydata.com">allmydata.com</a> at all... at least not with my backup scripts and Unicode file names :-(<br>
<br>What is the status of Unicode patch in 1.5? Is it applied? If not, was it updated at all?<br><br>Is it really not of interest to anyone to have tahoe stdout outpout redirectable? I find it absolutely nececery, as the only way (known to me) to see what tahoe is doing and it's progress is to capture --verbose output to file, and count the files processed.<br>
<br>Thanks,<br clear="all">Andrej Falout<br><br>
<br><br><div class="gmail_quote">On Fri, Jun 12, 2009 at 6:36 PM, tahoe-lafs <span dir="ltr"><<a href="mailto:trac@allmydata.org">trac@allmydata.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#734: Tahoe CLI with unicode patches applied fails when stdout is redirected<br>
-------------------------------+--------------------------------------------<br>
Reporter: francois | Owner:<br>
Type: defect | Status: new<br>
Priority: major | Milestone: 1.5.0<br>
Component: code-frontend-cli | Version: 1.4.1<br>
Keywords: | Launchpad_bug:<br>
-------------------------------+--------------------------------------------<br>
Andrej Falout reported this bug on the mailing-list.<br>
<br>
<a href="http://allmydata.org/pipermail/tahoe-dev/2009-June/001969.html" target="_blank">http://allmydata.org/pipermail/tahoe-dev/2009-June/001969.html</a><br>
<br>
{{{<br>
andrej@polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe> tahoe ls<br>
--node-directory='/home/andrej/.<a href="http://tahoe-allmydata.com/" target="_blank">tahoe-allmydata.com/</a>' tahoe:'/' ><br>
/dev/null<br>
Traceback (most recent call last):<br>
File "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/support/bin/tahoe", line<br>
8, in <module><br>
load_entry_point('allmydata-tahoe==1.4.1-r3926', 'console_scripts',<br>
'tahoe')()<br>
File<br>
"/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/runner.py",<br>
line 91, in run<br>
rc = runner(sys.argv[1:])<br>
File<br>
"/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/runner.py",<br>
line 78, in runner<br>
rc = cli.dispatch[command](so)<br>
File<br>
"/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/cli.py",<br>
line 385, in list<br>
rc = tahoe_ls.list(options)<br>
File<br>
"/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/tahoe_ls.py",<br>
line 125, in list<br>
line.append(unicode_to_stdout(name) + classify)<br>
File<br>
"/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/util/stringutils.py",<br>
line 70, in unicode_to_stdout<br>
return s.encode(sys.stdout.encoding, 'replace')<br>
TypeError: encode() argument 1 must be string, not None<br>
}}}<br>
<br>
<br>
{{{<br>
andrej@polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe> tahoe --version<br>
allmydata-tahoe: 1.4.1-r3926, foolscap: 0.4.1, pycryptopp: 0.5.12, zfec:<br>
1.4.4, Twisted: 8.2.0, Nevow: 0.9.32, zope.interface: 3.5.0, python:<br>
2.6.0,<br>
platform: Linux-SuSE_11.1-x86_64-64bit_ELF, sqlite: 3.6.4, simplejson:<br>
2.0.7, argparse: 0.8.0, pyOpenSSL: 0.7, pyutil: 1.3.30, zbase32: 1.1.1,<br>
setuptools: 0.6c12dev, pysqlite: 2.4.1<br>
andrej@polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe><br>
}}}<br>
<font color="#888888"><br>
--<br>
Ticket URL: <<a href="http://allmydata.org/trac/tahoe/ticket/734" target="_blank">http://allmydata.org/trac/tahoe/ticket/734</a>><br>
tahoe-lafs <<a href="http://allmydata.org" target="_blank">http://allmydata.org</a>><br>
secure decentralized file storage grid<br>
_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@allmydata.org">tahoe-dev@allmydata.org</a><br>
<a href="http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
</font></blockquote></div><br>