Ticket #32565 (new defect)
duplicity 0.6.17: UnicodeDecodeError with WebDAVs backend
| Reported by: | porter@… | 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
comment:1 Changed 17 months ago by ryandesign@…
- Owner changed from macports-tickets@… to singingwolfboy@…
- Cc singingwolfboy@… removed
- Summary changed from UnicodeDecodeError with WebDAVs backend in duplicity 0.6.17 to duplicity 0.6.17: UnicodeDecodeError with WebDAVs backend
comment:3 Changed 13 months ago by porter@…
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 11 months ago by jmr@…
The same error is mentioned in https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/989496 (comment 5), so it's not just MacPorts.
Note: See
TracTickets for help on using
tickets.

