#1217 assigned defect

useless error message when I use wrong syntax for a path in CLI commands, e.g. "tahoe cp"

Reported by: zooko Owned by: davidsarah
Priority: major Milestone: soon
Component: code-frontend-cli Version: 1.8.0
Keywords: usability error Cc:
Launchpad Bug:

Description

I can never remember the syntax for putting caps directly on the command-line (not going through the "tahoe aliases" layer). Presumably I did something wrong here, but the error message sure isn't telling me what:

$ time tahoe cp --node-url=http://127.0.0.1:3456 ~/Movies/Miro/Sintel.2010.2K.Theora-VODO/Sintel.2010.2K.Theora-VODO.ogv 
URI:DIR2:77mdr6nhhzqo22lvviojxbqooy:dkkrzum2rynr2sxunwn5n7arusmuxw3m27k3f4yo2t67rqzz6xia:Sintel.2010.2K.Theora-VODO.ogv
Error during PUT: 501 Not Implemented
"I don't know how to treat a PUT request."

real    0m49.419s
user    0m1.998s
sys     0m2.653s

Change History (2)

comment:1 Changed at 2010-10-01T23:36:07Z by davidsarah

  • Keywords error added

comment:2 Changed at 2011-08-03T22:03:16Z by davidsarah

  • Milestone changed from undecided to 1.10.0
  • Owner set to davidsarah
  • Status changed from new to assigned
  • Summary changed from useless error message when I use wrong syntax for a cap in "tahoe cp" to useless error message when I use wrong syntax for a path in CLI commands, e.g. "tahoe cp"

#1379 (another case of a poor error message due to wrong path syntax) has been closed as a duplicate of this ticket. The fix should work for all path arguments to any CLI command.

As in #1379, the problem here is that $CAP:$PATH was used instead of $CAP/$PATH.

Note: See TracTickets for help on using tickets.