I got that update, and things have changed a bit.

usr/lib/python3/dist-packages$ python3 duplicity/dup_main.py
 
returns nothing, which I think is what you wanted.

But:

/usr/lib/python3/dist-packages$ duplicity
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

(the same if I repeat the command from my home directory)

Or:

/usr/lib/python3/dist-packages$ duplicity/dup_main.py
bash: duplicity/dup_main.py: Permission denied

Or:

sudo duplicity/dup_main.py
[sudo] password for ...: 
sudo: duplicity/dup_main.py: command not found

As you can tell, I've no idea what to try, or what's really going on.

-- 
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 Committed
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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to