File: protocol_mismatch_after_interrupt.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (33 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (4)
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
32
33
### Please describe the problem.

git annex now fails to transfer a fail with: `protocol version mismatch -- is your shell clean?`

### What steps will reproduce the problem?

start a transfer, then switch between your wireless and wired connexions (I am using network-manager), then interrupt the transfer with control-c.

### What version of git-annex are you using? On what operating system?

on my side: 5.20140306~bpo70 on debian wheezy amd64

on the other side: 4.20130815 on ubuntu saucy i386

### Please provide any additional information below.

[[!format sh """
anarcat@angela:video$ git annex copy --to t films/foo.mkv
copy films/foo.mkv (checking t...) (to t...)
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.0.9]

  rsync failed -- run git annex again to resume file transfer
failed
git-annex: copy: 1 failed
"""]]

workaround: `cd .git/annex/; mv transfer transfer.old` on the other side.

-- [[anarcat]]

> [[fixed|done]] --[[Joey]]