Opened 13 years ago
Closed 10 years ago
#32565 closed defect (fixed)
duplicity 0.6.17: UnicodeDecodeError with WebDAVs backend
Reported by: | bayonne | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | duplicity |
Description
Hello,
I was trying to get collection-status or list-current-files from webdavs (https) backups with MacPorts-installed duplicity 0.6.17 (on Mac OS 10.6.8), and I got a UnicodeDecodeError:
Traceback (most recent call last): File "/opt/local/bin/duplicity", line 1377, in <module> with_tempdir(main) File "/opt/local/bin/duplicity", line 1370, in with_tempdir fn() File "/opt/local/bin/duplicity", line 1250, in main globals.archive_dir).set_values() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/collections.py", line 696, in set_values self.get_backup_chains(partials + backend_filename_list) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/collections.py", line 819, in get_backup_chains map(add_to_sets, filename_list) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/collections.py", line 813, in add_to_sets log.Debug(_("File %s is not part of a known set; creating new set") % (filename,)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 23: ordinal not in range(128)
That happened with 3 different webdavs servers.
Then I installed duplicity 0.6.17 from the tarball into my HOME directory, and I can't reproduce the problem anymore.
Change History (6)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | singingwolfboy@… removed |
---|---|
Owner: | changed from macports-tickets@… to singingwolfboy@… |
Summary: | UnicodeDecodeError with WebDAVs backend in duplicity 0.6.17 → duplicity 0.6.17: UnicodeDecodeError with WebDAVs backend |
comment:2 Changed 13 years ago by jmroot (Joshua Root)
comment:3 Changed 13 years ago by bayonne
My duplicity tree is now installed manually: all I can tell is that I haven't seen this error either with manually installed 0.6.17 or manually installed 0.6.18.
Dependencies still come from MacPorts.
comment:4 Changed 12 years ago by jmroot (Joshua Root)
The same error is mentioned in https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/989496 (comment 5), so it's not just MacPorts.
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from singingwolfboy@… to macports-tickets@… |
---|
comment:6 Changed 10 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
It seems this was fixed upstream. r133434 updated to 0.7.01 which should include the fix, so closing this.
Is this still a problem with 0.6.18?