UnboundLocalError: local variable 'lock_url' in wait_lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool | ||
2.3 |
Fix Released
|
High
|
Martin Pool | ||
QBzr |
Invalid
|
Medium
|
Unassigned | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
Attempting to save configuration following installation of 2.3.0-0 on Windows XP ver. 2002 SP 3.
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\
File "bzrlib\
UnboundLocalError: local variable 'lock_url' referenced before assignment
bzr 2.3.0 on python 2.6.6 (win32)
arguments: ['C:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
colo C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
fastimport C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
loom C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rewrite C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
Related branches
- Martin Pool: Approve
- John A Meinel: Pending requested
-
Diff: 58 lines (+16/-7)2 files modifiedbzrlib/lockdir.py (+12/-7)
doc/en/release-notes/bzr-2.3.txt (+4/-0)
- John A Meinel: Approve
-
Diff: 50 lines (+14/-7) (has conflicts)2 files modifiedbzrlib/lockdir.py (+7/-7)
doc/en/release-notes/bzr-2.4.txt (+7/-0)
summary: |
- Internal error saving configuration + UnboundLocalError: local variable 'lock_url' in wait_lock |
Changed in bzr: | |
assignee: | nobody → Martin Pool (mbp) |
importance: | Undecided → High |
status: | Incomplete → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr: | |
milestone: | none → 2.4b2 |
Changed in bzr (Ubuntu): | |
status: | New → Fix Released |
Changed in bzr (Ubuntu Natty): | |
status: | New → In Progress |
Changed in bzr (Ubuntu Natty): | |
importance: | Undecided → High |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in qbzr: | |
status: | Confirmed → Invalid |
Based on the traceback the error coming from bzrlib. The lines in qbzr codebase those trigger error basically are:
self._lock = LockDir(transport, 'lock')
self._ lock.lock_ write()
...
It's possibly we're using lockdir incorrectly, but I don't see why.