From dce39e840715743641afac2c0b00f97e7ff4ebeb Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawleVyKk2kQsB_HgEdS7w1s0BmgRGy1aay0" Date: Mon, 16 Dec 2013 13:43:57 +0000 Subject: [PATCH 1/6] --- ...ite_file:_TlsNotSupported:_user_error.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error.mdwn diff --git a/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error.mdwn b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error.mdwn new file mode 100644 index 0000000000..12fac38d10 --- /dev/null +++ b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error.mdwn @@ -0,0 +1,33 @@ +### Please describe the problem. +$ WEBDAV_USERNAME=xxx@gmail.com WEBDAV_PASSWORD=xxx git annex initremote box.com type=webdav url=https://dav.box.com/dav/git-annex-Pictures chunksize=75mb encryption=shared +initremote box.com (encryption setup) (shared cipher) (testing WebDAV server...) + +git-annex: WebDAV failed to write file: TlsNotSupported: user error +failed +git-annex: initremote: 1 failed + + +### What steps will reproduce the problem? +Compiled with cabal. + +### What version of git-annex are you using? On what operating system? +git-annex version: 5.20131213 +build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP DNS Feeds Quvi TDFA CryptoHash +key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL +remote types: git gcrypt S3 bup directory rsync web webdav glacier hook +local repository version: 3 +default repository version: 3 +supported repository versions: 3 5 +upgrade supported from repository versions: 0 1 2 4 + +ArchLinux + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + + +# End of transcript or log. +"""]] From 1d4948b7989c93c8aa3f0e80ab2853acc58bee12 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnWaZGX4m5Oic-vvIKUJHZLrY5W1G7mtQ4" Date: Mon, 16 Dec 2013 15:50:43 +0000 Subject: [PATCH 2/6] --- ...e_filenames_containing___39__..__39__.mdwn | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__.mdwn diff --git a/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__.mdwn b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__.mdwn new file mode 100644 index 0000000000..4f855f487f --- /dev/null +++ b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__.mdwn @@ -0,0 +1,49 @@ +### Please describe the problem. +git annex status returns: + +annexed files in working tree: fatal: git ls-files: cannot generate relative filenames containing '..' + +There are unlocked files mixed with locked (symlinked) throughout the repository after a commit. +Perhaps my repo is in an inconsistent state? + +### What steps will reproduce the problem? +Run git annex status + +### What version of git-annex are you using? On what operating system? +git-annex version: 4.20131106. Redhat EL6 running on KVM. + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +[username@box pnt]$ git annex status +repository mode: indirect +trusted repositories: 0 +semitrusted repositories: 2 + 00000000-0000-0000-0000-000000000001 -- web + 1ff41d2d-02bd-4795-88b9-bf3fbbeabef7 -- here +untrusted repositories: 0 +transfers in progress: none +available local disk space: 36.86 terabytes (+1 megabyte reserved) +local annex keys: 35750 +local annex size: 251.11 gigabytes +annexed files in working tree: fatal: git ls-files: cannot generate relative filenames containing '..' +0 +size of annexed files in working tree: 0 bytes +bloom filter size: 16 mebibytes (7.2% full) +backend usage: + SHA256: 18471 + SHA256E: 17279 +[username@box pnt]$ git annex version +git-annex version: 4.20131106 +build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP DNS Feeds Quvi TDFA CryptoHash +key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL +remote types: git gcrypt S3 bup directory rsync web webdav glacier hook +local repository version: 3 +default repository version: 3 +supported repository versions: 3 4 +upgrade supported from repository versions: 0 1 2 + +# End of transcript or log. +"""]] From 3718a822d9db3182455dd365a54bd72ca333f399 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Mon, 16 Dec 2013 16:05:38 +0000 Subject: [PATCH 3/6] Added a comment --- ...ment_1_8a4045634bffc29c8147056096b7089d._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_1_8a4045634bffc29c8147056096b7089d._comment diff --git a/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_1_8a4045634bffc29c8147056096b7089d._comment b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_1_8a4045634bffc29c8147056096b7089d._comment new file mode 100644 index 0000000000..d5bda1344c --- /dev/null +++ b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_1_8a4045634bffc29c8147056096b7089d._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.87" + subject="comment 1" + date="2013-12-16T16:05:38Z" + content=""" +Do you get the same error message if you run: + +git -c core.bare=false ls-files --cached --others + +What version of git? I cannot find that error message anywhere in the current version. + +"""]] From a9cd0de8abebf2f1428a88210db68b980632e9a0 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Mon, 16 Dec 2013 16:06:26 +0000 Subject: [PATCH 4/6] Added a comment --- ...omment_1_2c54c57f456e4570666fd7a5731dcd27._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_1_2c54c57f456e4570666fd7a5731dcd27._comment diff --git a/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_1_2c54c57f456e4570666fd7a5731dcd27._comment b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_1_2c54c57f456e4570666fd7a5731dcd27._comment new file mode 100644 index 0000000000..cf649c1dda --- /dev/null +++ b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_1_2c54c57f456e4570666fd7a5731dcd27._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.87" + subject="comment 1" + date="2013-12-16T16:06:26Z" + content=""" +Tested this with the Debian build and it works ok. + +TlsNotSupported is a new exception thrown by http-client, which is a very new library. Using an older version of http-conduit should avoid whatever the bug is. +Probably something to do with http-conduit not using http-client-tls, so http-client is left with no way to handle TLS connections. +"""]] From 1d32c188d69aaef4894837b470cdc9db0113120e Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnWaZGX4m5Oic-vvIKUJHZLrY5W1G7mtQ4" Date: Mon, 16 Dec 2013 16:11:24 +0000 Subject: [PATCH 5/6] Added a comment --- ...t_2_a1539aaec74074b4667ac27cfcfcccd6._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_2_a1539aaec74074b4667ac27cfcfcccd6._comment diff --git a/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_2_a1539aaec74074b4667ac27cfcfcccd6._comment b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_2_a1539aaec74074b4667ac27cfcfcccd6._comment new file mode 100644 index 0000000000..a73bc78e30 --- /dev/null +++ b/doc/bugs/fatal:_git_ls-files:_cannot_generate_relative_filenames_containing___39__..__39__/comment_2_a1539aaec74074b4667ac27cfcfcccd6._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnWaZGX4m5Oic-vvIKUJHZLrY5W1G7mtQ4" + nickname="Andrew" + subject="comment 2" + date="2013-12-16T16:11:24Z" + content=""" +[username@box pnt]$ git -c core.bare=false ls-files --cached --others +Unknown option: -c +usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] + [-p|--paginate|--no-pager] [--no-replace-objects] + [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] + [--help] COMMAND [ARGS] + +[username@box pnt]$ git --version +git version 1.7.1 +"""]] From 0130e00ebb9adca9889338427271c2fa8f21a853 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Mon, 16 Dec 2013 16:23:23 +0000 Subject: [PATCH 6/6] Added a comment --- .../comment_2_c9a9f070b2eaff9f68f603ca1defec81._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_2_c9a9f070b2eaff9f68f603ca1defec81._comment diff --git a/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_2_c9a9f070b2eaff9f68f603ca1defec81._comment b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_2_c9a9f070b2eaff9f68f603ca1defec81._comment new file mode 100644 index 0000000000..95f6115930 --- /dev/null +++ b/doc/bugs/git-annex:_WebDAV_failed_to_write_file:_TlsNotSupported:_user_error/comment_2_c9a9f070b2eaff9f68f603ca1defec81._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.87" + subject="comment 2" + date="2013-12-16T16:23:10Z" + content=""" +This turns out to have been a bug in version 0.5 of the haskell DAV library, and was fixed already in a newer version. So cabal update; cabal install DAV; cabal install git-annex +"""]]