duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Fwd: AssertionError on every attempt


From: edgar . soldin
Subject: Re: [Duplicity-talk] Fwd: AssertionError on every attempt
Date: Mon, 08 Jun 2015 18:43:30 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 08.06.2015 18:31, Bruce Merry wrote:
> Hi
> 
> (apologies if this shows up twice - my first attempt was without
> subscribing to the list, and since it didn't show up in the list
> archives I'm assuming it went to the bit-bucket)
> 
> I've somehow managed to get my Google Drive into a state where every
> time I run duplicity I get the error below. This occurred after I
> started a full backup, which crashed on volume 27, restarted it, and
> it later crashed again (I don't have the errors messages from those
> backups saved, sorry). I'm using the PyDrive backend, specifically
> https://code.launchpad.net/~bmerry/duplicity/pydrive-regular. I've
> tried
> - running duplicity cleanup (hits the same assertion)
> - wiping out the .cache/duplicity directory to force resync (resyncs,
> then hits the same assertion)
> 
> I've since noticed that I have two copies of
> duplicity-full.20150607T094026Z.vol27.difftar.gpg in my Google Drive,
> which probably explains why I get the assertion error, but I'm not
> sure how to safely recover from this without ending up with a
> corrupted backup. Is it safe to just delete one of them?
> 
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/duplicity", line 1523, in <module>
>     with_tempdir(main)
>   File "/usr/local/bin/duplicity", line 1517, in with_tempdir
>     fn()
>   File "/usr/local/bin/duplicity", line 1371, in main
>     do_backup(action)
>   File "/usr/local/bin/duplicity", line 1396, in do_backup
>     globals.archive_dir).set_values()
>   File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py",
> line 710, in set_values
>     self.get_backup_chains(partials + backend_filename_list)
>   File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py",
> line 835, in get_backup_chains
>     add_to_sets(f)
>   File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py",
> line 823, in add_to_sets
>     if set.add_filename(filename):
>   File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py",
> line 105, in add_filename
>     (self.volume_name_dict, filename)
> AssertionError: ({27:
> 'duplicity-full.20150607T094026Z.vol27.difftar.gpg', 28:
> 'duplicity-full.20150607T094026Z.vol28.difftar.gpg', 29:
> 'duplicity-full.20150607T094026Z.vol29.difftar.gpg', 30:
> 'duplicity-full.20150607T094026Z.vol30.difftar.gpg', 31:
> 'duplicity-full.20150607T094026Z.vol31.difftar.gpg', 32:
> 'duplicity-full.20150607T094026Z.vol32.difftar.gpg', 33:
> 'duplicity-full.20150607T094026Z.vol33.difftar.gpg', 34:
> 'duplicity-full.20150607T094026Z.vol34.difftar.gpg', 35:
> 'duplicity-full.20150607T094026Z.vol35.difftar.gpg', 36:
> 'duplicity-full.20150607T094026Z.vol36.difftar.gpg', 37:
> 'duplicity-full.20150607T094026Z.vol37.difftar.gpg', 38:
> 'duplicity-full.20150607T094026Z.vol38.difftar.gpg', 39:
> 'duplicity-full.20150607T094026Z.vol39.difftar.gpg', 40:
> 'duplicity-full.20150607T094026Z.vol40.difftar.gpg', 41:
> 'duplicity-full.20150607T094026Z.vol41.difftar.gpg', 42:
> 'duplicity-full.20150607T094026Z.vol42.difftar.gpg', 43:
> 'duplicity-full.20150607T094026Z.vol43.difftar.gpg', 44:
> 'duplicity-full.20150607T094026Z.vol44.difftar.gpg', 45:
> 'duplicity-full.20150607T094026Z.vol45.difftar.gpg', 46:
> 'duplicity-full.20150607T094026Z.vol46.difftar.gpg', 47:
> 'duplicity-full.20150607T094026Z.vol47.difftar.gpg', 48:
> 'duplicity-full.20150607T094026Z.vol48.difftar.gpg', 49:
> 'duplicity-full.20150607T094026Z.vol49.difftar.gpg', 50:
> 'duplicity-full.20150607T094026Z.vol50.difftar.gpg', 51:
> 'duplicity-full.20150607T094026Z.vol51.difftar.gpg', 52:
> 'duplicity-full.20150607T094026Z.vol52.difftar.gpg', 53:
> 'duplicity-full.20150607T094026Z.vol53.difftar.gpg', 54:
> 'duplicity-full.20150607T094026Z.vol54.difftar.gpg', 55:
> 'duplicity-full.20150607T094026Z.vol55.difftar.gpg', 56:
> 'duplicity-full.20150607T094026Z.vol56.difftar.gpg', 57:
> 'duplicity-full.20150607T094026Z.vol57.difftar.gpg', 58:
> 'duplicity-full.20150607T094026Z.vol58.difftar.gpg', 59:
> 'duplicity-full.20150607T094026Z.vol59.difftar.gpg', 60:
> 'duplicity-full.20150607T094026Z.vol60.difftar.gpg'},
> 'duplicity-full.20150607T094026Z.vol27.difftar.gpg')
> 

are you sure that you have two identically named files on the backend? can you 
send a file listing of some kind?

..ede/duply.net



reply via email to

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