Restore failed with an unkown error

Asked by Paul

I recently backed-up some files on my hard-drive using Deja Dup. About an hour ago I did a re-install of Ubuntu 10.04. However, when trying to restore my files I get this error:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1124, in main
    globals.gpg_profile.passphrase = get_passphrase(1, action)
  File "/usr/bin/duplicity", line 128, in get_passphrase
    pass1 = getpass.getpass("GnuPG passphrase: ")
  File "/usr/lib/python2.6/getpass.py", line 83, in unix_getpass
    passwd = fallback_getpass(prompt, stream)
  File "/usr/lib/python2.6/getpass.py", line 118, in fallback_getpass
    return _raw_input(prompt, stream)
  File "/usr/lib/python2.6/getpass.py", line 135, in _raw_input
    raise EOFError
EOFError

For my back-up, I used a separate partition on the same physical hard-drive. My files are encrypted and password protected. What went wrong? How can I get my files back? Any help is greatly appreciated!

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

You're hitting a combination of two bugs: bug 662884 and bug 582720. They're both fixed in the development version and will be fixed in the stable version.

The workaround for now is to restore to a directory in your home folder, not restore to 'original locations'. Then move files over. Sorry for the trouble.

Revision history for this message
acborba (acborba-6) said :
#2

I have like problem:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1186, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 538, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 522, in Write_ROPaths
    ITR( ropath.index, ropath )
  File "/usr/lib64/python2.7/site-packages/duplicity/lazy.py", line 335, in __call__
    last_branch.fast_process, args)
  File "/usr/lib64/python2.7/site-packages/duplicity/robust.py", line 37, in check_common_error
    return function(*args)
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 575, in fast_process
    ropath.copy( self.base_path.new_index( index ) )
  File "/usr/lib64/python2.7/site-packages/duplicity/path.py", line 510, in new_index
    return self.__class__(self.base, index)
  File "/usr/lib64/python2.7/site-packages/duplicity/path.py", line 486, in __init__
    self.setdata()
  File "/usr/lib64/python2.7/site-packages/duplicity/path.py", line 491, in setdata
    self.stat = os.lstat(self.name)
OSError: [Errno 84] Invalid or incomplete multibyte or wide character: '/media/Dados/home/alisson/Music/Metallica - Discography 1983-2008 (19 Albums, 23 CDs)/Metallica - 2010 - Platinium/CD 1/07 - Devil\xefs Dance.mp3'

:(

Revision history for this message
Michael Terry (mterry) said :
#3

acborba, your error is different. Can you file a bug against duplicity about it?

https://launchpad.net/duplicity/+filebug

Revision history for this message
Michael Terry (mterry) said :
#4

Paul, Ubuntu 10.10 now has a fixed version of Deja Dup. Try there?

Can you help with this problem?

Provide an answer of your own, or ask Paul for more information if necessary.

To post a message you must log in.