duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] duplicity assertion error ... help needed


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] duplicity assertion error ... help needed
Date: Fri, 06 Oct 2006 06:14:15 -0500
User-agent: Thunderbird 1.5.0.7 (X11/20060922)

Arone,

>From the fact that your line numbers don't match, you might want to go
get the current version of duplicity which is at least 0.4.2.

Run 'duplicity -V' to see what version is installed.  I had similar
problems with an older version.

...Ken


Arone Silimantia wrote:
> I am running python 2.4.
> 
> When I run duplicity:
> 
> sudo python2.4 /usr/bin/duplicity /var/mail
> scp://address@hidden//dir/dir
> 
> it actually starts working just fine and transfers a
> fair amount of data:
> 
> GnuPG passphrase:
> No signatures found, switching to full backup.
> tmpSE1j2U     100% 5172KB 161.6KB/s   00:32
> tmpl7GXQq     100% 5162KB 139.5KB/s   00:37
> ... and so on ...
> 
> but then it bombs out with:
> 
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 358, in ?
>     if __name__ == "__main__": main()
>   File "/usr/bin/duplicity", line 351, in main
>     if not sig_chain: full_backup(col_stats)
>   File "/usr/bin/duplicity", line 134, in full_backup
>     bytes_written = write_multivol("full",
> tarblock_iter, globals.backend)
>   File "/usr/bin/duplicity", line 75, in
> write_multivol
>     globals.gpg_profile)
>   File
> "/usr/lib/python2.4/site-packages/duplicity/gpg.py",
> line 211, in GPGWriteFile
>     try: data = block_iter.next(bytes_to_go).data
>   File
> "/usr/lib/python2.4/site-packages/duplicity/diffdir.py",
> line 407, in next
>     result = self.process(self.input_iter.next(),
> size)
>   File
> "/usr/lib/python2.4/site-packages/duplicity/diffdir.py",
> line 277, in get_delta_iter_w_sig
>     (new_path, sig_path, sigTarFile))
>   File
> "/usr/lib/python2.4/site-packages/duplicity/robust.py",
> line 31, in check_common_error
>     try: return function(*args)
>   File
> "/usr/lib/python2.4/site-packages/duplicity/diffdir.py",
> line 309, in get_delta_path_w_sig
>     if not new_path.isreg(): sigTarFile.addfile(ti)
>   File
> "/usr/lib/python2.4/site-packages/duplicity/tarfile.py",
> line 757, in addfile
>     assert len(full_headers) % BLOCKSIZE == 0
> AssertionError
> 
> 
> It ends with "assertion error".  I googled for
> duplicity and assertion error, and found almost
> nothing ... I am hoping this is some kind of easily
> fixable python error ...
> 
> Thanks.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]