Bug 725425

Summary: Duplicity fails to run with python 2.6
Product: [Fedora] Fedora EPEL Reporter: David <david.m.beer>
Component: duplicityAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: el5CC: redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-25 22:51:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David 2011-07-25 13:04:50 UTC
Description of problem:
Duplicity fails to run with python 2.6

Version-Release number of selected component (if applicable):
0.6.11-1.el5

How reproducible:
Everytime

Steps to Reproduce:
1. Add epel repo
2. Install python 2.6
3. Install duplicity
4. run duplicity 'duplicity --version'
  
Actual results:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 36, in <module>
    from duplicity import log
ImportError: No module named duplicity


Expected results:
Duplicity runs and displays version

Additional info:

I am using the Amazon Linux AMI which is based on a recent version of CentOS.

Comment 1 Robert Scheck 2011-07-25 20:21:27 UTC
Please test https://admin.fedoraproject.org/updates/duplicity-0.6.14-1.el5 -
and let me know if this update solves your issue or not. Keep in mind, that
duplicity has been built for the original python version only, not for any
python26 stuff or similar.

Comment 2 David 2011-07-25 22:09:47 UTC
Hi installed duplicity from epel-testing and still have the same result. According to yum I have python 2.4.6 installed and 2.6.7. I can see tha duplicity has been installed to /usr/lib64/python2.4/site-packages/

ls /usr/lib64/python2.4/site-packages/

duplicity  japanese  japanese.pth  README


Is there any other information you need.

Comment 3 Robert Scheck 2013-12-25 22:51:45 UTC
The duplicity package in EPEL 5 only supports python 2.4 from RHEL 5