[MacPorts] #32565: UnicodeDecodeError with WebDAVs backend in duplicity 0.6.17

MacPorts noreply at macports.org
Fri Dec 16 02:47:12 PST 2011


#32565: UnicodeDecodeError with WebDAVs backend in duplicity 0.6.17
--------------------------------+-------------------------------------------
 Reporter:  porter@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  duplicity                            
--------------------------------+-------------------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/32565>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list