error message for corrupted caps to {{{tahoe ls}}} is unclear #1112

Open
opened 2010-07-07 18:29:20 +00:00 by zooko · 2 comments
zooko commented 2010-07-07 18:29:20 +00:00
Owner

This is the write-cap and the read-cap respectively to the same dir:

$ tahoe ls --node-url=http://127.0.0.1:3456 URI:DIR2:77mdr6nhhzqo22lvviojxbqooy:dkkrzum2rynr2sxunwn5n7arusmuxw3m27k3f4yo2t67rqzz6xiaa


This listing included unknown objects. Using a webapi server that supports
a later version of Tahoe may help.
$ tahoe ls --node-url=http://127.0.0.1:3456 URI:DIR2-RO:c4kxgewzc4r7stpoo5e3rvwozy:dkkrzum2rynr2sxunwn5n7arusmuxw3m27k3f4yo2t67rqzz6xia
Negativeland_on_Radio1190.org.ogg
This is the write-cap and the read-cap respectively to the same dir: ``` $ tahoe ls --node-url=http://127.0.0.1:3456 URI:DIR2:77mdr6nhhzqo22lvviojxbqooy:dkkrzum2rynr2sxunwn5n7arusmuxw3m27k3f4yo2t67rqzz6xiaa This listing included unknown objects. Using a webapi server that supports a later version of Tahoe may help. $ tahoe ls --node-url=http://127.0.0.1:3456 URI:DIR2-RO:c4kxgewzc4r7stpoo5e3rvwozy:dkkrzum2rynr2sxunwn5n7arusmuxw3m27k3f4yo2t67rqzz6xia Negativeland_on_Radio1190.org.ogg ```
tahoe-lafs added the
code-frontend-cli
major
defect
1.7.0
labels 2010-07-07 18:29:20 +00:00
tahoe-lafs added this to the soon milestone 2010-07-07 18:29:20 +00:00
davidsarah commented 2010-07-12 04:55:37 +00:00
Author
Owner

The write cap ends with 'xiaa', the read cap with 'xia'. Presumably the latter is correct.

Probably we should assume that future caps don't start with known prefixes (in this case URI:DIR2:), so that we could print a more sensible message.

The write cap ends with 'xiaa', the read cap with 'xia'. Presumably the latter is correct. Probably we should assume that future caps don't start with known prefixes (in this case `URI:DIR2:`), so that we could print a more sensible message.
davidsarah commented 2010-07-12 04:57:35 +00:00
Author
Owner

Also, an unknown directory doesn't include unknown objects, it is an unknown object. So the message could be improved in any case.

Also, an unknown directory doesn't *include* unknown objects, it *is* an unknown object. So the message could be improved in any case.
tahoe-lafs changed title from tahoe ls with dir-write-cap fails mysteriously, with dir-read-cap works to error message for corrupted caps to {{{tahoe ls}}} is unclear 2010-07-15 16:14:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1112
No description provided.