AttributeError: 'NoneType' object has no attribute 'get_config'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Andrew Bennetts | ||
2.1 |
Fix Released
|
High
|
Andrew Bennetts | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have these settings in my locations.conf:
=== snip ===
[/home/
email = Martin von Gagern <email address hidden>
[/home/
news_merge_files = NEWS
#news_merge_
=== snap ===
With several plugins enabled, I get this backtrace:
$ bzr switch ../trunk/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run_
File "/usr/lib64/
return self._operation
File "/usr/lib64/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
switch.
File "/usr/lib64/
_update(tree, source_repository, quiet, revision_id)
File "/usr/lib64/
merge.
File "/usr/lib64/
self.do_merge()
File "/usr/lib64/
operation.run()
File "/usr/lib64/
self.cleanups, self.func, self, *args, **kwargs)
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
self.
File "/usr/lib64/
file_status = self._do_
File "/usr/lib64/
hook_status, lines = hook.merge_
File "/usr/lib64/
not self.filename_
File "/usr/lib64/
config = self.merger.
AttributeError: 'NoneType' object has no attribute 'get_config'
bzr 2.1.1 on python 2.6.5 (Linux-
arguments: ['/usr/bin/bzr', 'switch', '../trunk/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.utf8'
plugins:
bash_completion /home/mvg/
bisect /home/mvg/
cvsps_import /home/mvg/
launchpad /usr/lib64/
netrc_
news_merge /usr/lib64/
qbzr /usr/lib64/
rebase /home/mvg/
svn /usr/lib64/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
With --no-plugins the merge works as it should.
Related branches
- bzr-core: Pending requested
-
Diff: 64 lines (+23/-2)3 files modifiedNEWS (+14/-0)
bzrlib/merge.py (+7/-1)
bzrlib/switch.py (+2/-1)
- John A Meinel: Approve
-
Diff: 93 lines (+33/-4)4 files modifiedNEWS (+3/-0)
bzrlib/merge.py (+4/-1)
bzrlib/switch.py (+1/-2)
bzrlib/tests/test_switch.py (+25/-1)
tags: | added: content-merge-hook |
tags: | added: switch |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr: | |
milestone: | 2.1.2 → 2.2b3 |
Changed in bzr (Ubuntu): | |
status: | New → Fix Released |
Looks like a variation of bug 537041.