#2274 new defect

possible error with cp and spaces in directory names

Reported by: jgillisp Owned by: daira
Priority: normal Milestone: undecided
Component: code-frontend-cli Version: 1.10.0
Keywords: Cc:
Launchpad Bug:

Description

c:\allmydata-tahoe-1.10.0\bin>python tahoe ls "tahoe/Latest/~Backup/080814/Docum
ents and Settings/Jenny/My Documents"

among the listed files were Newspapers.xls and Label1.doc

c:\allmydata-tahoe-1.10.0\bin>python tahoe cp "tahoe/Latest/~Backup/080814/Docum
ents and Settings/Jenny/My Documents/Newspapers.xls" C:\_tahoe\client\restoreT
est_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.
No such file or directory 'tahoe/Latest/~Backup/080814/Documents and Settings/Je
nny/My Documents/Newspapers.xls'

c:\allmydata-tahoe-1.10.0\bin>python tahoe cp "tahoe/Latest/~Backup/080814/Docum
ents and Settings/Jenny/My Documents/Label1.doc" C:\_tahoe\client\restoreTest_
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.
No such file or directory 'tahoe/Latest/~Backup/080814/Documents and Settings/Je
nny/My Documents/Label1.doc'

similarly, the recursive cp did not work

c:\allmydata-tahoe-1.10.0\bin>python tahoe ls "tahoe/Latest/~Backup/080814/Docum
ents and Settings/Jenny/My Documents/My Pictures"
: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.
Desktop.ini

c:\allmydata-tahoe-1.10.0\bin>python tahoe cp -r "tahoe/Latest/~Backup/080814/Do
cuments and Settings/Jenny/My Documents/My Pictures" C:\_tahoe\client\restoreT
est_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.
No such file or directory 'tahoe/Latest/~Backup/080814/Documents and Settings/Je
nny/My Documents/My Pictures'

Change History (3)

comment:1 Changed at 2014-08-10T22:19:18Z by jgillisp

Tested with python tahoe cp -r tahoe c:\_tahoe\client\restoreTest_140810 returned the tahoe file from bin.

comment:2 Changed at 2014-08-11T15:54:52Z by daira

Does it work for paths under tahoe/Latest/~Backup/080814 without spaces?

comment:3 Changed at 2014-09-11T22:31:49Z by warner

  • Component changed from unknown to code-frontend-cli
Note: See TracTickets for help on using tickets.