FS#61951 - [borg] msgpack

Attached to Project: Community Packages
Opened by Brolf Noname (Brolf) - Friday, 08 March 2019, 11:02 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 08 March 2019, 16:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Dependency problem with borg and python-msgpack

Versions:
local/borg 1.1.8-1
local/python-msgpack 0.6.1-1
local/python-llfuse 1.3.6-1


Error:
```
borg mount repo::commit mountpoint
Local Exception
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 4436, in main
exit_code = archiver.run(args)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 4368, in run
return set_ec(func(args))
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 1353, in do_mount
return self._do_mount(args)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 152, in wrapper
return method(self, args, repository=repository, **kwargs)
File "/usr/lib/python3.7/site-packages/borg/archiver.py", line 1363, in _do_mount
operations.mount(args.mountpoint, args.options, args.foreground)
File "/usr/lib/python3.7/site-packages/borg/fuse.py", line 323, in mount
self._create_filesystem()
File "/usr/lib/python3.7/site-packages/borg/fuse.py", line 252, in _create_filesystem
self.process_archive(self.args.location.archive)
File "/usr/lib/python3.7/site-packages/borg/fuse.py", line 377, in process_archive
consider_part_files=self.args.consider_part_files):
File "/usr/lib/python3.7/site-packages/borg/fuse.py", line 160, in iter_archive_items
item = unpacker.unpack(write_bytes)
TypeError: unpack() takes no arguments (1 given)

Platform: Linux myhostname 4.20.14.a-1-hardened #1 SMP PREEMPT Wed Mar 6 21:11:56 CET 2019 x86_64
Linux: arch
Borg: 1.1.8 Python: CPython 3.7.2
PID: 2037 CWD: /home/user/Desktop
sys.argv: ['/usr/bin/borg', 'mount', 'repo::commit', '/home/user/mountpoint']
SSH_ORIGINAL_COMMAND: None
```

related:
https://bugs.archlinux.org/task/60269
https://bbs.archlinux.org/viewtopic.php?id=240907
https://github.com/borgbackup/borg/issues/4277

Steps to reproduce:
install borg
install python-llfuse
create a repository
create a backup
mount the backup


Workaround:
pip install --user msgpack==0.5.6
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Friday, 08 March 2019, 16:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#61346 
Comment by Jake Kreiger (Magali75) - Friday, 08 March 2019, 11:10 GMT
This issue is known for a couple of weeks https://bugs.archlinux.org/task/61346 . Please look at already opened bugs before you open a new one.

Loading...