I also have this bug present in Ubuntu 12.04 when trying to create a
fresh backup using Ubuntu's bundled Deja Dup backup system. The error
only has occurred while attempting to upload to Ubuntu One, a backup to
disk works fine.

This has happened consistently on about a half dozen attempts preventing
me from making any backups to Ubuntu One. It occurs as blueaz describes:
duplicity finishes creating the individual difftar files then Deja Dup
reports a status of "Uploading...". This continues for a long time
before the 401 error occurs. There is also a rather heavy amount of
sustained out-gong network traffic at this point.

The last few lines of the console with the following command:
DEJA_DUP_DEBUG=1 deja-dup --backup are:

DUPLICITY: DEBUG 1
DUPLICITY: . Comparing ('opt', 'sublime_text_2', 'sublime_plugin.pyc') and None

DUPLICITY: DEBUG 1
DUPLICITY: . Getting delta of (('opt', 'sublime_text_2', 'sublime_plugin.pyc') 
/opt/sublime_text_2/sublime_plugin.pyc reg) and None

DUPLICITY: INFO 4 'opt/sublime_text_2/sublime_plugin.pyc'
DUPLICITY: . A opt/sublime_text_2/sublime_plugin.pyc

DUPLICITY: DEBUG 1
DUPLICITY: . Selecting /opt/sublime_text_2/sublime_text

DUPLICITY: DEBUG 1
DUPLICITY: . Comparing ('opt', 'sublime_text_2', 'sublime_text') and None

DUPLICITY: DEBUG 1
DUPLICITY: . Getting delta of (('opt', 'sublime_text_2', 'sublime_text') 
/opt/sublime_text_2/sublime_text reg) and None

DUPLICITY: INFO 4 'opt/sublime_text_2/sublime_text'
DUPLICITY: . A opt/sublime_text_2/sublime_text

DUPLICITY: INFO 11
DUPLICITY: . AsyncScheduler: running task synchronously (asynchronicity 
disabled)

DUPLICITY: INFO 1
DUPLICITY: . Deleting /tmp/duplicity-qKDPIf-tempdir/mktemp-D5jjyh-123

DUPLICITY: DEBUG 1
DUPLICITY: . Forgetting temporary file 
/tmp/duplicity-qKDPIf-tempdir/mktemp-D5jjyh-123

DUPLICITY: INFO 13
DUPLICITY: . AsyncScheduler: task completed successfully

DUPLICITY: INFO 2 16400442390
DUPLICITY: . Processed volume 536

DUPLICITY: WARNING 1 
DUPLICITY: . Attempt 1 failed: BackendException: Got status code 401

DUPLICITY: DEBUG 1
DUPLICITY: . Backtrace of previous error: Traceback (innermost last):
DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", 
line 311, in iterate
DUPLICITY: .     return fn(*args, **kwargs)
DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 188, 
in put
DUPLICITY: .     self.handle_error(raise_errors, 'put', answer, 
source_path.name, remote_full)
DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 154, 
in handle_error
DUPLICITY: .     raise BackendException(msg)
DUPLICITY: .  BackendException: Got status code 401
DUPLICITY: . 

DUPLICITY: WARNING 1
DUPLICITY: . Attempt 2 failed: BackendException: Got status code 401

DUPLICITY: DEBUG 1
DUPLICITY: . Backtrace of previous error: Traceback (innermost last):
DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", 
line 311, in iterate
DUPLICITY: .     return fn(*args, **kwargs)
DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 188, 
in put
DUPLICITY: .     self.handle_error(raise_errors, 'put', answer, 
source_path.name, remote_full)
DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 154, 
in handle_error
DUPLICITY: .     raise BackendException(msg)
DUPLICITY: .  BackendException: Got status code 401
DUPLICITY: .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/920036

Title:
  Got status code 401 while trying to backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/920036/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to