bzr always crashes on Window7

Bug #1736957 reported by Maertin von Böhlen on 2017-12-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned
Breezy
Undecided
Unassigned

Bug Description

C:\Python27\Scripts>bzr
bzr: ERROR: exceptions.TypeError: first argument must be string or compiled patt
ern

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\bzrlib\commands.py", line 930, in exceptio
n_to_return_code
    return the_callable(*args, **kwargs)
  File "C:\Python27\lib\site-packages\bzrlib\commands.py", line 1102, in run_bzr

    get_cmd_object('help').run_argv_aliases([])
  File "C:\Python27\lib\site-packages\bzrlib\commands.py", line 673, in run_argv
_aliases
    return self.run(**all_cmd_args)
  File "C:\Python27\lib\site-packages\bzrlib\commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "C:\Python27\lib\site-packages\bzrlib\cleanup.py", line 136, in run_simpl
e
    self.cleanups, self.func, *args, **kwargs)
  File "C:\Python27\lib\site-packages\bzrlib\cleanup.py", line 166, in _do_with_
cleanups
    result = func(*args, **kwargs)
  File "C:\Python27\lib\site-packages\bzrlib\commands.py", line 1158, in ignore_
pipe
    result = func(*args, **kwargs)
  File "C:\Python27\lib\site-packages\bzrlib\builtins.py", line 4828, in run
    bzrlib.help.help(topic)
  File "C:\Python27\lib\site-packages\bzrlib\help.py", line 54, in help
    outfile.write(source.get_help_text(shadowed_terms))
  File "C:\Python27\lib\site-packages\bzrlib\help_topics\__init__.py", line 890,
 in get_help_text
    i18n.install()
  File "C:\Python27\lib\site-packages\bzrlib\i18n.py", line 92, in install
    _translations = install_translations(lang)
  File "C:\Python27\lib\site-packages\bzrlib\i18n.py", line 114, in install_tran
slations
    fallback=True)
  File "C:\Python27\lib\gettext.py", line 554, in translation
    t = _translations.setdefault(key, class_(fp))
  File "C:\Python27\lib\gettext.py", line 255, in __init__
    self._parse(fp)
  File "C:\Python27\lib\gettext.py", line 391, in _parse
    self.plural = c2py(plural)
  File "C:\Python27\lib\gettext.py", line 177, in c2py
    result, nexttok = _parse(_tokenize(plural))
  File "C:\Python27\lib\gettext.py", line 114, in _parse
    nexttok = next(tokens)
  File "C:\Python27\lib\gettext.py", line 85, in _tokenize
    for mo in re.finditer(_token_pattern, plural):
  File "C:\Python27\lib\re.py", line 190, in finditer
    return _compile(pattern, flags).finditer(string)
  File "C:\Python27\lib\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.6b1 on python 2.7.14 (Windows-7-6.1.7601-SP1)
arguments: ['C:\\Python27\\Scripts\\bzr']
plugins: bash_completion[2.6b1], changelog_merge[2.6b1], launchpad[2.6b1],
    netrc_credential_store[2.6b1], news_merge[2.6b1], po_merge[2.6b1],
    weave_fmt[2.6b1]
encoding: 'cp1252', fsenc: 'mbcs', lang: None

*** 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.

C:\Python27\Scripts>

Jelmer Vernooij (jelmer) wrote :

This should be fixed in breezy.

Changed in brz:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers