AttributeError: '_io.BufferedReader' object has no attribute 'uc_name'

Bug #1852876 reported by Michael Terry on 2019-11-16
This bug affects 7 people
Affects Status Importance Assigned to Milestone

Bug Description

I’m seeing a few recent reports of this error:

That last has a full stacktrace.

Might this be a regression in 0.8.07? (The Deja Dup snap, which is part of two of those above reports, is on 0.8.07)

Changed in duplicity:
assignee: nobody → Kenneth Loafman (kenneth-loafman)
importance: Undecided → Medium
milestone: none → 0.8.08
status: New → In Progress
Changed in duplicity:
assignee: Kenneth Loafman (kenneth-loafman) → nobody
status: In Progress → Fix Committed
Michael Terry (mterry) wrote :

Thanks Ken for such prompt investigation!

Changed in duplicity:
status: Fix Committed → Fix Released
Vipul (vipul-bhandari) wrote :

Also affects me in Ubuntu 19.10. It prepares backup and while trying to store it gives this error

Traceback (innermost last):
  File "/usr/bin/duplicity", line 107, in <module>
  File "/usr/bin/duplicity", line 93, in with_tempdir
  File "/usr/lib/python3/dist-packages/duplicity/", line 1535, in main
  File "/usr/lib/python3/dist-packages/duplicity/", line 1659, in do_backup
  File "/usr/lib/python3/dist-packages/duplicity/", line 565, in full_backup
  File "/usr/lib/python3/dist-packages/duplicity/", line 422, in write_multivol
  File "/usr/lib/python3/dist-packages/duplicity/", line 393, in GPGWriteFile
    data = block_iter.__next__().data
  File "/usr/lib/python3/dist-packages/duplicity/", line 542, in __next__
    result = self.process(next(self.input_iter)) # pylint: disable=assignment-from-no-return
  File "/usr/lib/python3/dist-packages/duplicity/", line 680, in process
    data, last_block = self.get_data_block(fp)
  File "/usr/lib/python3/dist-packages/duplicity/", line 707, in get_data_block
    buf =
  File "/usr/lib/python3/dist-packages/duplicity/", line 449, in read
    buf =
  File "/usr/lib/python3/dist-packages/duplicity/", line 417, in read
    log.Warn(_(u"Error %s getting delta for %s") % (str(ex), self.infile.uc_name))
 AttributeError: '_io.BufferedReader' object has no attribute 'uc_name'

Vipul (vipul-bhandari) wrote :

If needed I can help provide more details

Vipul (vipul-bhandari) wrote :

Version of duplicity is 0.8.04-2ubuntu1

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers