duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Error with B2 - TypeError: argument should be a str


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Error with B2 - TypeError: argument should be a str object or an os.PathLike object returning str, not <class 'bytes'>
Date: Thu, 20 Jul 2023 09:52:53 -0500

This was fixed in #701, so please upgrade to the current version of duplicity.

See https://duplicity.us/ section Download

...Thanks,
...Ken


On Wed, Jul 19, 2023 at 10:31 PM Paul Galbraith via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
I've been using duplicity for a about a year on OpenBSD but now I am
getting an error apparently when duplicity is trying to get signatures. 
I suspect a recent OpenBSD upgrade is part of the problem, python was
upgraded 3.9 -> 3.10 and many python dependencies are updated.  I've
tried re-installing duplicity and dependencies, but haven't had any
improvement after doing so.  If anyone can point me in the right
direction I'd be very appreciative!  This is the tail of the output from
duplicity:

Ignoring incremental Backupset (start_time: Sat Jul 15 01:34:51 2023;
needed: Mon Apr 24 01:31:04 2023)
Ignoring incremental Backupset (start_time: Sat Jul 15 01:34:51 2023;
needed: Thu May 25 01:31:00 2023)
Ignoring incremental Backupset (start_time: Sat Jul 15 01:34:51 2023;
needed: Sat Jun 24 01:31:50 2023)
Added incremental Backupset (start_time: Sat Jul 15 01:34:51 2023 /
end_time: Sun Jul 16 01:34:18 2023)
Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20230625T053247Z.sigtar.gpg to local
cache.
Using temporary directory /tmp/duplicity-25368alc-tempdir
Get: duplicity/duplicity-full-signatures.20230625T053247Z.sigtar.gpg ->
/tmp/duplicity-25368alc-tempdir/mktemp-nsrzrxe6-1
Attempt of get Nr. 1 failed. TypeError: argument should be a str object
or an os.PathLike object returning str, not <class 'bytes'>
Get: duplicity/duplicity-full-signatures.20230625T053247Z.sigtar.gpg ->
/tmp/duplicity-25368alc-tempdir/mktemp-nsrzrxe6-1
Attempt of get Nr. 2 failed. TypeError: argument should be a str object
or an os.PathLike object returning str, not <class 'bytes'>
Get: duplicity/duplicity-full-signatures.20230625T053247Z.sigtar.gpg ->
/tmp/duplicity-25368alc-tempdir/mktemp-nsrzrxe6-1
Attempt of get Nr. 3 failed. TypeError: argument should be a str object
or an os.PathLike object returning str, not <class 'bytes'>
Get: duplicity/duplicity-full-signatures.20230625T053247Z.sigtar.gpg ->
/tmp/duplicity-25368alc-tempdir/mktemp-nsrzrxe6-1
Attempt of get Nr. 4 failed. TypeError: argument should be a str object
or an os.PathLike object returning str, not <class 'bytes'>
Get: duplicity/duplicity-full-signatures.20230625T053247Z.sigtar.gpg ->
/tmp/duplicity-25368alc-tempdir/mktemp-nsrzrxe6-1
Giving up after 5 attempts. TypeError: argument should be a str object
or an os.PathLike object returning str, not <class 'bytes'>


_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

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