summaryrefslogtreecommitdiff
path: root/doc/bugs/Error_when_dropping___34__hGetLine:_end_of_file__34__.mdwn
blob: d0b2c15389336556f0e8da38d3ed64c8c578407e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.

> So in summary, a git-annex built against the old version of git in
> debian stable fails to work with a newer version of git, and rebuilding
> fixes it. FWIW, the git-annex backport to stable does not have this
> problem, because it checks git version at runtime. But I want to avoid
> the overhead of that check in git-annex mainline, because this old git
> version is well, very old and increasingly unlikely to be used. So,
> I don't think any changes to git-annex are warrented. [[done]] --[[Joey]]