Error release_lockfile

Asked by Bellantuono Daniel

Hi Guys,
I have a problem when i try to launch duplicity backup

an example:

duplicity /root/swift-play/duply swift://duply

return this error code :

Import of duplicity.backends.cfbackend Failed: 'module' object has no attribute 'cf_backend'
Import of duplicity.backends.dpbxbackend Failed: No module named dropbox

Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 1551, in <module>
    util.release_lockfile()
AttributeError: 'module' object has no attribute 'release_lockfile'

Duplicity version: 0.6.24
OS version: Ubuntu 12.04 - kernel 3.15

Do you have any idea?

Daniel

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#1

You need to install python-lockfile like so:

$ sudo apt-get install python-lockfile

The other two errors can be ignored.

On Sat, Sep 20, 2014 at 4:03 AM, Bellantuono Daniel <
<email address hidden>> wrote:

> New question #254765 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/254765
>
> Hi Guys,
> I have a problem when i try to launch duplicity backup
>
> an example:
>
> duplicity /root/swift-play/duply swift://duply
>
> return this error code :
>
> Import of duplicity.backends.cfbackend Failed: 'module' object has no
> attribute 'cf_backend'
> Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
>
> Traceback (most recent call last):
> File "/usr/local/bin/duplicity", line 1551, in <module>
> util.release_lockfile()
> AttributeError: 'module' object has no attribute 'release_lockfile'
>
>
> Duplicity version: 0.6.24
> OS version: Ubuntu 12.04 - kernel 3.15
>
> Do you have any idea?
>
> Daniel
>
> --
> You received this question notification because you are a member of
> duplicity-team, which is an answer contact for Duplicity.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~duplicity-team
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

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

To post a message you must log in.