summaryrefslogtreecommitdiff
path: root/doc/special_remotes/bup/comment_1_96179a003da4444f6fc08867872cda0a._comment
blob: 02691c69078620b6bd10484ac1fb20adcc1245af (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
32
33
34
35
36
37
38
39
40
41
42
43
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawkgbXwQtPQSG8igdS7U8l031N8sqDmuyvk"
 nickname="Albert"
 subject="Error with bup and gnupg"
 date="2012-10-22T20:56:56Z"
 content="""
Hello,

I get this error when trying to use git-annex with bup and gnupg:

<pre>
move importable_pilot_surveys.tar (gpg) (checking localaseebup...) (to localaseebup...) 
Traceback (most recent call last):
  File \"/usr/lib/bup/cmd/bup-split\", line 133, in <module>
    progress=prog)
  File \"/usr/lib/bup/bup/hashsplit.py\", line 167, in split_to_shalist
    for (sha,size,bits) in sl:
  File \"/usr/lib/bup/bup/hashsplit.py\", line 118, in _split_to_blobs
    for (blob, bits) in hashsplit_iter(files, keep_boundaries, progress):
  File \"/usr/lib/bup/bup/hashsplit.py\", line 86, in _hashsplit_iter
    bnew = next(fi)
  File \"/usr/lib/bup/bup/helpers.py\", line 86, in next
    return it.next()
  File \"/usr/lib/bup/bup/hashsplit.py\", line 49, in blobiter
    for filenum,f in enumerate(files):
  File \"/usr/lib/bup/cmd/bup-split\", line 128, in <genexpr>
    files = extra and (open(fn) for fn in extra) or [sys.stdin]
IOError: [Errno 2] No such file or directory: '-'
</pre>


I was able to work-around this issue by altering /usr/lib/bup/cmd/bup-split (though I don't think its a bup bug) to just pull from stdin:

files = [sys.stdin]

on ~ line 128.

Any ideas? Also, do you think that bup's data-deduplication does anything when gnupg is enabled, i.e. is it just as well to use a directory remote with gnupg?

Thanks! Git annex rules!

Albert
"""]]