[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Nov 7 13:56:10 UTC 2014
#2329: cp -r stops with an exception
-------------------------------+---------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend-cli | Version: 1.10.0
Keywords: | Launchpad Bug:
-------------------------------+---------------------------
{{{
$ tahoe cp --verbose -r $CAP .
}}}
{{{
Traceback (most recent call last):
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/runner.py", line 156, in run
rc = runner(sys.argv[1:], install_node_control=install_node_control)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/runner.py", line 141, in runner
rc = cli.dispatch[command](so)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/cli.py", line 551, in cp
rc = tahoe_cp.copy(options)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/tahoe_cp.py", line 774, in copy
return Copier().do_copy(options)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/tahoe_cp.py", line 451, in do_copy
status = self.try_copy()
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/tahoe_cp.py", line 513, in try_copy
return self.copy_to_directory(sources, target)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/tahoe_cp.py", line 617, in copy_to_directory
source_dirs = self.build_graphs(source_infos)
File "/home/zooko/playground/tahoe/tahoe-
lafs/src/allmydata/scripts/tahoe_cp.py", line 768, in build_graphs
name = os.path.basename(os.path.normpath(name))
File "/usr/lib/python2.7/posixpath.py", line 342, in normpath
initial_slashes = path.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
}}}
{{{
$ tahoe --version
allmydata-tahoe: 1.10.0.post167 [1382-rewrite-4:
102d5846b53a715bd9a51aac20f325dd6f6830be]
foolscap: 0.6.4
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
zfec: 1.4.24
Twisted: 13.0.0
Nevow: 0.11.1
zope.interface: unknown
python: 2.7.6
platform: Linux-Ubuntu_14.04-x86_64-64bit_ELF
pyOpenSSL: 0.13
simplejson: 3.3.1
pycrypto: 2.6.1
pyasn1: 0.1.7
mock: 1.0.1
service-identity: 14.0.0
setuptools: 0.6c16dev4
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2329>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list