bzr keywords plugin crashed with NotImplementedError in inventory()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
bzr (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bzr
Running, "bzr unshelve" or "bzr unshelve 1" caused a bzr failure:
_______
$ bzr unshelve 1
Using changes with id "1".
bzr: ERROR: exceptions.
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/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
unshelver.run()
File "/usr/lib/
merger.
File "/usr/lib/
merge = operation.
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
merge.
File "/usr/lib/
operation.run()
File "/usr/lib/
self.cleanups, self.func, self, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
file_status = self._do_
File "/usr/lib/
hook_status, lines = hook.merge_
File "/usr/lib/
return self._default_
File "/usr/lib/
filter_
File "/usr/lib/
ContentFilt
File "/usr/lib/
chunks = filter.
File "/home/
return _kw_expander(
File "/home/
encoder=
File "/home/
expansion = expansion(context)
File "/home/
lambda c: c.revision_id())
File "/usr/lib/
self._entry = self._tree.
File "/usr/lib/
raise NotImplementedE
NotImplementedE
_______
Problem is caused by the keywords plugin (lp:bzr-keywords). I worked around this bug by doing the following:
mv ~/.bazaar/
bzr unshelve 1
mv ~/keywords ~/.bazaar/plugins/
ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: bzr 2.2.1-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.2.1
CommandLine: ['/usr/bin/bzr', 'unshelve', '1']
CrashDb: bzr
Date: Thu Mar 31 09:28:43 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InterpreterPath: /usr/bin/python2.6
Locale: en_GB.utf8
Platform: Linux-2.
ProcCmdline: /usr/bin/python /usr/bin/bzr unshelve 1
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.utf8
PythonVersion: 2.6.6
SourcePackage: bzr
Title: bzr crashed with NotImplementedError in inventory()
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild
Related branches
- Martin Packman: Approve
-
Diff: 65 lines (+5/-20)2 files modifiedbreezy/filter_tree.py (+1/-1)
breezy/filters/__init__.py (+4/-19)
tags: | added: check-for-breezy |
affects: | bzr → bzr-keywords |
tags: | removed: check-for-breezy |
affects: | bzr-keywords → bzr |
Changed in brz: | |
status: | New → Fix Released |
Changed in brz: | |
status: | Fix Released → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in brz: | |
status: | Triaged → Fix Committed |
milestone: | none → 3.0.0 |
Changed in brz: | |
status: | Fix Committed → Fix Released |
I'm not convinced this bug is a duplicate of bug 389674. Yes, I get the same stacktrace, but that other bug appears unrelated to bzr-keywords and there is no mention of the work-around I used (which appears to show the bug is with that plugin)?