A call to log.Log is made with too many aruguments Reproducible: Always Steps to Reproduce: 1. Remove old backups from a s3+http repository. 2. Observe the crash Actual Results: # duplicity remove-older-than now --force s3+http://bd_satoshi_backup Current active backup chain is older than specified time. However, it will not be deleted. To remove all your backups, manually purge the repository. Deleting backup sets at times: Thu Nov 15 21:19:05 2007 Fri Nov 16 00:09:20 2007 Sun Nov 18 00:09:06 2007 Mon Nov 19 00:09:12 2007 Tue Nov 20 00:09:06 2007 Wed Nov 21 00:09:11 2007 Thu Nov 22 00:09:12 2007 Fri Nov 23 00:09:06 2007 Sat Nov 24 00:09:05 2007 Sun Nov 25 00:09:06 2007 Sun Nov 25 21:22:25 2007 Mon Nov 26 00:09:08 2007 Tue Nov 27 00:09:08 2007 Wed Nov 28 00:09:07 2007 Thu Nov 29 00:09:10 2007 Fri Nov 30 00:09:09 2007 Sat Dec 1 00:09:05 2007 Mon Dec 3 00:09:11 2007 Tue Dec 4 00:09:07 2007 Wed Dec 5 00:09:06 2007 Traceback (most recent call last): File "/usr/bin/duplicity", line 421, in ? if __name__ == "__main__": main() File "/usr/bin/duplicity", line 406, in main elif action == "remove-old": remove_old(col_stats) File "/usr/bin/duplicity", line 349, in remove_old for set in setlist: set.delete() File "/usr/lib64/python2.4/site-packages/duplicity/collections.py", line 105, in delete self.backend.delete(l) File "/usr/lib64/python2.4/site-packages/duplicity/backends.py", line 776, in delete log.Log("Deleted %s/%s" % (self.straight_url, filename, filename), 9) TypeError: not all arguments converted during string formatting Portage 2.1.3.19 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.16.29-xen x86_64) ================================================================= System uname: 2.6.16.29-xen x86_64 Dual-Core AMD Opteron(tm) Processor 2212 HE Timestamp of tree: Fri, 07 Dec 2007 00:00:04 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=opteron -mtune=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=opteron -mtune=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/ local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 async bitmap-fonts bzip2 ccache cgi cjk cli cracklib crypt curl curlwrappers dri fam fastcgi flac fontconfig fortran gd gd-external gdbm gnutls gpm iconv ip v6 isdnlog midi mudflap ncurses nethack nls nptl nptlonly ogg openmp pam pcre perl postgres ppds pppd python readline recode reflection rrdtool session spl srvdir ssl tcpd truetyp e truetype-fonts type1-fonts unicode vhosts xattr xorg xpm zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 h da-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 iopl ug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_fi le authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter he aders include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="key board mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 137934 [details, diff] Trivial fix
Can you report that upstream, so the fix is included in next version?
I have, it seems it was already fixed in upstream CVS and has been released in 0.4.7: https://savannah.nongnu.org/bugs/?21744
0.4.7 in the tree now, thanks!