tmp directory was removed before duplicity was finished with it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
On Thu, Jan 26, 2012 at 8:04 AM, <email address hidden> <email address hidden> wrote:
Hello - I'm new to Duplicity and I'm likely making a user error, however I've been unable to find a path around this issue. I've built Duplicity 0.6.17 and continue to receive the error message below when I attempt my first full backup using the local file backend. Perhaps the real issue is that my backup config is invalid and is not generating a tmp file, but is exposing a minor bug. At any rate, the same backup with "--dry-run" does not produce the same error. Details below.
Any suggestions? Thanks!
-Chris
debussy> duplicity --verbosity debug /volume1/sirhc file://
Using archive dir: /root/.
Using backup name: 353fa2a1d4f631c
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Main action: inc
=======
duplicity 0.6.17 (November 25, 2011)
Args: /opt/bin/duplicity --verbosity debug /volume1/sirhc file://
Linux debussy 2.6.32.12 #1955 SMP Sat Nov 26 14:52:27 CST 2011 x86_64
/opt/bin/python 2.6.7 (r267:88850, Jun 8 2011, 23:10:54)
[GCC 4.2.1]
=======
Using temporary directory /tmp/duplicity-
Registering (mkstemp) temporary file /tmp/duplicity-
Temp has 520413184 available, backup will use approx 34078720.
Local and Remote metadata are synchronized, no sync needed.
0 files exist on backend
0 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: /root/.
Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
PASSPHRASE variable not set, asking user.
Retype passphrase to confirm:
No signatures found, switching to full backup.
Using temporary directory /root/.
Registering (mktemp) temporary file /root/.
Using temporary directory /root/.
Registering (mktemp) temporary file /root/.
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file /tmp/duplicity-
Selecting /volume1/sirhc
GPG process 16825 terminated before wait()
Comparing () and None
Getting delta of (() /volume1/sirhc dir) and None
A .
Removing still remembered temporary file /tmp/duplicity-
Cleanup of temporary file /tmp/duplicity-
Removing still remembered temporary file /tmp/duplicity-
Cleanup of temporary file /tmp/duplicity-
Cleanup of temporary directory /tmp/duplicity-
Traceback (most recent call last):
File "/opt/bin/
with_
File "/opt/bin/
fn()
File "/opt/bin/
full_
File "/opt/bin/
globals.backend)
File "/opt/bin/
globals.
File "/opt/lib/
bytes_to_go = data_size - get_current_size()
File "/opt/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/tmp/duplicity
This is a bug! The directory was removed before duplicity was finished with it.
Please report this to https:/
...Thanks,
...Ken
This still occurs intermittantly on Duplicity 0.6.21 -
Cleanup of temporary directory /tmp/duplicity- kp9c7e- tempdir failed - this is probably a bug. duplicity" , line 1411, in <module> tempdir( main) duplicity" , line 1404, in with_tempdir duplicity" , line 1374, in main backup( col_stats) duplicity" , line 509, in full_backup backend) duplicity" , line 386, in write_multivol gpg_profile, globals.volsize) python2. 7/dist- packages/ duplicity/ gpg.py" , line 327, in GPGWriteFile python2. 7/dist- packages/ duplicity/ gpg.py" , line 320, in get_current_size filename) .st_size -kp9c7e- tempdir/ mktemp- lGZzMR- 4'
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
full_
File "/usr/bin/
globals.
File "/usr/bin/
globals.
File "/usr/lib/
bytes_to_go = data_size - get_current_size()
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/tmp/duplicity