Activity log for bug #316396

Date Who What changed Old value New value Message
2009-01-12 14:48:12 Martin Owens bug added bug
2009-01-12 14:59:24 Martin Owens description I was adding a file to my bzr branch when I was informed by bzr to report a bug based on this traceback: doctormo@delen~/Projects/python/coisas/examples/$ bzr add Coisas/classes/services.py added examples/Coisas/classes bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 499, in run no_recurse, action=action, save=not dry_run) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 373, in smart_add added.extend(_add_one_and_parent(self, inv, None, rf, kind, action)) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 591, in _add_one_and_parent _FastPath(dirname(path.raw_path)), 'directory', action) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 594, in _add_one_and_parent _add_one(tree, inv, parent_ie, path, kind, action) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 611, in _add_one inv.add(entry) File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1087, in add if entry.name in parent.children: AttributeError: children bzr 1.10 on python 2.5.2 (linux2) arguments: ['/usr/bin/bzr', 'add', 'Coisas/classes/services.py'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8' plugins: extmerge /home/doctormo/.bazaar/plugins/extmerge [unknown] gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0.final.1] launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] pqm /home/doctormo/.bazaar/plugins/pqm [1.4dev] *** 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. Additional: The problem seemed to stem fromt he fact that I was adding a file which was in a bzr directory, but trying to do it via a symlink in my examples folder. This is probably a corner case. I was adding a file to my bzr branch when I was informed by bzr to report a bug based on this traceback: doctormo@delen~/Projects/python/coisas/examples/$ bzr add Coisas/classes/services.py added examples/Coisas/classes bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 499, in run no_recurse, action=action, save=not dry_run) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 373, in smart_add added.extend(_add_one_and_parent(self, inv, None, rf, kind, action)) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 591, in _add_one_and_parent _FastPath(dirname(path.raw_path)), 'directory', action) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 594, in _add_one_and_parent _add_one(tree, inv, parent_ie, path, kind, action) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 611, in _add_one inv.add(entry) File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1087, in add if entry.name in parent.children: AttributeError: children bzr 1.10 on python 2.5.2 (linux2) arguments: ['/usr/bin/bzr', 'add', 'Coisas/classes/services.py'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8' plugins: extmerge /home/doctormo/.bazaar/plugins/extmerge [unknown] gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0.final.1] launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] pqm /home/doctormo/.bazaar/plugins/pqm [1.4dev] *** 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.
2009-01-12 14:59:24 Martin Owens title Add python script caused error Add file through symlink caused error
2009-04-21 13:08:30 Martin Pool marked as duplicate 192859