Opened at 2014-08-10T22:30:24Z
Last modified at 2021-03-30T18:40:19Z
#2275 assigned defect
400 Bad Request on 0 empty path components
Reported by: | jgillisp | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | soon |
Component: | code-frontend-cli | Version: | 1.10.0 |
Keywords: | usability new-user error | Cc: | |
Launchpad Bug: |
Description
c:\allmydata-tahoe-1.10.0\bin>python tahoe cp "tahoe:/tahoe/Latest/~Backup/08081 4/Documents and Settings/Jenny/My Documents/Newspapers.xls" C:\_tahoe\client\r estoreTest_140810 :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from <https://pyp i.python.org/pypi/service_identity> and make sure all of its dependencies are sa tisfied. Without the service_identity module and a recent enough pyOpenSSL to s upport it, Twisted can perform only rudimentary TLS client hostname verification . Many valid certificate/hostname mappings may be rejected. Error examining source 'tahoe:/tahoe/Latest/~Backup/080814/Documents and Setting s/Jenny/My Documents/Newspapers.xls': 400 Bad Request The webapi does not allow empty pathname components, i.e. a double slash c:\allmydata-tahoe-1.10.0\bin>python tahoe cp "tahoe:/tahoe/Latest/Documents and Settings/Jenny/My Documents/Newspapers.xls" C:\_tahoe\client\restoreTest_1408 10 :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from <https://pyp i.python.org/pypi/service_identity> and make sure all of its dependencies are sa tisfied. Without the service_identity module and a recent enough pyOpenSSL to s upport it, Twisted can perform only rudimentary TLS client hostname verification . Many valid certificate/hostname mappings may be rejected. Error examining source 'tahoe:/tahoe/Latest/Documents and Settings/Jenny/My Docu ments/Newspapers.xls': 400 Bad Request The webapi does not allow empty pathname components, i.e. a double slash
I do not have any empty path components, as the error message claims.
Change History (9)
comment:1 Changed at 2014-08-10T22:33:06Z by jgillisp
comment:2 Changed at 2014-08-10T23:01:36Z by jgillisp
replacing alias tahoe: with its value URI:DIR2:... allowed the file to be copied
comment:3 Changed at 2014-08-11T15:58:24Z by daira
The alias (tahoe:) should not be followed immediately by /, i.e. it should be tahoe:tahoe/Latest/.... That's why the message refers to empty pathname components -- Tahoe-LAFS parses an empty component between tahoe: and /.
comment:4 Changed at 2014-08-11T15:58:57Z by daira
- Component changed from unknown to code-frontend-cli
- Keywords usability new-user added
comment:5 Changed at 2014-10-13T19:41:56Z by daira
- Keywords error added
- Milestone changed from undecided to 1.12.0
- Status changed from new to assigned
The error message should be something like:
The webapi does not allow empty pathname components, e.g. a double slash or "ALIAS:/".
comment:6 Changed at 2016-03-22T05:02:25Z by warner
- Milestone changed from 1.12.0 to 1.13.0
Milestone renamed
comment:7 Changed at 2016-06-28T18:17:14Z by warner
- Milestone changed from 1.13.0 to 1.14.0
renaming milestone
comment:8 Changed at 2020-06-30T14:45:13Z by exarkun
- Milestone changed from 1.14.0 to 1.15.0
Moving open issues out of closed milestones.
comment:9 Changed at 2021-03-30T18:40:19Z by meejah
- Milestone changed from 1.15.0 to soon
Ticket retargeted after milestone closed
Note: See
TracTickets for help on using
tickets.
Replacing all spaces with %20 or + did not work.