exceptions.AttributeError: 'BranchConfig' object has no attribute 'get_user_option_as_bool'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr Upload plugin |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
bzr commit fails on a branch where bzr-upload has been used.
I suppose the problem is that bzr-upload requires a method not present in bzr 1.17.
This is the traceback shown to the user:
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/
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/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
hook(params)
File "/home/
auto_upload = upload.
File "/home/
auto = branch.
AttributeError: 'BranchConfig' object has no attribute 'get_user_
bzr 1.17 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'X']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
explorer /home/gioele/
fastimport /home/gioele/
gtk /usr/lib/
launchpad /usr/lib/
loom /home/gioele/
netrc_
qbzr /usr/lib/
svn /usr/lib/
upload /home/gioele/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
summary: |
- bzr: ERROR: exceptions.AttributeError: 'BranchConfig' object has no - attribute 'get_user_option_as_bool' while committing + exceptions.AttributeError: 'BranchConfig' object has no attribute + 'get_user_option_as_bool' |
Changed in bzr-upload: | |
status: | Confirmed → Fix Released |
You guessed right, you need a more recent bzr, that's the risk when running dev version of plugins :-)
I still plan to address that bug by implementing better checks of bzrlib API though *before* releasing 1.0