I have a remote rsync with gpg encryption and can restore without problems on my thinkpad (FreeBSD) - but not on my MacOSX:

$ git annex whereis DSC_7615.JPG whereis DSC_7615.JPG (2 copies) 6855de17-c8fb-11e1-9948-f0def1c18073 -- thinkpad e388bcf6-c8fc-11e1-a96f-6ffcbceb4af4 -- backup (rsync xxxx) ok

$ git annex get --from backup DSC_7615.JPG fatal: Could not switch to '../../../.git/annex/objects/Pw/XP/SHA256-s1028494--SHA256': No such file or directory

git-annex: : hGetLine: end of file failed git-annex: get: 1 failed

$ git annex version git-annex version: 3.20120629 local repository version: 3

Do the remotes in .git/config look the same?
I was also able to copy from the macosx to the rsync backup...
Comment by hannes Tue Aug 7 14:06:55 2012
git annex fsck -fbackup some-local-and-remote-file works fine.
Comment by hannes Tue Aug 7 14:12:20 2012

I recently encountered this problem on OSX, and I'm pretty sure I fixed it. But I don't remember the details of how. I'm sorry I don't have more detail, but I recommend trying a newer version of git-annex.

And if the problem persists, --debug will show the git commands and should help identify the one that's being passed bad parameters.

Comment by http://joeyh.name/ Tue Aug 7 17:53:35 2012
This was a bug in determining the git version at compile time. Fixed in commit bafc50e05e098234d2d22886085d9844fc763e0e which was included in version 3.20120721.
Comment by http://joeyh.name/ Tue Aug 7 19:37:22 2012
works with an updated git-annex!
Comment by hannes Wed Aug 8 12:25:19 2012
Comments on this page are closed.