on a couple of ~amd64-boxes with LANG="de_DE@euro" app-backup/borgbackup-1.2.0 does not work but causes this error: borg Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/borg", line 33, in <module> sys.exit(load_entry_point('borgbackup==1.2.0', 'console_scripts', 'borg')()) File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 5077, in main args = archiver.get_args(sys.argv, os.environ.get('SSH_ORIGINAL_COMMAND')) File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 4869, in get_args result = self.parse_args(argv[1:]) File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 4914, in parse_args parser = self.build_parser() File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 4339, in build_parser """) + ItemFormatter.keys_help() File "/usr/lib/python3.9/site-packages/borg/helpers/parseformat.py", line 733, in keys_help keys = cls.available_keys() File "/usr/lib/python3.9/site-packages/borg/helpers/parseformat.py", line 727, in available_keys keys.extend(formatter.get_item_data(fake_item).keys()) File "/usr/lib/python3.9/site-packages/borg/helpers/parseformat.py", line 797, in get_item_data source = item.get('source', '') SystemError: <cyfunction PropDict._make_property.<locals>._get at 0x7f5b4a2dee10> returned NULL without setting an error Setting it to LANG="de_DE.utf8" or even LANG="" does not cause this error. Previous version(s) not concerned by this error (downgrading "fixed" it). Occurs with python3.8, python3.9, python3.10 Forum-post: https://forums.gentoo.org/viewtopic-p-8693760.html
Created attachment 766224 [details] emerge --info
Thanks, reported upstream, this is candidate to block any future stablereq on this verison. Also, out of curiosity, what's your reason to run non-unicode locale? the de_DE@euro is ISO-8859-15.
turns out some really ancient/obscure setting set LC_ALL to de_DE@euro (in spite of my system(s) being configured according to the gentoo localization guide) until i manually and explicitly unset it. out of couriosity i checked and now (with LC_ALL="") borg works with LANG="de_DE@euro" borg (what) should i investigate further?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8011dfe2d5fa238ee24ba2a2c323ce0952161150 commit 8011dfe2d5fa238ee24ba2a2c323ce0952161150 Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2022-06-19 14:26:18 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2022-06-19 14:32:59 +0000 app-backup/borgbackup: 1.2.1-r1: bump cython and msgpack deps. Closes: https://bugs.gentoo.org/850769 Closes: https://bugs.gentoo.org/834575 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> .../{borgbackup-1.2.1.ebuild => borgbackup-1.2.1-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)