Package: git-annex
Version: 0.20110521
Severity: normal
Thanks to the new --debug switch to git-annex (see bug #627499), I was able to
see why my "git annex get" was failing:
$ git annex --debug get Acoustica/Alarm_Will_Sound/01_-_CockVer_10.mp3
git
["--git-dir=/pub/cds/.git","--work-tree=/pub/cds","ls-files","--cached","--exclude-standard","-z","--","Acoustica/Alarm_Will_Sound/01_-_CockVer_10.mp3"]
get Acoustica/Alarm_Will_Sound/01_-_CockVer_10.mp3 (copying from
egilsstadir...)
Running: rsync ["-p","--progress","--inplace","-e","'ssh' 'egilsstadir'
'git-annex-shell ''sendkey'' ''/pub/music/cds/.git''
''SHA1-s8110080--771f389008fe40d71bc5b7930341eab271c95ef6''
''--'''",":","/pub/cds/.git/annex/tmp/SHA1-s8110080--771f389008fe40d71bc5b7930341eab271c95ef6"]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(601)
[Receiver=3.0.8]
rsync failed -- run git annex again to resume file transfer
Unable to access these remotes: egilsstadir
Try making some of these repositories available:
fc33afce-8364-11e0-8bd8-1b8391770d64 -- egilsstadir
failed
git-annex: 1 failed
If I login onto my other machine and run that git-annex-shell command manually,
it terminates with a return value of 1 (I also filed #627559):
$ git-annex-shell sendkey /pub/music/cds/.git
SHA1-s8110080--771f389008fe40d71bc5b7930341eab271c95ef6 -- || echo $?
1
Now, if I strace this however, I see that it fails here:
stat("/pub/music/cds/.git/.git/annex/objects/Gk/XF/SHA1-s8110080--771f389008fe40d71bc5b7930341eab271c95ef6/SHA1-s8110080--771f389008fe40d71bc5b7930341eab271c95ef6",
0x7f7378f7d740) = -1 ENOENT (No such file or directory)
which of course contains a superfluous ".git/" directory.
To work around this, I created a symlink:
$ cd /pub/music/cds/.git
$ ln -s . .git
and with that symlink, my original "git annex get" works just fine.
Cheers,
Francois
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38.6-grsec+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages git-annex depends on:
ii git [git-core] 1:1.7.5.1-1 fast, scalable, distributed revisi
ii git-core 1:1.7.5.1-1 fast, scalable, distributed revisi
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-4 Foreign Function Interface library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libpcre3 8.12-3 Perl 5 Compatible Regular Expressi
ii openssh-client 1:5.8p1-4 secure shell (SSH) client, for sec
ii rsync 3.0.8-1 fast remote file copy program (lik
ii uuid 1.6.2-1+b1 the Universally Unique Identifier
git-annex recommends no packages.
Versions of packages git-annex suggests:
pn bup <none> (no description available)
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii graphviz 2.26.3-7 rich set of graph drawing tools
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]