Cant backup due to an error AttributeError: BackupChain instance has no attribute 'archive_dir'

Asked by Matthias R. Mühler

After starting Deja dup I get the following error garbish that I absolutely don´t understand. What can I do?

message:

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 1137, in main
    globals.archive_dir).set_values()
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 682, in set_values
    backup_chains = self.get_sorted_chains(backup_chains)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 920, in get_sorted_chains
    assert chain_list[1].archive_dir # other is local
AttributeError: BackupChain instance has no attribute 'archive_dir'

Thanks in advance.

Matthias

Question information

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

Looks like you hit https://bugs.launchpad.net/duplicity/+bug/401153

My recommendation is to type the following into a Terminal and try again:
rm -rf ~/.cache/deja-dup

Let me know whether that works!

Revision history for this message
Matthias R. Mühler (matthias-muehler) said :
#2

It works fine. Thanks for your fast help. Matthias

2010/12/8 Michael Terry <email address hidden>:
> Your question #136992 on Déjà Dup changed:
> https://answers.launchpad.net/deja-dup/+question/136992
>
>    Status: Open => Answered
>
> Michael Terry proposed the following answer:
> Looks like you hit https://bugs.launchpad.net/duplicity/+bug/401153
>
> My recommendation is to type the following into a Terminal and try again:
> rm -rf ~/.cache/deja-dup
>
> Let me know whether that works!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/deja-dup/+question/136992/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/deja-dup/+question/136992
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Matthias R. Mühler (matthias-muehler) said :
#3

Thanks Michael Terry, that solved my question.