"borg2 create" crashes

Bug #2092367 reported by Jacco van Schaik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
borgbackup2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following borg2 command (that worked without problem on Ubuntu 24.04):

# borg2 create --one-file-system --compression auto,zstd 'Home-{now}' /home/jacco

crashes (on Ubuntu 24.10) with the following message:

============================

Local Exception

Error:

TypeError: ChunkListEntry.__new__() takes 3 positional arguments but 33 were given

If reporting bugs, please include the following:

Traceback (most recent call last):
  File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 656, in main
    exit_code = archiver.run(args)
                ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/archiver/__init__.py", line 549, in run
    rc = func(args)
         ^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/archiver/_common.py", line 158, in wrapper
    return method(self, args, repository=repository, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 280, in do_create
    create_inner(archive, cache, fso)
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 169, in create_inner
    self._rec_walk(
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 539, in _rec_walk
    self._rec_walk(
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 539, in _rec_walk
    self._rec_walk(
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 539, in _rec_walk
    self._rec_walk(
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 479, in _rec_walk
    status = self._process_any(
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/archiver/create_cmd.py", line 296, in _process_any
    return fso.process_file(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/archive.py", line 1558, in process_file
    known, chunks = cache.file_known_and_unchanged(hashed_path, path_hash, st)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/borgbackup2/borg/cache.py", line 609, in file_known_and_unchanged
    chunks = [ChunkListEntry(*chunk) for chunk in entry.chunks] # convert to list of namedtuple
              ^^^^^^^^^^^^^^^^^^^^^^
TypeError: ChunkListEntry.__new__() takes 3 positional arguments but 33 were given

Platform: Linux occam 6.11.0-13-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 30 23:51:51 UTC 2024 x86_64
Linux: Unknown Linux
Borg: 2.0.0b9 Python: CPython 3.12.7 msgpack: 1.0.3 fuse: llfuse 1.4.1 [pyfuse3,llfuse]
PID: 37878 CWD: /var/log
sys.argv: ['/usr/bin/borg2', 'create', '--one-file-system', '--compression', 'auto,zstd', 'Home-{now}', '/home/jacco']
SSH_ORIGINAL_COMMAND: None

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: borgbackup2 2.0.0b9-2
ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0
Uname: Linux 6.11.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sun Dec 22 21:30:59 2024
InstallationDate: Installed on 2017-02-04 (2878 days ago)
InstallationMedia: Xubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: borgbackup2
UpgradeStatus: Upgraded to oracular on 2024-12-22 (0 days ago)

Revision history for this message
Jacco van Schaik (jacco-jaccovanschaik) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.