Public bug reported:

Duplicity suddenly fails when I run an old backup script, that I have
used unchanged for two months.

I expected to backup to succeed and not give an error message.

The error message I got is:

```
TypeError: can only concatenate str (not "bytes") to str
```

And in context:

```
Added incremental Backupset (start_time: Fri Oct 18 19:18:20 2019 / end_time: 
Tue Oct 22 17:18:24 2019)
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Sep 23 16:44:18 2019
Attempt 1 failed. TypeError: can only concatenate str (not "bytes") to str
Attempt 2 failed. TypeError: can only concatenate str (not "bytes") to str
Attempt 3 failed. TypeError: can only concatenate str (not "bytes") to str
Attempt 4 failed. TypeError: can only concatenate str (not "bytes") to str
Giving up after 5 attempts. TypeError: can only concatenate str (not "bytes") 
to str
Cleanup of temporary directory /tmp/duplicity-tvzschy0-tempdir failed - this is 
probably a bug.
```

It is possible, that this is an interaction with the Backblaze B2
package "b2", however, I tried to install older versions of that package
by doing:

```
pip3 install b2==1.3.0
pip3 install b2==1.2.0
pip3 install b2==1.1.0
```

But in each version the error remained the same. (No "b2" package is
installed via apt or the python2 pip. Interestingly when I have only the
python-2 b2 package installed, duplicity complains that the package is
not present at all, so I guess duplicity changed to python3 now.)

Versions:
Ubuntu: 19.10
duplicity: 0.8.04-2ubuntu1
b2 Python Package: 1.4.2

** Affects: duplicity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1850059

Title:
  Backup (B2-Backend) fails with 'TypeError: can only concatenate str
  (not "bytes") to str'

Status in duplicity package in Ubuntu:
  New

Bug description:
  Duplicity suddenly fails when I run an old backup script, that I have
  used unchanged for two months.

  I expected to backup to succeed and not give an error message.

  The error message I got is:

  ```
  TypeError: can only concatenate str (not "bytes") to str
  ```

  And in context:

  ```
  Added incremental Backupset (start_time: Fri Oct 18 19:18:20 2019 / end_time: 
Tue Oct 22 17:18:24 2019)
  Local and Remote metadata are synchronized, no sync needed.
  Last full backup date: Mon Sep 23 16:44:18 2019
  Attempt 1 failed. TypeError: can only concatenate str (not "bytes") to str
  Attempt 2 failed. TypeError: can only concatenate str (not "bytes") to str
  Attempt 3 failed. TypeError: can only concatenate str (not "bytes") to str
  Attempt 4 failed. TypeError: can only concatenate str (not "bytes") to str
  Giving up after 5 attempts. TypeError: can only concatenate str (not "bytes") 
to str
  Cleanup of temporary directory /tmp/duplicity-tvzschy0-tempdir failed - this 
is probably a bug.
  ```

  It is possible, that this is an interaction with the Backblaze B2
  package "b2", however, I tried to install older versions of that
  package by doing:

  ```
  pip3 install b2==1.3.0
  pip3 install b2==1.2.0
  pip3 install b2==1.1.0
  ```

  But in each version the error remained the same. (No "b2" package is
  installed via apt or the python2 pip. Interestingly when I have only
  the python-2 b2 package installed, duplicity complains that the
  package is not present at all, so I guess duplicity changed to python3
  now.)

  Versions:
  Ubuntu: 19.10
  duplicity: 0.8.04-2ubuntu1
  b2 Python Package: 1.4.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1850059/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to