Comment 2 for bug 140432

Revision history for this message
Jan Kybic (kybic) wrote : Re: [Bug 140432] Re: bzr fails with 'iteration over non-sequence'

> Thanks for the report and the fix. I'd like to understand just when
> this occurs so that we can add a test for it and see if it can crop up
> in any other places. For me, ci does not fail when run in a newly
> created branch. Do you know how to reproduce this?

Yes, for me it always fails on a newly created branch. I am sending an example.
I am running a Gentoo Linux. What other information do you need?

Jan

[kybic.d620-jk ~/tmp]> mkdir bzrtest
[kybic.d620-jk ~/tmp]> cd bzrtest
[kybic.d620-jk ~/tmp/bzrtest]> bzr init
[kybic.d620-jk ~/tmp/bzrtest]> touch a
[kybic.d620-jk ~/tmp/bzrtest]> bzr add a
added a
[kybic.d620-jk ~/tmp/bzrtest]> bzr ci
bzr: ERROR: exceptions.TypeError: iteration over non-sequence

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 817, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 779, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 477, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 2249, in run
    bug_property = self._get_bug_fix_properties(fixes, tree.branch)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 2207, in _get_bug_fix_properties
    for fixed_bug in fixes:
TypeError: iteration over non-sequence

bzr 0.90.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'ci']

** please send this report to <email address hidden>

--
-------------------------------------------------------------------------
Jan Kybic <email address hidden> tel. +420 2 2435 5721
http://cmp.felk.cvut.cz/~kybic ICQ 200569450