It looks like you still have 0.6.23 installed. You will need to apt-get
remove the distro version then reinstall the version from source.
On Wed, Mar 30, 2016 at 4:00 AM, Saad Ismail wrote:
> Public bug reported:
>
> Hello,
>
> I just installed duplicity-0.7.06 from source code & trying to push some
> backups to SFTP but getting this error:
>
> No signatures found, switching to full backup.
> Traceback (most recent call last):
> File "/usr/local/bin/duplicity", line 1532, in
> with_tempdir(main)
> File "/usr/local/bin/duplicity", line 1526, in with_tempdir
> fn()
> File "/usr/local/bin/duplicity", line 1380, in main
> do_backup(action)
> File "/usr/local/bin/duplicity", line 1501, in do_backup
> full_backup(col_stats)
> File "/usr/local/bin/duplicity", line 567, in full_backup
> globals.backend)
> File "/usr/local/bin/duplicity", line 448, in write_multivol
> (tdp, dest_filename, vol_num)))
> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 145, in schedule_task
> return self.__run_synchronously(fn, params)
> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 171, in __run_synchronously
> ret = fn(*params)
> File "/usr/local/bin/duplicity", line 447, in
> async_waiters.append(io_scheduler.schedule_task(lambda tdp,
> dest_filename, vol_num: put(tdp, dest_filename, vol_num),
> File "/usr/local/bin/duplicity", line 339, in put
> validate_block(putsize, dest_filename)
> File "/usr/local/bin/duplicity", line 322, in validate_block
> size = info['size']
> KeyError: 'size'
>
> I have both python2.7 as well as python3.4 installed on my system where
> duplicity is installed.
> Any idea what's wrong with it? Am I missing any dependency or is there
> some bug?
>
> Thank you
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: duplicity 0.6.23-1ubuntu4.1
> ProcVersionSignature: Ubuntu 3.19.0-56.62~14.04.1-generic 3.19.8-ckt15
> Uname: Linux 3.19.0-56-generic x86_64
> ApportVersion: 2.14.1-0ubuntu3.19
> Architecture: amd64
> Date: Wed Mar 30 13:48:50 2016
> InstallationDate: Installed on 2016-01-24 (65 days ago)
> InstallationMedia: It
> SourcePackage: duplicity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> ** Affects: duplicity (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: amd64 apport-bug trusty
>
> --
> You received this bug notification because you are subscribed to
> duplicity in Ubuntu.
> https://bugs.launchpad.net/bugs/1563738
>
> Title:
> duplicity throws traceback on backuping to sftp
>
> Status in duplicity package in Ubuntu:
> New
>
> Bug description:
> Hello,
>
> I just installed duplicity-0.7.06 from source code & trying to push
> some backups to SFTP but getting this error:
>
> No signatures found, switching to full backup.
> Traceback (most recent call last):
> File "/usr/local/bin/duplicity", line 1532, in
> with_tempdir(main)
> File "/usr/local/bin/duplicity", line 1526, in with_tempdir
> fn()
> File "/usr/local/bin/duplicity", line 1380, in main
> do_backup(action)
> File "/usr/local/bin/duplicity", line 1501, in do_backup
> full_backup(col_stats)
> File "/usr/local/bin/duplicity", line 567, in full_backup
> globals.backend)
> File "/usr/local/bin/duplicity", line 448, in write_multivol
> (tdp, dest_filename, vol_num)))
> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 145, in schedule_task
> return self.__run_synchronously(fn, params)
> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
> line 171, in __run_synchronously
> ret = fn(*params)
> File "/usr/local/bin/duplicity", line 447, in
> async_waiters.append(io_scheduler.schedule_task(lambda tdp,
> dest_filename, vol_num: put(tdp, dest_filename, vol_num),
> File "/usr/local/bin/duplicity", line 339, in put
> validate_block(putsize, dest_filename)
> File "/usr/local/bin/duplicity", line 322, in validate_block
> size = info['size']
> KeyError: 'size'
>
> I have both python2.7 as well as python3.4 installed on my system where
> duplicity is installed.
> Any idea what's wrong with it? Am I missing any dependency or is there
> some bug?
>
> Thank you
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: duplicity 0.6.23-1ubuntu4.1
> ProcVersionSignature: Ubuntu 3.19.0-56.62~14.04.1-generic 3.19.8-ckt15
> Uname: Linux 3.19.0-56-generic x86_64
> ApportVersion: 2.14.1-0ubuntu3.19
> Architecture: amd64
> Date: Wed Mar 30 13:48:50 2016
> InstallationDate: Installed on 2016-01-24 (65 days ago)
> InstallationMedia: It
> SourcePackage: duplicity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1563738/+subscriptions
>
--