duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] AttributeError: 'unicode' object has no attribute 'deco


From: Joel Carter
Subject: [Duplicity-talk] AttributeError: 'unicode' object has no attribute 'decode'
Date: Sat, 12 Dec 2009 15:23:18 -0800

Hi there.

Attempting to get my duplicity backups going through S3 now instead of
rsync. Upgraded from working 0.5.01 compiled from source to packages
installed from EPEL (this is CentOS 4.8):

Nov 30 23:12:17 Installed: python-GnuPGInterface.noarch 0.3.2-2.el4
Nov 30 23:12:17 Installed: ncftp.i386 2:3.2.2-1.el4
Nov 30 23:12:17 Installed: python-boto.noarch 1.0a-1.el4.1
Nov 30 23:12:21 Installed: librsync.i386 0.9.7-11.el4
Nov 30 23:12:22 Installed: duplicity.i386 0.6.05-1.el4

Ran one full backup successfully and now trying to run an incremental
but getting the following error message:

Reading filelist /root/svn/lion/backup-excludes
Sorting filelist /root/svn/lion/backup-excludes
Local and Remote metadata are synchronized, no sync needed.
Traceback (most recent call last):
 File "/usr/bin/duplicity", line 1241, in ?
   with_tempdir(main)
 File "/usr/bin/duplicity", line 1234, in with_tempdir
   fn()
 File "/usr/bin/duplicity", line 1139, in main
   globals.archive_dir).set_values()
 File "/usr/lib/python2.3/site-packages/duplicity/collections.py",
line 672, in set_values
   (backup_chains, self.orphaned_backup_sets,
 File "/usr/lib/python2.3/site-packages/duplicity/collections.py",
line 816, in get_backup_chains
   map(add_to_sets, filename_list)
 File "/usr/lib/python2.3/site-packages/duplicity/collections.py",
line 810, in add_to_sets
   log.Debug(_("File %s is not part of a known set; creating new
set") % (filename,))
 File "/usr/lib/python2.3/site-packages/duplicity/log.py", line 73, in Debug
   Log(s, DEBUG)
 File "/usr/lib/python2.3/site-packages/duplicity/log.py", line 65, in Log
   _logger.log(DupToLoggerLevel(verb_level), s.decode("utf8", "ignore"))
AttributeError: 'unicode' object has no attribute 'decode'

Figured maybe it was because I didn't have a new enough Python, but
"Python 2.3.4" should be adequate looking in the README.

Any tips you have would be appreciated!

Thanks! Joel.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]