Error with 0.92

Will Lentz Will_Lentz at Trimble.com
Thu Nov 29 22:58:43 GMT 2007


Hi all,

I got the error below with bzr 0.92 on Linux.  To reproduce the problem
just do:
  mkdir dir1
  ln -s dir1 sym1
  echo "hi" > dir1/test.txt
  bzr init .
  bzr add */*.txt
  bzr ci

Then I got:
added dir1
added sym1
added dir1/test.txt
bzr: ERROR: exceptions.AttributeError: children

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line
802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line
758, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line
492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/builtins.py", line
2315, in run
    author=author)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/decorators.py",
line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/workingtree_4.py",
line 244, in commit
    result = WorkingTree3.commit(self, message, revprops, *args,
**kwargs)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/decorators.py",
line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/mutabletree.py",
line 187, in commit
    revprops=revprops, *args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commit.py", line
344, in commit
    self._update_builder_with_changes()
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commit.py", line
652, in _update_builder_with_changes
    self._populate_from_inventory(specific_files)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commit.py", line
760, in _populate_from_inventory
    content_summary)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commit.py", line
802, in _record_entry
    self.parent_invs, path, self.work_tree, content_summary)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/repository.py",
line 256, in record_entry_contents
    self.new_inventory.add(ie)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/inventory.py",
line 1188, in add
    if entry.name in parent.children:
AttributeError: children

bzr 0.92.0 on python 2.4.2.final.0 (linux2)
arguments: ['/usr/local/bin/bzr', 'ci']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad
/usr/local/lib/python2.4/site-packages/bzrlib/plugins/launchpad
[unknown]
  multiparent
/usr/local/lib/python2.4/site-packages/bzrlib/plugins/multiparent.pyc
[unknown]

** Please send this report to bazaar at lists.ubuntu.com
   with a description of what you were doing when the
   error occurred.



More information about the bazaar mailing list