[Bug 192859] Re: AttributeError on parent.children in add when adding a symlink

Launchpad Bug Tracker 192859 at bugs.launchpad.net
Mon May 30 05:19:12 UTC 2011


This bug was fixed in the package bzr - 2.1.4-0ubuntu1

---------------
bzr (2.1.4-0ubuntu1) lucid-proposed; urgency=low

  * Update watch file to use 2.1 series.
  * New upstream release.
   + Fix file descriptors leaks in dirstate compiled extension. LP: #583486
   + Refuse to stack on repositories in incompatible formats. LP: #562380
   + Don't delete nested trees/repos. LP: #572098
   + Fix 'bzr switch' crash when a 'ConfigurableFileMerger' is used. LP: #559436
   + Fix compatibility with older smart servers. LP: #528041
   + Fix symlinks addition. LP: #192859
   + Properly unversion children of unversioned directories. LP: #494221
   + Lock configuration files in '~/.bazaar' for updates. LP: #525571
   + Fix 'bzr commit <symlink>'. LP: #128562
   + Fix `lp:` urls when behind an http proxy. LP: #558343
   + Stop using edge.launchpad.net. LP: #583667
 -- Max Bowsher <_ at maxb.eu>   Tue, 17 May 2011 09:54:17 +0100

** Changed in: bzr (Ubuntu Lucid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/192859

Title:
  AttributeError on parent.children in add when adding a symlink

Status in Bazaar Version Control System:
  Fix Released
Status in Bazaar 2.0 series:
  Fix Released
Status in Bazaar 2.1 series:
  Fix Released
Status in Bazaar 2.2 series:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Lucid:
  Fix Released

Bug description:
  Ian Grey <iangrey531 at gmail.com>         reports

  added src/lndao/SensorDao.java
  bzr: ERROR: exceptions.AttributeError: children

  Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
  817, in run_bzr_catch_errors
     return run_bzr(argv)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
  779, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
  477, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 383, in run
     no_recurse, action=action, save=not dry_run)
   File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line
  50, in tree_write_locked
     return unbound(self, *args, **kwargs)
   File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line
  335, 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
  502, 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
  519, in _add_one
     inv.add(entry)
   File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1159, in add
     if entry.name in parent.children:
  AttributeError: children

  bzr 0.90.0 on python 2.5.1.final.0 (linux2)
  arguments: ['/usr/bin/bzr', 'add', 'src/lndao/SensorDao.java']

  ** please send this report to bazaar at lists.ubuntu.com

  Note that src/lndao/SensorDao.java is a symlink to
  src/dao/com/redacted/redacted/service/SensorDao.java, and
  src/dao/redacted/redacted/service/ is under bzr control.  Just in case
  that has something to do with it.




More information about the foundations-bugs mailing list