[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] assertion error while backing up
From: |
Mark Grandi |
Subject: |
[Duplicity-talk] assertion error while backing up |
Date: |
Mon, 15 Feb 2016 14:20:11 -0700 |
Running a backup on my Mac OS X 10.11 laptop, i get an assertion error:
Gypaetus:~ markgrandi$ duplicity --encrypt-sign-key
0x2CB2C0948891C4830B11AFB6E7B785F6FA5CBE16 --log-file ~/Temp/test_duplicity.log
--name "Gypaetus-mgrandi-backup" --use-agent --exclude-device-files --progress
--volsize 1024 --file-prefix "Gypaetus-mgrandi-backup" --exclude-filelist
~/duplicity_exclude.txt ~/ par2+file:///Volumes/mgrandi_256SSD/tmp_backup
Reading globbing filelist /Users/markgrandi/duplicity_exclude.txt
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
Error accessing possibly locked file /Users/markgrandi/.viminfo
Error accessing possibly locked file /Users/markgrandi/Library/Saved
Application State/com.adobe.flashplayer.installmanager.savedState
Reading globbing filelist /Users/markgrandi/duplicity_exclude.txt
Traceback (most recent call last):
File "/Users/markgrandi/usr/bin/duplicity", line 1532, in <module>
with_tempdir(main)
File "/Users/markgrandi/usr/bin/duplicity", line 1526, in with_tempdir
fn()
File "/Users/markgrandi/usr/bin/duplicity", line 1380, in main
do_backup(action)
File "/Users/markgrandi/usr/bin/duplicity", line 1501, in do_backup
full_backup(col_stats)
File "/Users/markgrandi/usr/bin/duplicity", line 561, in full_backup
sig_outfp = get_sig_fileobj("full-sig")
File "/Users/markgrandi/usr/bin/duplicity", line 530, in get_sig_fileobj
overwrite=True)
File
"/Users/markgrandi/usr/lib/python2.7/site-packages/duplicity/dup_temp.py", line
75, in get_fileobj_duppath
tdp = TempDupPath(tdpname, parseresults=file_naming.parse(partname))
File "/Users/markgrandi/usr/lib/python2.7/site-packages/duplicity/path.py",
line 748, in __init__
assert len(index) == 1
AssertionError
I don't understand this stack trace, it runs 'tdp = TempDupPath(tdpname,
parseresults=file_naming.parse(partname))', but then in the super class for
TempDupPath, it's hitting an AssertionError (that index is a tuple of length
1), but as you see from the caller, its explicitly leaving that parameter out,
so that the default is an empty tuple, and thus fails the assertion error.
However, disabling assertions doesn't work either, as it just crashes later on
in the program as it tries to access index 0 of said tuple.
i'm running duplicity 0.7.06
signature.asc
Description: Message signed with OpenPGP using GPGMail
- [Duplicity-talk] assertion error while backing up,
Mark Grandi <=