Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
25bc68d764
9 changed files with 105 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
Running 3.20121112 on Debian Squeeze.
|
||||
|
||||
Since adding a certain directory of files (just a bunch of PDFs) yesterday I am getting errors when I try to use `git annex drop .` when the files aren't present, rather doing nothing or saying 'ok', as it used to do/should do. The errors are of the form `git-annex: fd:10: hGetLine: end of file` and sometimes of the form `git-annex: fd:17: hFlush: resource vanished (Broken pipe)`. In my `daemon.log`, I have the errors
|
||||
|
||||
(scanning...) Already up-to-date.
|
||||
Already up-to-date.
|
||||
TransferScanner crashed: fd:26: hGetLine: end of file
|
||||
Already up-to-date.
|
||||
(started...) git-annex: fd:25: hGetLine: end of file
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
git-annex: fd:24: hFlush: resource vanished (Broken pipe)
|
||||
[many more repetitions]
|
||||
|
||||
If I `git annex get` the files and then drop them again, a further attempt at a drop gives all these errors again.
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="4.153.253.113"
|
||||
subject="comment 1"
|
||||
date="2012-12-06T15:04:12Z"
|
||||
content="""
|
||||
Can you run it with --debug ?
|
||||
"""]]
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="spwhitton"
|
||||
ip="163.1.167.50"
|
||||
subject="comment 2"
|
||||
date="2012-12-06T15:13:02Z"
|
||||
content="""
|
||||
Sure, I've added --debug to the assistant autostart file and am running `git annex --debug drop`. For the first type of error given above I get output like
|
||||
|
||||
[2012-12-06 15:08:50 GMT] read: git [\"--git-dir=/home/swhitton/var/.git\",\"--work-tree=/home/swhitton/var\",\"ls-files\",\"--cached\",\"-z\",\"--\",\".\"]
|
||||
[2012-12-06 15:08:50 GMT] chat: git [\"--git-dir=/home/swhitton/var/.git\",\"--work-tree=/home/swhitton/var\",\"check-attr\",\"-z\",\"--stdin\",\"annex.backend\",\"annex.numcopies\",\"--\"]
|
||||
|
||||
git-annex: fd:10: hGetLine: end of file
|
||||
failed
|
||||
|
||||
and for the \"resource vanished\" errors I get no further output. There is also nothing further in `daemon.log`.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="4.153.253.113"
|
||||
subject="comment 3"
|
||||
date="2012-12-06T15:21:25Z"
|
||||
content="""
|
||||
If you run `git annex find` instead of `git annex drop`, does it have any errors?
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="spwhitton"
|
||||
ip="163.1.167.50"
|
||||
subject="comment 4"
|
||||
date="2012-12-06T15:23:02Z"
|
||||
content="""
|
||||
No, `git annex find --debug .` outputs just `[2012-12-06 15:22:14 GMT] read: git [\"--git-dir=/home/swhitton/var/.git\",\"--work-tree=/home/swhitton/var\",\"ls-files\",\"--cached\",\"-z\",\"--\",\".\"]`.
|
||||
"""]]
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="4.153.253.113"
|
||||
subject="comment 5"
|
||||
date="2012-12-06T15:26:27Z"
|
||||
content="""
|
||||
What version of git do you have installed?
|
||||
|
||||
How did you install this version of git-annex on squeeze?
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="spwhitton"
|
||||
ip="163.1.167.50"
|
||||
subject="comment 6"
|
||||
date="2012-12-06T15:29:46Z"
|
||||
content="""
|
||||
git is at 1.7.10.4 which I got from backports. I only upgraded a couple of days ago (to solve a strange error I was having with cloning to a removable drive); sorry for not mentioning that. I installed git-annex using cabal run as root.
|
||||
"""]]
|
|
@ -0,0 +1,14 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="4.153.253.113"
|
||||
subject="comment 7"
|
||||
date="2012-12-06T15:39:26Z"
|
||||
content="""
|
||||
The problem seems to involve git check-attr exiting unexpectedly. Does this happen only in a specific directory of files, or can you reproduce it elsewhere?
|
||||
|
||||
You may be able to reproduce it exiting by running:
|
||||
|
||||
`git check-attr --stdin annex.backend annex.numcopies --`
|
||||
|
||||
And then entering filenames, pressing enter, and it should answer back with two attribute values and keep running.
|
||||
"""]]
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="4.153.253.113"
|
||||
subject="comment 8"
|
||||
date="2012-12-06T15:41:31Z"
|
||||
content="""
|
||||
Have you rebuilt git-annex since you upgraded git?
|
||||
|
||||
This seems most likely to be the problem; the version of git in squeeze requires git-annex behave differently when using git check-attr, and if you have a version of git-annex built for it, it will do things the new git dislikes.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue