← 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

edso proposed the following answer:
On 2/18/2018 12:33, Dan Jaenecke wrote:
> $ 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

i see you are running duplicity in shell. in case you are willing to
waive the comfort of deja-dup (which insists on gio) you could use the
standard backends. note the additional given default python libs path
and the missing '--gio'

  PYTHONPATH=/opt/duplicity/lib/python2.7/site-
packages:/usr/lib/python2.7/dist-packages/ /opt/duplicity/bin/duplicity
--verbosity=9 --gio collection-status file:///tmp

..ede/duply.net

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