From 0f682bc6fc39a8fa0dea8e19225718814677222a Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ" Date: Thu, 4 Oct 2012 02:20:38 +0000 Subject: [PATCH 1/2] Bug description. --- ...epositories_with_non-ASCII_characters.mdwn | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn diff --git a/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn b/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn new file mode 100644 index 0000000000..209f3bd44d --- /dev/null +++ b/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn @@ -0,0 +1,55 @@ +What steps will reproduce the problem? + +hactar% mkdir demonstração +hactar% cd demonstração +hactar% cp ~/tmp/*(.) . +hactar% git init +Initialized empty Git repository in /tmp/demonstração/.git/ +hactar% git annex init +init ok +(Recording state in git...) +hactar% git annex add . +add Equipment Consumption.ods (checksum...) ok +add Personal.vcard (checksum...) ok +add Trampo.vcard (checksum...) ok +add blah.txt (checksum...) ok +[ more git output ] +hactar% git commit -m initial +[master (root-commit) d16bafb] initial + 42 files changed, 42 insertions(+) +[ more git output ] +hactar% cd /var/tmp +hactar% git clone ssh://localhost//tmp/demonstração demonstração +Cloning into 'demonstração'... +remote: Counting objects: 176, done. +remote: Compressing objects: 100% (134/134), done. +remote: Total 176 (delta 1), reused 0 (delta 0) +Receiving objects: 100% (176/176), 17.23 KiB, done. +Resolving deltas: 100% (1/1), done. +hactar% cd demonstração +hactar% git annex init +init ok +(Recording state in git...) +hactar% git annex status +supported backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL +supported remote types: git S3 bup directory rsync web hook +trusted repositories: (merging origin/git-annex into git-annex...) + +git-annex: fd:14: commitBuffer: invalid argument (invalid character) +failed +git-annex: status: 1 failed +hactar% + +What is the expected output? What do you see instead? + +I expect that "git annex status" will complete successfuly and show information about all repositories. +Instead of that I get the "git-annex: fd:14: commitBuffer: invalid argument (invalid character)" error above. + +What version of git-annex are you using? On what operating system? + +This is with Debian's git-annex_3.20121001_i386.deb installed on an Ubuntu 12.04 system. +Using Ubuntu's original version (3.20120406) the error message is a bit different (here I used the name acentuação instead of demonstração): + +trusted repositories: git-annex-shell: //tmp/acentuação: changeWorkingDirectory: does not exist (No such file or directory) +Command ssh ["-S","/var/tmp/acentua\231\227o/.git/annex/ssh/localhost","-o","ControlMaster=auto","-o","ControlPersist=yes","localhost","git-annex-shell 'configlist' '//tmp/acentua\195\167\195\163o'"] failed; exit code 1 + From 4c366d6a091fc4156e1086e5f120b4dae8d41551 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ" Date: Thu, 4 Oct 2012 02:25:24 +0000 Subject: [PATCH 2/2] Fixed formatting. --- ...epositories_with_non-ASCII_characters.mdwn | 85 +++++++++---------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn b/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn index 209f3bd44d..d8df4aa1aa 100644 --- a/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn +++ b/doc/bugs/error_when_using_repositories_with_non-ASCII_characters.mdwn @@ -1,55 +1,54 @@ -What steps will reproduce the problem? +*What steps will reproduce the problem?* -hactar% mkdir demonstração -hactar% cd demonstração -hactar% cp ~/tmp/*(.) . -hactar% git init -Initialized empty Git repository in /tmp/demonstração/.git/ -hactar% git annex init -init ok -(Recording state in git...) -hactar% git annex add . -add Equipment Consumption.ods (checksum...) ok -add Personal.vcard (checksum...) ok -add Trampo.vcard (checksum...) ok -add blah.txt (checksum...) ok -[ more git output ] -hactar% git commit -m initial -[master (root-commit) d16bafb] initial - 42 files changed, 42 insertions(+) -[ more git output ] -hactar% cd /var/tmp -hactar% git clone ssh://localhost//tmp/demonstração demonstração -Cloning into 'demonstração'... -remote: Counting objects: 176, done. -remote: Compressing objects: 100% (134/134), done. -remote: Total 176 (delta 1), reused 0 (delta 0) -Receiving objects: 100% (176/176), 17.23 KiB, done. -Resolving deltas: 100% (1/1), done. -hactar% cd demonstração -hactar% git annex init -init ok -(Recording state in git...) -hactar% git annex status -supported backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL -supported remote types: git S3 bup directory rsync web hook -trusted repositories: (merging origin/git-annex into git-annex...) + hactar% mkdir demonstração + hactar% cd demonstração + hactar% cp ~/tmp/*(.) . + hactar% git init + Initialized empty Git repository in /tmp/demonstração/.git/ + hactar% git annex init + init ok + (Recording state in git...) + hactar% git annex add . + add Equipment Consumption.ods (checksum...) ok + add Personal.vcard (checksum...) ok + add Trampo.vcard (checksum...) ok + add blah.txt (checksum...) ok + [ more git output ] + hactar% git commit -m initial + [master (root-commit) d16bafb] initial + 42 files changed, 42 insertions(+) + [ more git output ] + hactar% cd /var/tmp + hactar% git clone ssh://localhost//tmp/demonstração demonstração + Cloning into 'demonstração'... + remote: Counting objects: 176, done. + remote: Compressing objects: 100% (134/134), done. + remote: Total 176 (delta 1), reused 0 (delta 0) + Receiving objects: 100% (176/176), 17.23 KiB, done. + Resolving deltas: 100% (1/1), done. + hactar% cd demonstração + hactar% git annex init + init ok + (Recording state in git...) + hactar% git annex status + supported backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL + supported remote types: git S3 bup directory rsync web hook + trusted repositories: (merging origin/git-annex into git-annex...) -git-annex: fd:14: commitBuffer: invalid argument (invalid character) -failed -git-annex: status: 1 failed -hactar% + git-annex: fd:14: commitBuffer: invalid argument (invalid character) + failed + git-annex: status: 1 failed -What is the expected output? What do you see instead? +*What is the expected output? What do you see instead?* I expect that "git annex status" will complete successfuly and show information about all repositories. Instead of that I get the "git-annex: fd:14: commitBuffer: invalid argument (invalid character)" error above. -What version of git-annex are you using? On what operating system? +*What version of git-annex are you using? On what operating system?* This is with Debian's git-annex_3.20121001_i386.deb installed on an Ubuntu 12.04 system. Using Ubuntu's original version (3.20120406) the error message is a bit different (here I used the name acentuação instead of demonstração): -trusted repositories: git-annex-shell: //tmp/acentuação: changeWorkingDirectory: does not exist (No such file or directory) -Command ssh ["-S","/var/tmp/acentua\231\227o/.git/annex/ssh/localhost","-o","ControlMaster=auto","-o","ControlPersist=yes","localhost","git-annex-shell 'configlist' '//tmp/acentua\195\167\195\163o'"] failed; exit code 1 + trusted repositories: git-annex-shell: //tmp/acentuação: changeWorkingDirectory: does not exist (No such file or directory) + Command ssh ["-S","/var/tmp/acentua\231\227o/.git/annex/ssh/localhost","-o","ControlMaster=auto","-o","ControlPersist=yes","localhost","git-annex-shell 'configlist' '//tmp/acentua\195\167\195\163o'"] failed; exit code 1