Internal Error occurred when I was using diff on two flat XML files from LibreOffice

Bug #1663085 reported by Andor Kadar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
New
Undecided
Unassigned

Bug Description

bzr: ERROR: pkg_resources.DistributionNotFound: The 'pexpect' distribution was not found and is required by the application

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/trace.py", line 381, in reports_exception_decorate
    return f(*args, **kargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 367, in initial_load
    op.run()
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 132, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 381, in _initial_load
    self.load_diff()
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 448, in load_diff
    data, di.properties_changed)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/diffview.py", line 566, in append_diff
    paths)]
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/diffview.py", line 555, in getTokens
    lexer = get_lexer_for_filename(path, stripnl=False)
  File "/usr/local/lib/python2.7/dist-packages/pygments/lexers/__init__.py", line 147, in get_lexer_for_filename
    res = find_lexer_class_for_filename(_fn, code)
  File "/usr/local/lib/python2.7/dist-packages/pygments/lexers/__init__.py", line 112, in find_lexer_class_for_filename
    for cls in find_plugin_lexers():
  File "/usr/local/lib/python2.7/dist-packages/pygments/plugin.py", line 53, in find_plugin_lexers
    yield entrypoint.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2201, in load
    self.require(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2218, in require
    items = working_set.resolve(reqs, env, installer)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 830, in resolve
    raise DistributionNotFound(req, requirers)
DistributionNotFound: The 'pexpect' distribution was not found and is required by the application

bzr 2.7.0 on python 2.7.12 (linux2)
arguments: ['/usr/bin/bzr', 'qlog']
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  bash_completion /usr/lib/python2.7/dist-packages/bzrlib/plugins/bash_completion [2.7.0]
  bzrtools /usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools [2.6.0]
  changelog_merge /usr/lib/python2.7/dist-packages/bzrlib/plugins/changelog_merge [2.7.0]
  explorer /usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer [1.3.0]
  grep /usr/lib/python2.7/dist-packages/bzrlib/plugins/grep [2.7.0]
  launchpad /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad [2.7.0]
  netrc_credential_store /usr/lib/python2.7/dist-packages/bzrlib/plugins/netrc_credential_store [2.7.0]
  news_merge /usr/lib/python2.7/dist-packages/bzrlib/plugins/news_merge [2.7.0]
  oodiff /home/andor/.bazaar/plugins/oodiff [unknown]
  po_merge /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge [2.7.0]
  qbzr /usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr [0.23.1]
  weave_fmt /usr/lib/python2.7/dist-packages/bzrlib/plugins/weave_fmt [2.7.0]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.