bzr init-repos --development-wt5-rich-root gives: "AttributeError: 'module' object has no attribute 'WorkingTreeFormat4'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
With the latest bzr.dev, I can't seem to use --development-
$ bzr init-repo --development-
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
args, opts = parse_args(self, argv, alias_argv)
File "/home/
options, args = parser.
File "/usr/lib/
stop = self._process_
File "/usr/lib/
self.
File "/usr/lib/
option.
File "/usr/lib/
self.action, self.dest, opt, value, values, parser)
File "/usr/lib/
self.
File "/home/
v = self.type(cb_value)
File "/home/
return self.converter(
File "/home/
converter=
File "/home/
return self.get(key)()
File "/home/
bd.
File "/home/
[factory_name])
File "/home/
from bzrlib.workingtree import WorkingTree, WorkingTree3, WorkingTreeFormat3
File "/home/
__default_
File "/home/
obj = _replace()
File "/home/
obj = factory(self, scope, name)
File "/home/
return getattr(module, member)
AttributeError: 'module' object has no attribute 'WorkingTreeFor
bzr 1.13dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bisect /home/wjlanda/
bookmarks /home/wjlanda/
bzrtools /home/wjlanda/
cvsps_import /usr/lib/
diffstat /home/wjlanda/
extcommand /home/wjlanda/
gtk /home/wjlanda/
interactive /home/wjlanda/
launchpad /home/wjlanda/
netrc_
qbzr /home/wjlanda/
rebase /usr/lib/
search /home/wjlanda/
stats /usr/lib/
svn /home/wjlanda/
upload /usr/lib/
xmloutput /home/wjlanda/
*** 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.
Actually, the same thing happens with --developement-wt5 whether or not I use --rich-root, and also happens with a regular bzr init.
Related branches
Changed in bzr: | |
status: | Fix Committed → Fix Released |
That's really weird and I can't reproduce it. All the following work for me using bzr.dev r4000:
bzr init-repo --development- wt5-rich- root .
bzr init-repo --development-wt5 .
bzr init-repo .
Trying with init instead of init-repo seems fine as well.
I wonder if there's any chance of some corrupted .pyc or pyo files? Can you try deleting those and seeing if the issue still exists?