[tahoe-lafs-trac-stream] [tahoe-lafs] #1304: 'tahoe cp' copying to a mutable file should replace the contents
tahoe-lafs
trac at tahoe-lafs.org
Fri Jul 29 12:07:16 PDT 2011
#1304: 'tahoe cp' copying to a mutable file should replace the contents
-----------------------------------+--------------------------------
Reporter: davidsarah | Owner: kevan
Type: defect | Status: new
Priority: major | Milestone: 1.9.0
Component: code-frontend-cli | Version: 1.8.1
Resolution: | Keywords: tahoe-cp usability
Launchpad Bug: |
-----------------------------------+--------------------------------
Comment (by davidsarah):
Typo in comment: "# Store the URIs for later user." -> "later use".
When running the tests I get:
{{{
FAIL]: allmydata.test.test_cli.Cp.test_cp_overwrite_readonly_mutable_file
Traceback (most recent call last):
File "/home/davidsarah/tahoe/trunk/src/allmydata/test/test_cli.py", line
2150, in _check_error_message
self.failUnlessIn("need write capability to publish", err)
twisted.trial.unittest.FailTest: 'need write capability to publish' not in
'Error during PUT: 400 Bad Request\nPUT to a mutable file: replace or
update requested with read-only cap\n'
}}}
The 400 response has a reasonable error message -- is it just the test
that needs changing, or did you get a different message?
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1304#comment:11>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list