KeyError in remove_recursive_id during commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil | ||
2.0 |
Fix Released
|
High
|
Vincent Ladeuil | ||
2.1 |
Fix Released
|
High
|
Vincent Ladeuil | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Traceback:
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
to_find_delete = [self._
KeyError: 'flocktemplates
Related branches
- John A Meinel: Needs Fixing
-
Diff: 67 lines (+27/-3)3 files modifiedNEWS (+3/-0)
bzrlib/tests/test_workingtree_4.py (+21/-1)
bzrlib/workingtree_4.py (+3/-2)
summary: |
- Bazaar crashed performing commit with command-line message to a branch. + KeyError in remove_recursive_id during commit |
description: | updated |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in bzr: | |
milestone: | none → 2.2.0 |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
tags: | added: sru |
Same problem here after deletion of some images (using rm .*png) and adding some new files (bzr add):
bzr: ERROR: exceptions. KeyError: 'add_func_ en.png- 20091219153325- gsid8xpcjd8bbp7 z-150'
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 842, in exception_ to_return_ code python2. 5/site- packages/ bzrlib/ commands. py", line 1037, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 654, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 3058, in run safe_relpath_ files(tree, exclude)) python2. 5/site- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 197, in commit commit( self, message, revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 5/site- packages/ bzrlib/ mutabletree. py", line 229, in commit python2. 5/site- packages/ bzrlib/ commit. py", line 401, in commit work_tree. unversion( self.deleted_ ids) python2. 5/site- packages/ bzrlib/ mutabletree. py", line 53, in tree_write_locked python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 1239, in unversion _inventory. remove_ recursive_ id(file_ id) python2. 5/site- packages/ bzrlib/ inventory. py", line 1424, in remove_recursive_id byid[file_ id]] en.png- 20091219153325- gsid8xpcjd8bbp7 z-150'
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
to_find_delete = [self._
KeyError: 'add_func_
bzr 2.0.2 on python 2.5.4 (Linux- 2.6.30- 2-amd64- x86_64- with-debian- squeeze- sid) .bazaar/ plugins/ bzr_difftools [unknown] python2. 5/site- packages/ bzrlib/ plugins/ bzrtools [2.0.1] python2. 5/site- packages/ bzrlib/ plugins/ dbus [0.1.0dev] .bazaar/ plugins/ extmerge [unknown] python2. 5/site- packages/ bzrlib/ plugins/ gtk [0.97.0.final] python2. 5/site- packages/ bzrlib/ plugins/ launchpad [2.0.2] python2. 5/site- packages/ bzrlib/ plugins/ loom [1.4.0dev] credential_ store /usr/lib/ python2. 5/site- packages/ bzrlib/ plugins/ netrc_credentia l_store [2.0.2] python2. 5/site- packages/ bzrlib/ plugins/ search [1.7.0dev] python2. 5/site- packages/ bzrlib/ plugins/ stats [unknown] python2. 5/site- packages/ bzrlib/ plugins/ upload [1.0.0dev]
arguments: ['/usr/bin/bzr', 'commit', '-F', 'change.log']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8'
plugins:
bzr_difftools /home/user/
bzrtools /usr/lib/
dbus /usr/lib/
extmerge /home/user/
gtk /usr/lib/
launchpad /usr/lib/
loom /usr/lib/
netrc_
search /usr/lib/
stats /usr/lib/
upload /usr/lib/