Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672710 - =app-backup/duplicity-0.7.19 version bump
Summary: =app-backup/duplicity-0.7.19 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-07 18:00 UTC by Horst Prote
Modified: 2019-09-30 17:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Prote 2018-12-07 18:00:13 UTC
Please bump duplicity to version 0.7.18: https://code.launchpad.net/duplicity/0.7-series/0.7.18.2/+download/duplicity-0.7.18.2.tar.gz

Plain renaming of 0.7.17 ebuild worked for me.
Comment 1 Horst Prote 2018-12-10 20:01:54 UTC
(In reply to Horst Prote from comment #0)
> Plain renaming of 0.7.17 ebuild worked for me.
No, it only builds without error but does not work:
duplicity full --encrypt-key <key-id> --sign-key <key-id> /tmp/backupTest sftp://<user>@<host>/<somedir>/
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
GnuPG passphrase for signing key: *********
Traceback (innermost last):
  File "/usr/bin/duplicity", line 1567, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1553, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1405, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1523, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 584, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 466, in write_multivol
    (tdp, dest_filename, vol_num)))
  File "/usr/lib64/python2.7/site-packages/duplicity/asyncscheduler.py", line 146, in schedule_task
    return self.__run_synchronously(fn, params)
  File "/usr/lib64/python2.7/site-packages/duplicity/asyncscheduler.py", line 172, in __run_synchronously
    ret = fn(*params)
  File "/usr/bin/duplicity", line 465, in <lambda>
    vol_num: put(tdp, dest_filename, vol_num),
  File "/usr/bin/duplicity", line 355, in put
    validate_block(putsize, dest_filename)
  File "/usr/bin/duplicity", line 337, in validate_block
    util.escape(dest_filename), orig_size))
 TypeError: %d format: a number is required, not NoneType


On the target in <somedir> only one file
   duplicity-full.20181210T193831Z.vol1.difftar.gpg
was created.
The same command with version 0.7.17 works.
Comment 2 Horst Prote 2019-09-30 16:20:16 UTC
In the meantime version 0.7.19 is out and this version works (plain renaming of 0.7.17 ebuild).
Comment 3 Larry the Git Cow gentoo-dev 2019-09-30 17:21:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f7a2545ddee66cac3394e7b4bc1e3ae3f3aa55

commit b5f7a2545ddee66cac3394e7b4bc1e3ae3f3aa55
Author:     Richard Freeman <rich0@gentoo.org>
AuthorDate: 2019-09-30 17:21:13 +0000
Commit:     Richard Freeman <rich0@gentoo.org>
CommitDate: 2019-09-30 17:21:13 +0000

    app-backup/duplicity: bump, EAPI 7 port
    
    Fixes: https://bugs.gentoo.org/672710
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Richard Freeman <rich0@gentoo.org>

 app-backup/duplicity/Manifest                |  1 +
 app-backup/duplicity/duplicity-0.7.19.ebuild | 52 ++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)