Comment 19 for bug 1855736

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1855736] Re: Duplicity fails to start

How did you install it? The version should be OK for Deja Dup.

On Tue, Dec 10, 2019 at 11:45 AM Tim Passingham <email address hidden>
wrote:

> After a quick web search I tried running
>
> duplicity --version
>
> That told me I needed to install 'future' with pip. So I installed
> python-pip, future, and fasteners.
>
> I now fail at:
>
> duplicity --version
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 55, in <module>
> from duplicity.dup_main import main
> ImportError: No module named duplicity.dup_main
>
> And then:
>
> pip install duplicity.dup_main
> Collecting duplicity.dup_main
> Could not install packages due to an EnvironmentError: 404 Client Error:
> Not Found for url: https://pypi.org/simple/duplicity-dup-main/
>
> Are there some comprehensive installation instructions somewhere?
>
> --
> You received this bug notification because you are subscribed to
> duplicity in Ubuntu.
> https://bugs.launchpad.net/bugs/1855736
>
> Title:
> Duplicity fails to start
>
> Status in Duplicity:
> Incomplete
> Status in duplicity package in Ubuntu:
> New
>
> Bug description:
> I am on 19.10. Duplicity crashes as soon as I try to start a backup,
> as below. It was running fine on 19.04.
>
> Traceback (innermost last):
> File "/usr/bin/duplicity", line 107, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 93, in with_tempdir
> fn()
> File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line
> 1522, in main
> action = commandline.ProcessCommandLine(sys.argv[1:])
> File "/usr/lib/python3/dist-packages/duplicity/commandline.py", line
> 1200, in ProcessCommandLine
> globals.backend = backend.get_backend(args[0])
> File "/usr/lib/python3/dist-packages/duplicity/backend.py", line 225,
> in get_backend
> obj = get_backend_object(url_string)
> File "/usr/lib/python3/dist-packages/duplicity/backend.py", line 211,
> in get_backend_object
> return factory(pu)
> File
> "/usr/lib/python3/dist-packages/duplicity/backends/giobackend.py", line 81,
> in __init__
> ensure_dbus()
> File
> "/usr/lib/python3/dist-packages/duplicity/backends/giobackend.py", line 37,
> in ensure_dbus
> lines = output.split(u'\n')
> TypeError: a bytes-like object is required, not 'str'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1855736/+subscriptions
>