Getting a StopIteration exception using Bazaar 1.2

Bug #198004 reported by Szilveszter Farkas
2
Affects Status Importance Assigned to Milestone
Bazaar Difftools Plugin
New
Undecided
Unassigned

Bug Description

With Bazaar 1.2 and bzr-difftools trunk, I get the following traceback:

szilveszter@szilveszter-desktop:~/temp/testbzr$ bzr diff --using meld
bzr: ERROR: exceptions.StopIteration:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/szilveszter/.bazaar/plugins/difftools/__init__.py", line 78, in run
    return Controller().run(*args, **kwargs)
  File "/home/szilveszter/.bazaar/plugins/difftools/controller.py", line 61, in run
    result = compare_using(tool, file_list)
  File "/home/szilveszter/.bazaar/plugins/difftools/controller.py", line 185, in compare_using
    old_tmp_dir.write_stuff(old_tree, file_ids1, use_tree)
  File "/home/szilveszter/.bazaar/plugins/difftools/tempdir.py", line 40, in write_stuff
    self.write_tree(rev_tree, file_id_list)
  File "/home/szilveszter/.bazaar/plugins/difftools/tempdir.py", line 51, in write_tree
    export.export(rev_tree, self.path, format='dir')
  File "/usr/lib/python2.5/site-packages/bzrlib/export/__init__.py", line 97, in export
    return _exporters[format](tree, dest, root)
  File "/usr/lib/python2.5/site-packages/bzrlib/export/__init__.py", line 61, in _loader
    return func(tree, dest, root)
  File "/usr/lib/python2.5/site-packages/bzrlib/export/dir_exporter.py", line 40, in dir_exporter
    entries.next() # skip root
StopIteration

bzr 1.2.0.candidate.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'diff', '--using', 'meld']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'hu_HU.UTF-8'
plugins:
  difftools /home/szilveszter/.bazaar/plugins/difftools [0.91.0]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

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.