Registering (mktemp) temporary file failed (lp:#1315594)

[Original report](https://bugs.launchpad.net/bugs/1315594) created by **Alexey (alisitskiy)**
```
update duplicity to 982
pip install http://bazaar.launchpad.net/~duplicity-
team/duplicity/0.6-series/tarball/982

2014-05-03 02:15:01 START BACKUP

Using archive dir: /backup/amazon/archive/photosignbackup
Using backup name: photosignbackup
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Failed: the scheme cf+http
already has a backend associated with it
Import of duplicity.backends.dpbxbackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.par2backend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Main action: inc
================================================================================
duplicity $version ($reldate)
Args: /usr/bin/duplicity -v9 --s3-unencrypted-connection --s3-use-new-style
--s3-european-buckets --volsize 100 --tempdir /backup/amazon/tmp --archive-
dir=/backup/amazon/archive --name=photosignbackup --full-if-older-than 180D
/var/www/photositeuser/data/data s3+http://phototreasuredatabackupsphotos
Linux 1045-1.ru 2.6.32-042stab084.17 #1 SMP Fri Dec 27 17:10:20 MSK 2013
i686 i686
/usr/bin/python 2.6.6 (r266:84292, Jan 22 2014, 09:37:14)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
================================================================================
Using temporary directory /backup/amazon/tmp/duplicity-sCUyW4-tempdir
Registering (mkstemp) temporary file /backup/amazon/tmp/duplicity-
sCUyW4-tempdir/mkstemp-L_QHVv-1
Temp has 61136969728 available, backup will use approx 136314880.

...........

Connecting with backend: BackendWrapper
Archive dir: /backup/amazon/archive/photosignbackup

Found 0 secondary backup chains.

Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sun Jan 12 02:16:14 2014
Chain end time: Sun Mar  9 02:15:03 2014
Number of contained backup sets: 46
Total number of contained volumes: 126


..............................

No orphaned or incomplete backup sets found.
Registering (mktemp) temporary file /backup/amazon/tmp/duplicity-
sCUyW4-tempdir/mktemp-tykmgk-2
Backtrace of previous error: Traceback (innermost last):
  File "/usr/lib/python2.6/site-packages/duplicity/backend.py", line 363,
in inner_retry
    return fn(self, *args)
  File "/usr/lib/python2.6/site-packages/duplicity/backend.py", line 539,
in get
    "from backend") % util.ufn(local_path.name))
 BackendException: File /backup/amazon/tmp/duplicity-sCUyW4-tempdir/mktemp-
tykmgk-2 not found locally after get from backend

Attempt 1 failed. BackendException: File /backup/amazon/tmp/duplicity-
sCUyW4-tempdir/mktemp-tykmgk-2 not found locally after get from backend
Backtrace of previous error: Traceback (innermost last):
  File "/usr/lib/python2.6/site-packages/duplicity/backend.py", line 363,
in inner_retry
    return fn(self, *args)
  File "/usr/lib/python2.6/site-packages/duplicity/backend.py", line 539,
in get
    "from backend") % util.ufn(local_path.name))
 BackendException: File /backup/amazon/tmp/duplicity-sCUyW4-tempdir/mktemp-
tykmgk-2 not found locally after get from backend

Attempt 2 failed.
........................

Releasing lockfile <LinkLockFile:
'/backup/amazon/archive/photosignbackup/1045-1.ru-b74626c0.6292' --
'/backup/amazon/archive/photosignbackup/lockfile'>
Removing still remembered temporary file /backup/amazon/tmp/duplicity-
sCUyW4-tempdir/mktemp-tykmgk-2
Removing still remembered temporary file /backup/amazon/tmp/duplicity-
sCUyW4-tempdir/mkstemp-L_QHVv-1

2014-05-03 02:17:05 BACKUP FINISHED

AVERAGE BACKUP FILE PROCESSING SPEED WAS 0.00 KB\s
```
Original tags: temp

Story points: 10.0