You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http backend does not work with remote url with colon (":") in it #1555
I just updated to the 1.37 release and wanted to try the new http backend. Unfortunately it does not seem to be able to work with url that have a ":" in it.
What is your rclone version (eg output from rclone -V)
rclone v1.37
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 16.04
Which cloud storage system are you using? (eg Google Drive)
http
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Thanks! I don't get the error anymore but the file containing the problematic symbol gets skipped. Could you change it to remove or replace problematic symbols? (There might be more)
Activity
qw3rty2017 commentedon Jul 25, 2017
First of all, I would like to thank you for adding http.
I also ran across this issue:
2017/07/25 15:23:28 ERROR : Error parsing "Some: file.avi" as URL: parse Some: file.avi: first path segment in URL cannot contain colon panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x64ce36]ncw commentedon Jul 26, 2017
Was there a backtrace for the above error?
I'll examine the http parsing code and see if I can fix.
qw3rty2017 commentedon Jul 26, 2017
There was this:
goroutine 74 [running]: net/url.(*URL).ResolveReference(0xc420366f80, 0x0, 0xe521f2) /opt/go/go1.8/src/net/url/url.go:944 +0x36 github.com/ncw/rclone/http.urlJoin(0xc420366f80, 0xc4213ad090, 0x44, 0x44) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:71 +0x15c github.com/ncw/rclone/http.parseName(0xc420366f80, 0xc4203b2060, 0x5a, 0xc420425d98, 0x19, 0xc420422001) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:203 +0x6c github.com/ncw/rclone/http.parse.func1(0xc4203c6850) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:243 +0x18d github.com/ncw/rclone/http.parse.func1(0xc4200fe620) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:252 +0x147 github.com/ncw/rclone/http.parse.func1(0xc4200fe230) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:252 +0x147 github.com/ncw/rclone/http.parse.func1(0xc420069dc0) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:252 +0x147 github.com/ncw/rclone/http.parse.func1(0xc420069d50) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:252 +0x147 github.com/ncw/rclone/http.parse(0xc420366f80, 0x7f587aee8070, 0xc420252f60, 0xc420422000, 0x114, 0x200, 0x1, 0x2) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:255 +0x109 github.com/ncw/rclone/http.(*Fs).readDir(0xc420048500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:278 +0x40f github.com/ncw/rclone/http.(*Fs).List(0xc420048500, 0x0, 0x0, 0x23c5af60abf35866, 0x211c785bbf036416, 0x2321e875753bc470, 0x42909f, 0xc420392eb8) /home/ncw/go/src/github.com/ncw/rclone/http/http.go:301 +0xc3 github.com/ncw/rclone/fs.ListDirSorted(0x13127c0, 0xc420048500, 0x428b00, 0x0, 0x0, 0x5b58bde44247ec4b, 0x737b23, 0xc420392f48, 0xc420392f40, 0xc421395e40) /home/ncw/go/src/github.com/ncw/rclone/fs/operations.go:615 +0x63 github.com/ncw/rclone/fs.(*syncCopyMove).makeListDir.func1(0x0, 0x0, 0xc420251520, 0x20928a380e9d26ed, 0xded2fec780d6edb6, 0x26ddd19f8ba589da, 0x7aa4910eef10a1c9) /home/ncw/go/src/github.com/ncw/rclone/fs/sync.go:134 +0x53 github.com/ncw/rclone/fs.(*syncCopyMove)._run.func1(0xc420251520, 0xc420242680, 0xc420251500, 0xc4203369c0, 0x0, 0x0, 0x7ffffffe, 0x7ffffffe, 0x0) /home/ncw/go/src/github.com/ncw/rclone/fs/sync.go:923 +0x72 created by github.com/ncw/rclone/fs.(*syncCopyMove)._run /home/ncw/go/src/github.com/ncw/rclone/fs/sync.go:924 +0x987ncw commentedon Jul 30, 2017
Can you try this fix - I think it may fix your issue too.
https://beta.rclone.org/v1.37-038-gb0fd187c/ (uploaded in 15-30 mins)
fbartels commentedon Jul 31, 2017
Hi @ncw ,
thanks for the upload. at least for me this upload does not change the error:
qw3rty2017 commentedon Jul 31, 2017
Thanks! I don't get the error anymore but the file containing the problematic symbol gets skipped. Could you change it to remove or replace problematic symbols? (There might be more)
ncw commentedon Jul 31, 2017
@qw3rty2017 any chance you could cut and paste the HTML from the web page with the directory listing so I can see exactly what it says?
http: Fix directories with : in #1555
ncw commentedon Jul 31, 2017
@fbartels I've fixed your issue in this change - can you take a look please
https://beta.rclone.org/v1.37-039-g2b5ce6ef/ (uploaded in 15-30 mins)
Thanks
ncw commentedon Jul 31, 2017
@qw3rty2017 Can you put that extra info into a new issue please? Then we can keep one issue per problem! Thanks.
ncw commentedon Aug 7, 2017
This should all be fixed now - please try the latest beta and re-open if not.
fbartels commentedon Aug 7, 2017
Thanks, just retried with the latest beta. Problem is fixed for me.