Red Hat Bugzilla – Bug 440346
duplicity 0.4.9 package doesn't work with python 2.3
Last modified: 2008-05-05 16:18:40 EDT
I installed the 0.4.9 package on my CentOS 4 server, and then every day I
started to get these messages from my daily backup:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 460, in ?
File "/usr/bin/duplicity", line 455, in with_tempdir
File "/usr/bin/duplicity", line 388, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/duplicity/commandline.py", line 462, in
backup, local_pathname = set_backend(args, args)
File "/usr/lib/python2.3/site-packages/duplicity/commandline.py", line 372, in
backend1, backend2 = backends.get_backend(arg1), backends.get_backend(arg2)
File "/usr/lib/python2.3/site-packages/duplicity/backends.py", line 75, in
pu = ParsedUrl(url_string)
File "/usr/lib/python2.3/site-packages/duplicity/backends.py", line 61, in
if pu.scheme in urlparser.uses_netloc and not pu.hostname:
File "/usr/lib/python2.3/site-packages/duplicity/urlparse_2_5.py", line 103,
netloc = netloc.rsplit("@", 1)
AttributeError: 'str' object has no attribute 'rsplit'
I see in the spec file that there's a python23 patch, but I guess it's not
covering everything necessary?
Known problem; looks like we've less epel-testing users around. I also had a talk
with upstream because of this in March. Let me see, whether there's something new
Response from upstream today: "I am working on it. I should be able to have it
in the next release, a couple of weeks away."
Max, the new version of duplicity (0.4.11) should solve all python 2.3 issues as
per upstream. Until the package reaches EPEL testing repository, you can grab the
RPM package from the build system repository:
I'm going to close this bug report now, as I expect everything to work again. If
something doesn't work, please reopen this bug report immediately and give me all
details. Same applies to you, Shea and a big thanks to Kenneth :)