TypeError: first argument must be string or compiled pattern
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned | ||
Breezy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is what happens when I just enter 'bzr' in command line on openSUSE 15.1 with bzr installed using zypper.
michal@blackbox:~> bzr
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
get_
File "/usr/lib64/
return self.run(
File "/usr/lib64/
return self._operation
File "/usr/lib64/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
bzrlib.
File "/usr/lib64/
outfile.
File "/usr/lib64/
i18n.install()
File "/usr/lib64/
_translations = install_
File "/usr/lib64/
fallback=True)
File "/usr/lib64/
t = _translations.
File "/usr/lib64/
self._parse(fp)
File "/usr/lib64/
self.plural = c2py(plural)
File "/usr/lib64/
result, nexttok = _parse(
File "/usr/lib64/
nexttok = next(tokens)
File "/usr/lib64/
for mo in re.finditer(
File "/usr/lib64/
return _compile(pattern, flags).
File "/usr/lib64/
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.14 (Linux-
glibc2.2.5)
arguments: ['/usr/bin/bzr']
plugins: bash_completion
launchpad[
po_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
*** 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:/
including this traceback and a description of the problem.
FWIW this is fixed in breezy.