Package: git-annex
Version: 4.20130627
Severity: normal

Hello up there. I've tried to use git-annex with repo name in russian, and
though basic git operations (commit/push/pull) work, git-annex fails to
exchange annexed files - saying it cannot access remote repo. Details below.

Thanks beforehand,
Kirill


---- 8< ----

# 1) creating git-annex repo with russian name
kirr@mini:~/tmp/trashme/git-annex-bug$ mkdir мир # NOTE - its utf8 (russian 
name)
kirr@mini:~/tmp/trashme/git-annex-bug$ cd мир
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git init
Initialized empty Git repository in 
/home/kirr/tmp/trashme/git-annex-bug/мир/.git/
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ cat >hello.txt
Hello World!
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git add hello.txt 
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git commit -m hello.txt 
[master (root-commit) d69b3a2] hello.txt
 1 file changed, 1 insertion(+)
 create mode 100644 hello.txt
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git annex init мир
init мир ok
(Recording state in git...)
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ cat >hello.data
Big data...
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git annex add hello.data
add hello.data (checksum...) ok
(Recording state in git...)
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ git commit -m hello.data
[master 57ab119] hello.data
 1 file changed, 1 insertion(+)
 create mode 120000 hello.data
kirr@mini:~/tmp/trashme/git-annex-bug/мир$ cd ..

# 2) cloning мир into мир.2; setting мир.2 as git-annex repo
kirr@mini:~/tmp/trashme/git-annex-bug$ git clone ssh://localhost/`pwd`/мир/ 
мир.2
Cloning into 'мир.2'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 16 (delta 1), reused 0 (delta 0)
Receiving objects: 100% (16/16), done.
Resolving deltas: 100% (1/1), done.
Checking connectivity... done
kirr@mini:~/tmp/trashme/git-annex-bug$ cd мир.2/
kirr@mini:~/tmp/trashme/git-annex-bug/мир.2$ ls
hello.data  hello.txt
kirr@mini:~/tmp/trashme/git-annex-bug/мир.2$ git annex init мир.2
init мир.2 ok
(Recording state in git...)

# 3a) trying to get annexed file - fails
kirr@mini:~/tmp/trashme/git-annex-bug/мир.2$ git annex get hello.data
get hello.data (merging origin/git-annex into git-annex...)
(Recording state in git...)
git-annex-shell: user error (git ["config","--null","--list"] exited 126)

  Remote origin does not have git-annex installed; setting 
remote.origin.annex-ignore
(not available) 
  Try making some of these repositories available:
        da454e29-0b70-4d83-a2fb-38f5c6e342c9 -- <8@
failed
git-annex: get: 1 failed

# 3b) getting annexed file with --debug
kirr@mini:~/tmp/trashme/git-annex-bug/мир.2$ vim .git/config    # removing 
remote.origin.annex-ignore
kirr@mini:~/tmp/trashme/git-annex-bug/мир.2$ git annex --debug get hello.data
[2013-07-07 17:20:23 MSK] read: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","ls-files","--cached","-z","--","hello.data"]
get hello.data [2013-07-07 17:20:23 MSK] read: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","show-ref","git-annex"]
[2013-07-07 17:20:23 MSK] read: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","show-ref","--hash","refs/heads/git-annex"]
[2013-07-07 17:20:23 MSK] read: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","log","refs/heads/git-annex..ae8e15e4ceb2ab3eee90c9d491e0e63b12a5b468","--oneline","-n1"]
[2013-07-07 17:20:23 MSK] read: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","log","refs/heads/git-annex..2cc5e5ec68fc9ed8d26b51fb991f1de97b680e83","--oneline","-n1"]
[2013-07-07 17:20:23 MSK] chat: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","cat-file","--batch"]

    # NOTE here "мир" becomes "CCC8D0" which is wrong and that's why it fails
[2013-07-07 17:20:23 MSK] read: ssh 
["-S","/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git/annex/ssh/localhost","-o","ControlMaster=auto","-o","ControlPersist=yes","-T","localhost","git-annex-shell
 'configlist' '//home/kirr/tmp/trashme/git-annex-bug/CCC8D0/'"]

git-annex-shell: user error (git ["config","--null","--list"] exited 126)
[2013-07-07 17:20:23 MSK] call: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","fetch","--quiet","origin"]

  Remote origin does not have git-annex installed; setting 
remote.origin.annex-ignore
[2013-07-07 17:20:24 MSK] call: git 
["--git-dir=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git","--work-tree=/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2","config","remote.origin.annex-ignore","true"]
(not available) 
  Try making some of these repositories available:
        da454e29-0b70-4d83-a2fb-38f5c6e342c9 -- <8@
failed
[2013-07-07 17:20:24 MSK] read: ssh 
["-O","stop","-S","/home/kirr/tmp/trashme/git-annex-bug/\1084\1080\1088.2/.git/annex/ssh/localhost","-o","ControlMaster=auto","-o","ControlPersist=yes","localhost"]
git-annex: get: 1 failed


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10.0-netmini+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-annex depends on:
ii  curl            7.31.0-2
ii  git             1:1.7.10.4-2
ii  libc6           2.17-7
ii  libffi6         3.0.13-4
ii  libgmp10        2:5.1.2+dfsg-1
ii  libgnutls26     2.12.23-5
ii  libgsasl7       1.8.0-2
ii  libicu48        4.8.1.1-12
ii  libidn11        1.25-2
ii  libxml2         2.9.1+dfsg1-2
ii  libyaml-0-2     0.1.4-2
ii  openssh-client  1:6.2p2-4
ii  rsync           3.0.9-4
ii  wget            1.14-2
ii  zlib1g          1:1.2.8.dfsg-1

Versions of packages git-annex recommends:
ii  bind9-host  1:9.8.4.dfsg.P1-6+nmu2
ii  gnupg       1.4.12-7
ii  lsof        4.86+dfsg-1

Versions of packages git-annex suggests:
ii  bup          0.25~git2011.11.04-5.1
ii  graphviz     2.26.3-14
pn  libnss-mdns  <none>

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to