Bug 1039642 - bzr error when cloning code
Summary: bzr error when cloning code
Status: RESOLVED DUPLICATE of bug 1020047
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jacob W
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 07:08 UTC by Ian Jones
Modified: 2017-06-12 10:35 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Jones 2017-05-18 07:08:13 UTC
This error occurs in 2.7 but not in 2.6.

bzr branch lp:ctwm ctwm



You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
bzr: ERROR: exceptions.TypeError: first argument must be string or compiled pattern

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/builtins.py", line 1521, in run
    to_repo.fetch(br_from.repository, revision_id=revision_id)
  File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 1268, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.7/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 2585, in fetch
    find_ghosts=find_ghosts)
  File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 77, in __init__
    self.__fetch()
  File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 98, in __fetch
    pb.update(gettext("Finding revisions"), 0, 2)
  File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 40, in gettext
    install()
  File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 92, in install
    _translations = install_translations(lang)
  File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 114, in install_translations
    fallback=True)
  File "/usr/lib/python2.7/gettext.py", line 560, in translation
    t = _translations.setdefault(key, class_(fp))
  File "/usr/lib/python2.7/gettext.py", line 256, in __init__
    self._parse(fp)
  File "/usr/lib/python2.7/gettext.py", line 393, in _parse
    self.plural = c2py(plural)
  File "/usr/lib/python2.7/gettext.py", line 178, in c2py
    result, nexttok = _parse(_tokenize(plural))
  File "/usr/lib/python2.7/gettext.py", line 115, in _parse
    nexttok = next(tokens)
  File "/usr/lib/python2.7/gettext.py", line 86, in _tokenize
    for mo in re.finditer(_token_pattern, plural):
  File "/usr/lib/python2.7/re.py", line 190, in finditer
    return _compile(pattern, flags).finditer(string)
  File "/usr/lib/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.10.13-1-pae-i686-with-glibc2.0)
arguments: ['/usr/bin/bzr', 'branch', 'lp:ctwm', 'ctwm']
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: '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://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
Comment 1 Jan Matejek 2017-06-12 10:35:11 UTC
known issue.

unfortunately it seems nobody is maintaining bzr in openSUSE

*** This bug has been marked as a duplicate of bug 1020047 ***