-
-
Notifications
You must be signed in to change notification settings - Fork 786
Description
Hi,
I was testing 0b16 while using quotas on BTRFS (via SSH to localhost) but couldn't perform the tests as "borg repo-space" was failing.
I hope anyone can reproduce:
BORG_REPO=ssh://borguser@localhost/backup/main
borg repo-create --encryption=keyfile-blake2-chacha20-poly1305
(no passphrase entered)
borg repo-space
AttributeError: 'tuple' object has no attribute 'name'
borg repo-space --reserve 256M
it works fine
borg repo-space --free
AttributeError: 'tuple' object has no attribute 'name'
borg repo-space --reserve 256M
it works fine
borg repo-space --free
AttributeError: 'tuple' object has no attribute 'name'
It does not matter if I create an archive before these commands or not. The complete error is:
Local Exception
Error:
AttributeError: 'tuple' object has no attribute 'name'
If reporting bugs, please include the following:
Traceback (most recent call last):
File "borg/archiver/__init__.py", line 647, in main
File "borg/archiver/__init__.py", line 541, in run
File "borg/archiver/_common.py", line 143, in wrapper
File "borg/archiver/repo_space_cmd.py", line 42, in do_repo_space
AttributeError: 'tuple' object has no attribute 'name'
Platform: Linux mymachine.localdomain 6.14.4-100.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 25 16:01:03 UTC 2025 x86_64
Linux: Unknown Linux
Borg: 2.0.0b16 Python: CPython 3.12.10 msgpack: 1.1.0 fuse: llfuse 1.5.1 [pyfuse3,llfuse]
PID: 789819 CWD: /home/myuser
sys.argv: ['borg', 'repo-space']
SSH_ORIGINAL_COMMAND: None
If I create a local repository everything works fine. It seems there's something with the SSH repo. If it can be reproduced I'll open an Issue.
Originally posted by @Jorge-Fabregas in #8811 (comment)