← Back to team overview

duplicity-team team mailing list archive

Re: [Question #664503]: cannot import name Gio

 

Question #664503 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/664503

    Status: Open => Answered

edso proposed the following answer:
Dan,

can you check if the gio files
  https://packages.ubuntu.com/xenial/amd64/python-gi/filelist
exist on your box?

would you be willing to patch your duplicity to have it describe the
error in more detail?

..ede/duply.net


On 2/18/2018 12:33, Dan Jaenecke wrote:
> Question #664503 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/664503
> 
>     Status: Answered => Open
> 
> Dan Jaenecke is still having a problem:
> Hi edso,
> 
> same problem with 0.7.16…
> 
> $ PYTHONPATH=/opt/duplicity/lib/python2.7/site-packages /opt/duplicity/bin/duplicity -V
> duplicity 0.7.16
> 
> $ PYTHONPATH=/opt/duplicity/lib/python2.7/site-packages /opt/duplicity/bin/duplicity --verbosity=9 --gio collection-status file:///tmp
> Achtung: Parameter --gio ist veraltet und wird in einer der nächsten Versionen entfernt.
> Bitte verwenden Sie Standarddateinamen.
> Folgendes Archivverzeichnis wird benutzt: /home/daniel/.cache/duplicity/c2731c0788339744944161fd8afb74dd
> Folgender Sicherungsname wird benutzt: c2731c0788339744944161fd8afb74dd
> GPG binary is gpg, version 1.4.20
> Import von duplicity.backends.acdclibackend Succeeded
> Import von duplicity.backends.azurebackend Succeeded
> Import von duplicity.backends.b2backend Succeeded
> Import von duplicity.backends.botobackend Succeeded
> Import von duplicity.backends.cfbackend Succeeded
> Import von duplicity.backends.dpbxbackend Failed: No module named dropbox
> Import von duplicity.backends.gdocsbackend Succeeded
> Import von duplicity.backends.giobackend Succeeded
> Import von duplicity.backends.hsibackend Succeeded
> Import von duplicity.backends.hubicbackend Succeeded
> Import von duplicity.backends.imapbackend Succeeded
> Import von duplicity.backends.lftpbackend Succeeded
> Import von duplicity.backends.localbackend Succeeded
> Import von duplicity.backends.mediafirebackend Succeeded
> Import von duplicity.backends.megabackend Succeeded
> Import von duplicity.backends.multibackend Succeeded
> Import von duplicity.backends.ncftpbackend Succeeded
> Import von duplicity.backends.onedrivebackend Succeeded
> Import von duplicity.backends.par2backend Succeeded
> Import von duplicity.backends.pydrivebackend Succeeded
> Import von duplicity.backends.rsyncbackend Succeeded
> Import von duplicity.backends.ssh_paramiko_backend Succeeded
> Import von duplicity.backends.ssh_pexpect_backend Succeeded
> Import von duplicity.backends.swiftbackend Succeeded
> Import von duplicity.backends.sxbackend Succeeded
> Import von duplicity.backends.tahoebackend Succeeded
> Import von duplicity.backends.webdavbackend Succeeded
> Temporäres Verzeichnis /tmp/duplicity-JQJDoc-tempdir wird benutzt
> Fehlerdetail des Hintergrundprogramms: Traceback (innermost last):
>   File "/opt/duplicity/bin/duplicity", line 1559, in <module>
>     with_tempdir(main)
>   File "/opt/duplicity/bin/duplicity", line 1545, in with_tempdir
>     fn()
>   File "/opt/duplicity/bin/duplicity", line 1381, in main
>     action = commandline.ProcessCommandLine(sys.argv[1:])
>   File "/opt/duplicity/lib/python2.7/site-packages/duplicity/commandline.py", line 1132, in ProcessCommandLine
>     globals.backend = backend.get_backend(args[0])
>   File "/opt/duplicity/lib/python2.7/site-packages/duplicity/backend.py", line 223, in get_backend
>     obj = get_backend_object(url_string)
>   File "/opt/duplicity/lib/python2.7/site-packages/duplicity/backend.py", line 211, in get_backend_object
>     raise BackendException(_("Could not initialize backend: %s") % str(sys.exc_info()[1]))
>  BackendException: Hintergrundprogramm konnte nicht initialisiert werden: cannot import name Gio
> 
> BackendException: Hintergrundprogramm konnte nicht initialisiert werden:
> cannot import name Gio
>

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.