[tahoe-dev] [tahoe-lafs] #534: "tahoe cp" command encoding issue

Andrej Falout andrej at falout.org
Wed Feb 25 04:09:07 PST 2009


Hm ... oops :-)

But unfortunately:

CMD: tahoe backup --verbose '/data/audio/Loops and Samples'
tahoe:'Backups/polar/data/audio/Loops and Samples'

Traceback (most recent call last):
  File "/usr/src/tahoe/tahoe/support/bin/tahoe", line 8, in <module>
    load_entry_point('allmydata-tahoe==1.3.0-r3751', 'console_scripts',
'tahoe')()
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/runner.py", line 91, in
run
    rc = runner(sys.argv[1:])
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/runner.py", line 78, in
runner
    rc = cli.dispatch[command](so)
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/cli.py", line 427, in
backup
    rc = tahoe_backup.backup(options)
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/tahoe_backup.py", line
372, in backup
    return bu.run()
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/tahoe_backup.py", line
210, in run
    new_backup_dircap = self.process(options.from_dir, latest_backup_dircap)
  File "/usr/src/tahoe/tahoe/src/allmydata/scripts/tahoe_backup.py", line
247, in process
    self.verboseprint("processing %s, olddircap %s" % (localpath,
olddircap))
  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

tahoe --version
allmydata-tahoe: 1.3.0-r3751, foolscap: 0.3.2, 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, simplejson: 2.0.7, argparse:
0.8.0, pyOpenSSL: 0.7, pyutil: 1.3.30, zbase32: 1.1.1, setuptools: 0.6c12dev

Thank you for your help
Andrej

On Wed, Feb 25, 2009 at 10:20 PM, Francois Deppierraz
<francois at ctrlaltdel.ch> wrote:

> Andrej Falout wrote:
>
> > Backing up ./src/allmydata/scripts/tahoe_backup.py(-darcs-backup0)
> > There are conflicts in the following files:
> > ./src/allmydata/scripts/tahoe_backup.py
>
> It seems that your're trying to apply a previous version of the patch.
>
> Have you downloaded unicode.dpatch instead of unicode-v2.dpatch ?
>
> François
> _______________________________________________
> 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/20090225/f249c302/attachment.htm 


More information about the tahoe-dev mailing list