$ bzr bzr: ERROR: exceptions.TypeError: first argument must be string or compiled pattern Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1082, in run_bzr get_cmd_object('help').run_argv_aliases([]) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1138, in ignore_pipe result = func(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/bzrlib/builtins.py", line 4852, in run bzrlib.help.help(topic) File "/usr/lib64/python2.7/site-packages/bzrlib/help.py", line 54, in help outfile.write(source.get_help_text(shadowed_terms)) File "/usr/lib64/python2.7/site-packages/bzrlib/help_topics/__init__.py", line 895, in get_help_text i18n.install() File "/usr/lib64/python2.7/site-packages/bzrlib/i18n.py", line 92, in install _translations = install_translations(lang) File "/usr/lib64/python2.7/site-packages/bzrlib/i18n.py", line 114, in install_translations fallback=True) File "/usr/lib64/python2.7/gettext.py", line 554, in translation t = _translations.setdefault(key, class_(fp)) File "/usr/lib64/python2.7/gettext.py", line 255, in __init__ self._parse(fp) File "/usr/lib64/python2.7/gettext.py", line 391, in _parse self.plural = c2py(plural) File "/usr/lib64/python2.7/gettext.py", line 177, in c2py result, nexttok = _parse(_tokenize(plural)) File "/usr/lib64/python2.7/gettext.py", line 114, in _parse nexttok = next(tokens) File "/usr/lib64/python2.7/gettext.py", line 85, in _tokenize for mo in re.finditer(_token_pattern, plural): File "/usr/lib64/python2.7/re.py", line 190, in finditer return _compile(pattern, flags).finditer(string) File "/usr/lib64/python2.7/re.py", line 247, in _compile raise TypeError, "first argument must be string or compiled pattern" TypeError: first argument must be string or compiled pattern bzr 2.7.0 on python 2.7.13 (Linux-4.12.0-pf3-mgorny-amd64+-x86_64-AMD_Athlon- tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.4.1) arguments: ['/usr/lib/python-exec/python2.7/bzr'] plugins: bash_completion[2.7.0], changelog_merge[2.7.0], grep[2.7.0], launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0], weave_fmt[2.7.0] encoding: 'utf-8', fsenc: 'UTF-8', lang: 'pl_PL.utf8' *** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug including this traceback and a description of the problem.
https://bugs.launchpad.net/bzr/+bug/1644003 Is the upstream bug report including patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47210bfce5b9b2b42c1b23fe78d6f28dcbda2e39 commit 47210bfce5b9b2b42c1b23fe78d6f28dcbda2e39 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2017-11-07 13:59:06 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2017-11-07 13:59:06 +0000 dev-vcs/bzr: bump to the current snapshot of the 2.7 branch Closes: https://bugs.gentoo.org/627184 Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-vcs/bzr/Manifest | 1 + dev-vcs/bzr/bzr-2.7.1_pre.ebuild | 89 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+)
Current stable for ppc64 and amd64 seems to still have this issue...