local variable 'lock_url' referenced

Bug #993860 reported by Clinton Volzke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

C:\repo\trunk>bzr up
failed to open trace file: [Errno 13] Permission denied
[ 2276] 2012-05-03 10:40:24.940 INFO: Connected (version 2.0, client OpenSSH_4.3
)
Connected (version 2.0, client OpenSSH_4.3)
[ 2276] 2012-05-03 10:40:28.124 INFO: Authentication (publickey) successful!
Authentication (publickey) successful!
[ 2276] 2012-05-03 10:40:28.482 INFO: Secsh channel 1 opened.
Secsh channel 1 opened.
bzr: ERROR: exceptions.UnboundLocalError: local variable 'lock_url' referenced b
efore assignment

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1405, in run
  File "bzrlib\workingtree_4.pyo", line 629, in lock_write
  File "bzrlib\branch.pyo", line 2452, in lock_write
  File "bzrlib\lockable_files.pyo", line 187, in lock_write
  File "bzrlib\lockdir.pyo", line 648, in lock_write
  File "bzrlib\lockdir.pyo", line 616, in wait_lock
UnboundLocalError: local variable 'lock_url' referenced before assignment

bzr 2.2.3 on python 2.6.4 (Windows-post2008Server-6.1.7600)
arguments: ['bzr', 'up']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.2.0]
  colo C:\Program Files (x86)\Bazaar\plugins\colo [0.2.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.1.2]
  fastimport C:\Program Files (x86)\Bazaar\plugins\fastimport [0.9.0de
v]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.2.3]
  loom C:\Program Files (x86)\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_
store [2.2.3]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.2.3]
  pipeline C:\Program Files (x86)\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.19.2]
  rewrite C:\Program Files (x86)\Bazaar\plugins\rewrite [0.6.1]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.4]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.6]

*** 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://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Clinton Volzke (cvolzke) wrote :

This happened after performing a couple of bzr update -r commands..
Any bzr commit or bzr update subsequently crashes. bzr st is ok.

Revision history for this message
Martin Packman (gz) wrote :

You're using quite an old version of bzr, upgrading to bzr 2.3.2 or later will resolve this for you, see the existing bug for more information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.