btrfs-snapshots-diff icon indicating copy to clipboard operation
btrfs-snapshots-diff copied to clipboard

ValueError: Unexpected attribute BTRFS_SEND_A_FILE_OFFSET

Open mio-19 opened this issue 1 year ago • 1 comments


Traceback (most recent call last):
  File "/home/user/@temp/btrfs-snapshots-diff.py", line 441, in <module>
    modified, commands = stream.decode()
                         ^^^^^^^^^^^^^^^
  File "/home/user/@temp/btrfs-snapshots-diff.py", line 322, in decode
    idx2, path = self._tlv_get_string(
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/@temp/btrfs-snapshots-diff.py", line 134, in _tlv_get_string
    raise ValueError('Unexpected attribute %s' % self.send_attrs[attr])
ValueError: Unexpected attribute BTRFS_SEND_A_FILE_OFFSET

mio-19 avatar Apr 22 '24 05:04 mio-19

It is a shame that this does not contain a repro or a version that triggered it.

Line 322 no longer has these contents, and it appears btrfs-snapshots-diff.py has not been changed since Jan 14, 2021.

pmorch avatar Feb 28 '25 00:02 pmorch