duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] AssertionError on Uppercase path name


From: edgar . soldin
Subject: Re: [Duplicity-talk] AssertionError on Uppercase path name
Date: Tue, 22 Dec 2015 13:37:18 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 21.12.2015 22:23, Bill Bixby wrote:
> A new user of Duplicity.
> Using Duply to drive it to backup a series of photo sub directories to Google 
> Drive.
> 
> The problem I've encountered is that if the directory name contains uppercase 
> I get this Duplicity AssertionError in path.py:
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1532, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1526, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1380, in main
>     do_backup(action)
>   File "/usr/bin/duplicity", line 1496, in do_backup
>     full_backup(col_stats)
>   File "/usr/bin/duplicity", line 561, in full_backup
>     sig_outfp = get_sig_fileobj("full-sig")
>   File "/usr/bin/duplicity", line 530, in get_sig_fileobj
>     overwrite=True)
>   File "/usr/lib/python2.7/dist-packages/duplicity/dup_temp.py", line 75, in 
> get_fileobj_duppath
>     tdp = TempDupPath(tdpname, parseresults=file_naming.parse(partname))
>   File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 748, in 
> __init__
>     assert len(index) == 1
> AssertionError
> 
> 13:27:25.269 Task 'BKP' failed with exit code '30'.
> 
> The Duply log has the following excerpts:
> Start duply v1.5.5.4, time is 2015-12-20 13:27:24.
> Using profile '/etc/duply/photos'.
> Using installed duplicity version 0.7.06, python 2.7.3, gpg 1.4.11 (Home: 
> ~/.gnupg), awk 'GNU Awk 3.1.8', bash '4.2.25(1)-release (x86_64-pc-linux-
> gnu)'.
> 
> duplicity 0.7.06 ($reldate)
> Args: /usr/bin/duplicity --archive-dir /home/billsrv/duplicity --name 
> duply_photos --verbosity 8 --file-prefix photos_25th_Party --name 
> photos_25th_Party --full-if-older-than 4M --volsize 128 --exclude-filelist 
> /etc/duply/photos/exclude /photos/25th_Party 
> gdocs://address@hidden/photos/25th_Party
> Linux bixserver.thebix 3.2.0-97-generic #137-Ubuntu SMP Thu Dec 17 18:11:47 
> UTC 2015 x86_64 x86_64
> /usr/bin/python2 2.7.3 (default, Jun 22 2015, 19:33:41) 
> [GCC 4.6.3]
> ================================================================================
> Using temporary directory /tmp/duplicity-eDsEae-tempdir
> Temp has 9640431616 available, backup will use approx 174483046.
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: none
> Last full backup is too old, forcing full backup
> Collection Status
> -----------------
> Connecting with backend: BackendWrapper
> Archive dir: /home/billsrv/duplicity/photos_25th_Party
> 
> Found 0 secondary backup chains.
> No backup chains with active signatures found
> No orphaned or incomplete backup sets found.
> Using temporary directory /home/billsrv/duplicity/photos_25th_Party/duplicity-
> P4JzJx-tempdir
> --- Finished state FAILED 'code 30' at 13:27:25.269 - Runtime 00:00:00.908 ---
> 
> For another directory that is all lower case I am successful:
> Start duply v1.5.5.4, time is 2015-12-20 13:27:37.
> Using profile '/etc/duply/photos'.
> Using installed duplicity version 0.7.06, python 2.7.3, gpg 1.4.11 (Home: 
> ~/.gnupg), awk 'GNU Awk 3.1.8', bash '4.2.25(1)-release (x86_64-pc-linux-
> gnu)'.
> Signing disabled. Not GPG_KEY entries in config.
> Test - Encryption with passphrase (OK)
> Test - Decryption with passphrase (OK)
> Test - Compare (OK)
> Cleanup - Delete '/tmp/duply.10670.1450636057_*'(OK)
> 
> duplicity 0.7.06 ($reldate)
> Args: /usr/bin/duplicity --archive-dir /home/billsrv/duplicity --name 
> duply_photos --verbosity 8 --file-prefix photos_canon_rebel --name 
> photos_canon_rebel --full-if-older-than 4M --volsize 128 --exclude-filelist 
> /etc/duply/photos/exclude /photos/canon_rebel 
> gdocs://address@hidden/photos/canon_rebel
> Linux bixserver.thebix 3.2.0-97-generic #137-Ubuntu SMP Thu Dec 17 18:11:47 
> UTC 2015 x86_64 x86_64
> /usr/bin/python2 2.7.3 (default, Jun 22 2015, 19:33:41) 
> [GCC 4.6.3]
> ================================================================================
> Using temporary directory /tmp/duplicity-D2e4LB-tempdir
> Temp has 9640431616 available, backup will use approx 174483046.
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: none
> Last full backup is too old, forcing full backup
> Collection Status
> -----------------
> Connecting with backend: BackendWrapper
> Archive dir: /home/billsrv/duplicity/photos_canon_rebel
> 
> Found 0 secondary backup chains.
> No backup chains with active signatures found
> No orphaned or incomplete backup sets found.
> Using temporary directory 
> /home/billsrv/duplicity/photos_canon_rebel/duplicity-z89zIf-tempdir
> Using temporary directory 
> /home/billsrv/duplicity/photos_canon_rebel/duplicity-7tGt4K-tempdir
> AsyncScheduler: instantiating at concurrency 0
> A .
> A .directory
> A .thumbcache
> A .thumbcache/2006, December, 25
> A .thumbcache/2006, December, 29
> 
> and so on for a successful backup.
> 
> For my series of over 50 folders, every one that is all lower case works, 
> every one that has uppercase in the name fails.
> 
> 

please send/post the _complete_ command line output of a run with max verbosity 
'-v9'. obfuscate data you deem private in it first!

..ede/duply.net



reply via email to

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