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: Bill Bixby
Subject: Re: [Duplicity-talk] AssertionError on Uppercase path name
Date: Tue, 29 Dec 2015 14:15:10 -0500
User-agent: KMail/4.14.10 (Linux/4.1.13-5-default; KDE/4.14.10; x86_64; ; )

Here is another failed test run with duplicity 0.7.05.
The original tests were with a Ubuntu 12.04 system where I had installed the 
latest duplicity 0.7.06 so that the pydrive backend to Google Drive would 
work.
This new test is on a SUSE Leap 42.1 system which runs duplicity 0.7.05 as the 
distribution supplied.  You will note that all the packages listed by Duply in 
the first log lines are much newer than my previous tests, including Python.

But still the Duplicity failure in path.py.

I use Duplicity on this SUSE system nightly with no problems, but all the 
directories are lower case.

The Duplicity command line that fails:
/usr/bin/duplicity --archive-dir /home/bill/duplicity --name duply_photost --
verbosity 9 --full-if-older-than 6M --volsize 128 --file-prefix 
photost_Brook_Scan --name photost_Brook_Scan --exclude-filelist 
/etc/duply/photost/exclude /photost/Brook_Scan 
gdocs://address@hidden//photost/Brook_Scan

note that the uppercase path name appears in --name, --file-prefix, source, and 
target.
And that generates the archive directory with the upper case name.
Archive dir: /home/bill/duplicity/photost_Brook_Scan

And the temporary directory with the upper case name:

Using temporary directory 
/home/bill/duplicity/photost_Brook_Scan/duplicity-7iYSZ8-tempdir

Registering (mktemp) temporary file 
/home/bill/duplicity/photost_Brook_Scan/duplicity-7iYSZ8-

For every test run I also include a second directory that has a lower case 
name which always works correctly.

The difference from success and failure is the upper case in the four 
arguments.

The successful command line is:
/usr/bin/duplicity --archive-dir /home/bill/duplicity --name duply_photost --
verbosity 9 --full-if-older-than 6M --volsize 128 --file-prefix 
photost_celtics_wallpaper --name photost_celtics_wallpaper --exclude-filelist 
/etc/duply/photost/exclude /photost/celtics_wallpaper 
gdocs://address@hidden//photost/celtics_wallpaper

The complete uncut Duplicity output that fails:
Start duply v1.10.1, time is 2015-12-29 13:23:39.
Using profile '/etc/duply/photost'.
Using installed duplicity version 0.7.05, python 2.7.9, gpg 2.0.24 (Home: 
~/.gnupg), awk 'GNU Awk 4.1.3, API: 1.1', grep 'grep (GNU grep) 2.16', bash 
'4.2.47(1)-release (x86_64-suse-linux-gnu)'.
Signing disabled. Not GPG_KEY entries in config.
Checking TEMP_DIR '/tmp' is a folder (OK)
Checking TEMP_DIR '/tmp' is writable (OK)
Test - Encryption with passphrase (OK)
Test - Decryption with passphrase (OK)
Test - Compare (OK)
Cleanup - Delete '/tmp/duply.16301.1451413419_*'(OK)

--- Start running command BKP at 13:23:40.902 ---
Using archive dir: /home/bill/duplicity/photost_Brook_Scan
Using backup name: photost_Brook_Scan
Import of duplicity.backends.azurebackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Import of duplicity.backends.copycombackend Succeeded
Import of duplicity.backends.dpbxbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.hubicbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.lftpbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.multibackend Succeeded
Import of duplicity.backends.ncftpbackend Succeeded
Import of duplicity.backends.onedrivebackend Succeeded
Import of duplicity.backends.par2backend Succeeded
Import of duplicity.backends.pydrivebackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.ssh_paramiko_backend Succeeded
Import of duplicity.backends.ssh_pexpect_backend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.sxbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Reading globbing filelist /etc/duply/photost/exclude
Main action: inc
================================================================================
duplicity 0.7.05 (September 15, 2015)
Args: /usr/bin/duplicity --archive-dir /home/bill/duplicity --name 
duply_photost --verbosity 9 --full-if-older-than 6M --volsize 128 --file-prefix 
photost_Brook_Scan --name photost_Brook_Scan --exclude-filelist 
/etc/duply/photost/exclude /photost/Brook_Scan 
gdocs://address@hidden//photost/Brook_Scan
Linux bill 4.1.13-5-default #1 SMP PREEMPT Thu Nov 26 16:35:17 UTC 2015 
(49475c3) x86_64 x86_64
/usr/bin/python 2.7.9 (default, Dec 13 2014, 18:02:08) [GCC]
================================================================================
Using temporary directory /tmp/duplicity-ONLEMD-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-ONLEMD-tempdir/mkstemp-
CWas4Q-1
Temp has 14614069248 available, backup will use approx 174483046.
Local and Remote metadata are synchronized, no sync needed.
0 files exist on backend
2 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Last full backup is too old, forcing full backup
Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir: /home/bill/duplicity/photost_Brook_Scan

Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Using temporary directory 
/home/bill/duplicity/photost_Brook_Scan/duplicity-7iYSZ8-tempdir
Registering (mktemp) temporary file 
/home/bill/duplicity/photost_Brook_Scan/duplicity-7iYSZ8-
tempdir/mktemp-72lVSU-1
Releasing lockfile <LinkLockFile: 
'/home/bill/duplicity/photost_Brook_Scan/bill.165322655263390918527144' -- 
'/home/bill/duplicity/photost_Brook_Scan/lockfile'>
Removing still remembered temporary file /tmp/duplicity-ONLEMD-tempdir/mkstemp-
CWas4Q-1
Removing still remembered temporary file 
/home/bill/duplicity/photost_Brook_Scan/duplicity-7iYSZ8-
tempdir/mktemp-72lVSU-1
--- Finished state FAILED 'code 30' at 13:23:43.107 - Runtime 00:00:02.204 ---

The ERROR log:
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1525, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1519, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1373, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1489, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 557, in full_backup
    sig_outfp = get_sig_fileobj("full-sig")
  File "/usr/bin/duplicity", line 526, in get_sig_fileobj
    overwrite=True)
  File "/usr/lib64/python2.7/site-packages/duplicity/dup_temp.py", line 75, in 
get_fileobj_duppath
    tdp = TempDupPath(tdpname, parseresults=file_naming.parse(partname))
  File "/usr/lib64/python2.7/site-packages/duplicity/path.py", line 748, in 
__init__
    assert len(index) == 1
AssertionError

13:23:43.107 Task 'BKP' failed with exit code '30'.

-- 

Bill Bixby
Laconia, NH
On Saturday, December 26, 2015 11:59:52 PM address@hidden wrote:
> On 26.12.2015 23:26, Bill Bixby wrote:
> > Sorry, 100% of the failed run is included.  There is no other log output.
> 
> looks incomplete.. anyway afaics the tempfile do not end up where they
> should. the latest release had a change wrt. to temp file paths.
> 
> can you try duplicity 0.7.05? ..ede/duply.net
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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