exceptions.TypeError: first argument must be string or compiled pattern after upgrading to python2-2.7.13
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
After updating to python version 2.7.13 i got following error:
bzr branch lp:~widelands-dev/widelands-website/bug-1399461_error_on_renaming_article
Enter passphrase for key '/home/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
to_
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
find_
File "/usr/lib/
self.__fetch()
File "/usr/lib/
pb.
File "/usr/lib/
install()
File "/usr/lib/
_translations = install_
File "/usr/lib/
fallback=True)
File "/usr/lib/
t = _translations.
File "/usr/lib/
self._parse(fp)
File "/usr/lib/
self.plural = c2py(plural)
File "/usr/lib/
result, nexttok = _parse(
File "/usr/lib/
nexttok = next(tokens)
File "/usr/lib/
for mo in re.finditer(
File "/usr/lib/
return _compile(pattern, flags).
File "/usr/lib/
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-
arguments: ['/usr/bin/bzr', 'branch', 'lp:~widelands-dev/widelands-website
/bug-1399461_error_
plugins: bash_completion
launchpad[
po_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'de_DE.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.
After downgrading to python2.7.12-2 all works as expected.
duplicate of https:/ /bugs.launchpad .net/bzr/ +bug/1653002