UnboundLocalError 'changed' in _dirstate_helpers_pyx _loop_one_block at initial commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
2.4 |
Confirmed
|
Low
|
Unassigned | ||
bzr (Debian) |
New
|
Undecided
|
Unassigned |
Bug Description
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
return self._operation
File "/usr/local/
self.cleanups, self.func, *args, **kwargs)
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
lossy=lossy)
File "/usr/local/
result = unbound(self, *args, **kwargs)
File "/usr/local/
result = WorkingTree.
File "/usr/local/
result = unbound(self, *args, **kwargs)
File "/usr/local/
*args, **kwargs)
File "/usr/local/
lossy=lossy)
File "/usr/local/
self.cleanups, self.func, self, *args, **kwargs)
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
self.
File "/usr/local/
self.work_tree, self.basis_revid, iter_changes):
File "/usr/local/
for change in iter_changes:
File "/usr/local/
for change in iter_changes:
File "_dirstate_
File "_dirstate_
File "_dirstate_
UnboundLocalError: local variable 'changed' referenced before assignment
bzr 2.4.2dev on python 2.7.0 (Linux-
arguments: ['/usr/
site-subdir']
plugins: bash_completion
changelog_
netrc_
weave_
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** 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.
fyi, this is
bzr --version
Bazaar (bzr) 2.4.2dev
Python interpreter: /usr/bin/python 2.7.0
Python standard library: /usr/lib/python2.7
Platform: Linux-2.
bzrlib: /usr/local/
Bazaar configuration: /root/.bazaar
Bazaar log file: /root/.bzr.log
Changed in bzr: | |
status: | Incomplete → New |
It's not obvious to me how it could get to that line without 'changed' being assigned up front. If you installed from source, you might want to check that you have rebuild the extension modules.