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

Andrej Falout andrej at falout.org
Mon Aug 3 18:59:52 PDT 2009


Hello,

I see that this bug is now marked "eventually", meaning that I still cannot
use Tahoe with allmydata.com at all... at least not with my backup scripts
and Unicode file names :-(

What is the status of Unicode patch in 1.5? Is it applied? If not, was it
updated at all?

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.

Thanks,
Andrej Falout



On Fri, Jun 12, 2009 at 6:36 PM, tahoe-lafs <trac at allmydata.org> wrote:

> #734: Tahoe CLI with unicode patches applied fails when stdout is
> redirected
>
> -------------------------------+--------------------------------------------
>  Reporter:  francois           |           Owner:
>     Type:  defect             |          Status:  new
>  Priority:  major              |       Milestone:  1.5.0
> Component:  code-frontend-cli  |         Version:  1.4.1
>  Keywords:                     |   Launchpad_bug:
>
> -------------------------------+--------------------------------------------
>  Andrej Falout reported this bug on the mailing-list.
>
>  http://allmydata.org/pipermail/tahoe-dev/2009-June/001969.html
>
>  {{{
>  andrej at polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe> tahoe ls
>  --node-directory='/home/andrej/.tahoe-allmydata.com/' tahoe:'/' >
>  /dev/null
>  Traceback (most recent call last):
>   File "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/support/bin/tahoe", line
>  8, in <module>
>     load_entry_point('allmydata-tahoe==1.4.1-r3926', 'console_scripts',
>  'tahoe')()
>   File
>
>  "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/runner.py",
>  line 91, in run
>     rc = runner(sys.argv[1:])
>   File
>
>  "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/runner.py",
>  line 78, in runner
>     rc = cli.dispatch[command](so)
>   File
>  "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/cli.py",
>  line 385, in list
>     rc = tahoe_ls.list(options)
>   File
>
>  "/usr/src/tahoe/darcs/09-06-11_19-00/tahoe/src/allmydata/scripts/tahoe_ls.py",
>  line 125, in list
>     line.append(unicode_to_stdout(name) + classify)
>   File
>
>  "/usr/src/tahoe/darcs/09-06-11_19-00/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
>  }}}
>
>
>  {{{
>  andrej at polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe> tahoe --version
>  allmydata-tahoe: 1.4.1-r3926, foolscap: 0.4.1, pycryptopp: 0.5.12, zfec:
>  1.4.4, Twisted: 8.2.0, Nevow: 0.9.32, zope.interface: 3.5.0, python:
>  2.6.0,
>  platform: Linux-SuSE_11.1-x86_64-64bit_ELF, sqlite: 3.6.4, simplejson:
>  2.0.7, argparse: 0.8.0, pyOpenSSL: 0.7, pyutil: 1.3.30, zbase32: 1.1.1,
>  setuptools: 0.6c12dev, pysqlite: 2.4.1
>  andrej at polar:/usr/src/tahoe/darcs/09-06-11_19-00/tahoe>
>  }}}
>
> --
> Ticket URL: <http://allmydata.org/trac/tahoe/ticket/734>
> tahoe-lafs <http://allmydata.org>
> secure decentralized file storage grid
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://allmydata.org/pipermail/tahoe-dev/attachments/20090804/09f112e5/attachment.htm 


More information about the tahoe-dev mailing list