Bzr Error Exceptions.attributeerror Children
Milestone Bazaar Edit Fix Released Medium Martin Packman Edit Bazaar 2.3b3 You need to log in to change this bug's status. Affecting: Bazaar Filed here by: rodent When: 2008-07-25 Confirmed: 2008-10-10 Assigned: 2010-10-17 Started work: 2010-10-17 Completed: 2010-11-05 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Milestone Fix Released Medium Bazaar 2.3b3 Assigned to Me Martin Packman (gz) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description during a bzr add, bzr complains ------8<-------- bash-3.2$ bzr add information/graph/ontology/instances bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "commands.py", line 846, in run_bzr_catch_errors File "commands.py", line 802, in run_bzr File "commands.py", line 504, in run_argv_aliases File "builtins.py", line 387, in run File "mutabletree.py", line 52, in tree_write_locked File "mutabletree.py", line 413, in smart_add AttributeError: children bzr 1.4 on python 2.5.1 (cygwin) arguments: ['/usr/bin/bzr', 'add', 'information/graph/ontology/instances'] encoding: 'US-ASCII', fsenc: 'US-ASCII', lang: None plugins: 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. ------8<-------- Before, a bzr status delivered: ------8<-------- bash-3.2$ bzr status kind changed: information/graph/ontology/instances (file => directory) modified: .gnupg/pubring.gpg .gnupg/trustdb.gpg unknown: .bzr.log .gnupg/random_
report is a duplicate of: Bug #251864: bzr add: exceptions.AttributeError: children on add. Edit Remove 6 This bug affects 1 person Affects Status Importance Assigned to Milestone Bazaar Edit Incomplete Undecided Unassigned Edit Also affects project (?) Also affects distribution/package Nominate for series Bug Description I can't reproduce this, it happened during https://bugs.launchpad.net/bugs/251864 an automated process (I use bzr to make backups of things). From a quick look though, it seems this_ie in smart_add() in mutabletree.py can be None, but at least the indicated line doesn't test for that. Sorry I don't have more https://bugs.launchpad.net/bugs/647913 info, but the full error trace landed in my inbox, so at least I have that much: bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code return the_callable(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1111, in run_bzr ret = run(*run_argv) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases return self.run(**all_cmd_args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 704, in run return self._operation.run_simple(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple self.cleanups, self.func, *args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups result = func(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/builtins.py", line 690, in run no_recurse, action=action, save=not dry_run) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 49, in tree_write_locked return unbound(self, *args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 554, in smart_add elif subf in this_ie.children: AttributeError: children bzr 2.2.0 on python 2.6.6 (Darwin-10.4.0-i386-64bit) arguments: ['/opt/local/bin/bzr',
Bazaar Edit Fix Released Medium Aaron Bentley Edit Bazaar 0.13 You need to log in to change this https://bugs.launchpad.net/bugs/66964 bug's status. Affecting: Bazaar Filed here by: Aaron Bentley When: http://doc.bazaar.canonical.com/bzr.1.18/en/release-notes/NEWS.html 2006-10-19 Confirmed: 2006-10-20 Assigned: 2006-10-20 Started work: 2006-10-20 Completed: 2006-11-01 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Milestone Fix bzr error Released Medium Bazaar 0.13 Assigned to Me Aaron Bentley (abentley) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description bzr mv attempts to find the children of a symlink when decoding a source path. This is probably a bzr error exceptions.attributeerror more general bug. It seems as though we should 1. Give a better error (with traceback) when path2id attempts to find the children of a symlink 2. Determine the real path of source and target in 'bzr mv' before attempting to do path2id. ~$ bzr init foo abentley@troll:~$ cd foo abentley@troll:~/foo$ mkdir bar abentley@troll:~/foo$ ln -s bar baz abentley@troll:~/foo$ touch baz/qux abentley@troll:~/foo$ bzr add added bar added baz added bar/qux abentley@troll:~/foo$ bzr mv baz/qux ./qux bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "/home/abentley/bzr/dev/bzrlib/commands.py", line 623, in run_bzr_catch_errors return run_bzr(argv) File "/home/abentley/bzr/dev/bzrlib/commands.py", line 585, in run_bzr ret = run(*run_argv) File "/home/abentley/bzr/dev/bzrlib/commands.py", line 291, in run_argv_aliases return self.run(**all_cmd_args) File "/home/abentley/bzr/dev/bzrlib/builtins.py", line 451, in run tree.rename_one(rel_names[0], rel_names[1]) File "/home/abentley/bzr/dev/bzrlib/mutabletree.py", line 34, in tree_write_locked return unbound(self, *args, **kwargs) File "/home/abentley/bzr/dev/bzrlib/workingtree.py", line 1075, in rename_one file_id = inv.path2id(from_rel) File "/home/abentley/bzr/dev/bzrlib/inventory.py", line 1207, in path2id cie = parent.children[f] AttributeError: children bzr 0.12.0dev0 on python 2.4.1.final.0 (linux2) arguments: ['/home/abentley/bin/bzr', 'mv', 'baz/qux', './qux']
up!" 2009-01-19 bzr 1.11rc1 "Eyes up!" 2009-01-09 bzr 1.10 2008-12-05 bzr 1.10rc1 2008-11-28 bzr 1.9 2008-11-07 bzr 1.9rc1 2008-10-31 bzr 1.8 2008-10-16 bzr 1.8rc1 2008-10-07 bzr 1.7.1 2008-10-01 bzr 1.7.1rc1 2008-09-24 bzr 1.7 2008-09-23 bzr 1.7rc2 2008-09-17 bzr 1.7rc1 2008-09-09 bzr 1.6.1 2008-09-05 bzr 1.6.1rc2 2008-09-03 bzr 1.6.1rc1 2008-08-29 bzr 1.6 2008-08-25 bzr 1.6rc5 2008-08-19 bzr 1.6rc4 2008-08-18 bzr 1.6rc3 2008-08-14 bzr 1.6rc2 2008-08-13 bzr 1.6rc1 2008-08-06 bzr 1.6beta3 2008-07-17 bzr 1.6beta2 2008-06-10 bzr 1.6beta1 2008-06-02 bzr 1.5 2008-05-16 bzr 1.5rc1 2008-05-09 bzr 1.4 2008-04-28 bzr 1.4rc2 2008-04-21 bzr 1.4rc1 2008-04-11 bzr 1.3.1 2008-04-09 bzr 1.3.1rc1 2008-04-04 bzr 1.3 2008-03-20 bzr 1.3rc1 2008-03-16 bzr 1.2 2008-02-15 bzr 1.2rc1 2008-02-13 bzr 1.1 2008-01-15 bzr 1.1rc1 2008-01-05 bzr 1.0 2007-12-14 bzr 1.0rc3 2007-12-11 bzr 1.0rc2 2007-12-07 bzr 1.0rc1 2007-11-30 bzr 0.92 2007-11-05 bzr 0.92rc1 2007-10-29 bzr 0.91 2007-09-26 bzr 0.91rc2 2007-09-11 bzr 0.91rc1 2007-09-11 bzr 0.90 2007-08-28 bzr 0.90rc1 2007-08-14 bzr 0.18 2007-07-17 bzr 0.18rc1 2007-07-10 bzr 0.17 2007-06-18 bzr 0.17rc1 2007-06-12 bzr 0.16 2007-05-07 bzr 0.16rc2 2007-04-30 bzr 0.16rc1 2007-04-26 bzr 0.15 2007-04-01 bzr 0.15rc3 2007-03-26 bzr 0.15rc2 2007-03-14 bzr 0.15rc1 2007-03-07 bzr 0.14 2007-01-23 bzr 0.14rc1 2007-01-16 bzr 0.13 2006-12-05 bzr 0.13rc1 2006-11-27 bzr 0.12 2006-10-30 bzr 0.12rc1 2006-10-23 bzr 0.11 2006-10-02 bzr 0.11rc2 2006-09-27 bzr 0.11rc1 2006-09-25 bzr 0.10 2006-08-29 bzr 0.9.0 2006-08-11 bzr 0.8.2 2006-05-17 bzr 0.8.1 2006-05-16 bzr 0.8 2006-05-08 bzr 0.7 2006-01-09 bzr 0.6 2005-10-28 bzr 0.1.1 2005-10-12 bzr 0.1 2005-10-11 bzr 0.0.9 2005-09-23 bzr 0.0.8 2005-09-20 bzr-0.0.7 2005-09-02 bzr-0.0.6 2005-08-18 bzr-0.0.5 2005-06-15 bzr-0.0.4 2005-04-22 bzr-0.0.3 2005-04-06 bzr-0.0.2.1 bzr-0.0.2 "black cube" 2005-03-31 bzr-0.0.1 2005-03-26 bzr-0.0.0.69 2005-03-22 bzr 1.18.1 NOT RELEASED YET Bug Fixes Fixed a problem where using content filtering and especially end-of-line conversion will commit too many copies a file. (Martin Pool, #415508) Improvements bzr push locally on windows will no longer give a locking error with dirstate based formats. (Robert Collins) bzr shelve and bzr unshelve now work on windows. (Robert Collins, #305006) API Changes bzrlib