Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192270 - app-backup/duplicity-0.4.3 requires dev-python/py-gnupg and dev-python/pexpect
Summary: app-backup/duplicity-0.4.3 requires dev-python/py-gnupg and dev-python/pexpect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrej Kacian (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 08:32 UTC by Neil Bothwick
Modified: 2007-09-12 14:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2007-09-12 08:32:11 UTC
After updating duplicity to 0.4.3 I get this when running it

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 29, in <module>
    from duplicity import collections, commandline, diffdir, dup_temp, \
  File "/var/tmp/portage/app-backup/duplicity-0.4.3/image//usr/lib/python2.5/site-packages/duplicity/collections.py", line 22, in <module>
  File "/var/tmp/portage/app-backup/duplicity-0.4.3/image//usr/lib/python2.5/site-packages/duplicity/path.py", line 649, in <module>
  File "/var/tmp/portage/app-backup/duplicity-0.4.3/image//usr/lib/python2.5/site-packages/duplicity/gpg.py", line 22, in <module>
ImportError: No module named GnuPGInterface

The GnuPGInterface module was included in the previous version but has now been removed and is a separate package, dev-python/py-gnupg. pexpect is also required.

Explanation: http://article.gmane.org/gmane.comp.sysutils.backup.duplicity.general/1003

After emerging dev-python/py-gnupg-0.3.2 and dev-python/pexpect-2.1, duplicity is working again. Can you add these as RDEPENDS?
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2007-09-12 12:05:04 UTC
It works without pexpect here...
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-09-12 13:18:48 UTC
...but after some digging, I found out that the duplicity code uses pexpect at some places. Both py-gnupg and pexpect were added to RDEPEND. Thanks!
Comment 3 Neil Bothwick 2007-09-12 14:03:36 UTC
It barfed on the missing pexpect as soon as I ran it. Does it only affect --encrypt-key, the only other arguments I used were --include and --exclude?

Anyway, thanks for the quick fix.