Public bug reported:

On a fresh install of Ubuntu 17.04, deja-dup consistently failed doing
backup, both over SSH, to an external hard drive and to the internal
drive. I tried initiating the backup both using the terminal and from
the GUI. The backup window would show up for a couple of seconds before
displaying «Failed with an unknown error».

Running deja-dup --backup with DEJA_DUP_DEBUG=1 gave me the following:

DUPLICITY: . Detaljer fra bakstykke-feilmelding: Traceback (most recent call 
last):
DUPLICITY: .   File "/usr/bin/duplicity", line 1532, in <module>
DUPLICITY: .     with_tempdir(main)
DUPLICITY: .   File "/usr/bin/duplicity", line 1526, in with_tempdir
DUPLICITY: .     fn()
DUPLICITY: .   File "/usr/bin/duplicity", line 1364, in main
DUPLICITY: .     action = commandline.ProcessCommandLine(sys.argv[1:])
DUPLICITY: .   File 
"/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1122, in 
ProcessCommandLine
DUPLICITY: .     globals.backend = backend.get_backend(args[0])
DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", 
line 223, in get_backend
DUPLICITY: .     obj = get_backend_object(url_string)
DUPLICITY: .   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", 
line 211, in get_backend_object
DUPLICITY: .     raise BackendException(_("Could not initialize backend: %s") % 
str(sys.exc_info()[1]))
DUPLICITY: . BackendException: Klarte ikke \xe5 starte bakstykke. No module 
named gi.repository

It turned out that installing the package python-gi solved the problem,
and the backup now runs as expected. It seems to me that this package
should have been a dependency of deja-dup.

I am running deja-dup 34.4-0ubuntu1 and duplicity 0.7.06-2ubuntu3.

** Affects: deja-dup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gi.repository python-gi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730325

Title:
  Backup "Failed with an unknown error" with "No module named
  gi.repository"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/1730325/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to