Hello,
I previously have this problem (with sudo), and solve it, I don't remember how.
Today the bug also here but it is strange, I use the ppa with the 2.1.2 and 
duplicity folder on /usr/local/lib/python3.10/dist-packages/ is empty. So I 
think the bug is link to that.
I have the same message write in bug description.

I try to build duplicity : https://gitlab.com/duplicity/duplicity
python3 setup.py install
It work but when I start backup I have a new error message : "Backups requires 
at least version 0.7.14 of duplicity, but only found version 0.0.00"
The "duplicity --version" return "duplicity $version" so I found __init__.py in 
/usr/local/lib/python3.10/dist-packages/duplicity and replace "__version__ = 
'$version'" by "__version__ = '2.1.2'".
It work's.

Do you think it is really correct ?

How it could work without root ?

Can anybody look the problem and found another solution ?

Thanks in advance

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1855736

Title:
  Duplicity fails to start

Status in Duplicity:
  Fix Released
Status in duplicity package in Ubuntu:
  Fix Committed

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to