bzrlib.errors.UnlockableTransport:

Reg. Charney charney at charneyday.com
Mon Sep 3 23:35:21 BST 2007


The following is the third crash that I have had in the last 12 hours. I 
was trying to access svn2bzr. Is bzr ready? BTW, I tried bzr pull, but 
it did not work -- it

bzr push http://bzr.labix.org/svn2bzr/trunk/
bzr: ERROR: bzrlib.errors.UnlockableTransport: Cannot lock: transport is 
read only: <bzrlib.transport.http._urllib.HttpTransport_urllib 
url=http://bzr.labix.org/svn2bzr/trunk/.bzr/repository/>

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 817, 
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 779, 
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 477, 
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 804, 
in run
    push_result = br_from.push(br_to, overwrite)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 
127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 1552, 
in push
    target.lock_write()
  File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 1329, 
in lock_write
    repo_token = self.repository.lock_write()
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 
307, in lock_write
    result = self.control_files.lock_write(token=token)
  File "/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py", line 
258, in lock_write
    token_from_lock = self._lock.lock_write(token=token)
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 556, 
in lock_write
    return self.wait_lock()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 485, 
in wait_lock
    return self.attempt_lock()
  File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 450, 
in attempt_lock
    raise UnlockableTransport(self.transport)
UnlockableTransport: Cannot lock: transport is read only: 
<bzrlib.transport.http._urllib.HttpTransport_urllib 
url=http://bzr.labix.org/svn2bzr/trunk/.bzr/repository/>

bzr 0.90.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push', 'http://bzr.labix.org/svn2bzr/trunk/']

** please send this report to bazaar at lists.ubuntu.com

-------

BTW, I had tried the following before the command and crash above:

[reg at regmac-fc6 junkmac]$ ls
Drupal60ChangeLog.txt  grants_for_hitechub.txt  infoselect.txt  
IssuesList.txt  LetterWrtLogo.txt
[reg at regmac-fc6 junkmac]$ bzr pull http://bzr.labix.org/svn2bzr/trunk/
bzr: ERROR: These branches have diverged. Use the merge command to 
reconcile them.
[reg at regmac-fc6 junkmac]$ ls
Drupal60ChangeLog.txt  grants_for_hitechub.txt  infoselect.txt  
IssuesList.txt  LetterWrtLogo.txt
[reg at regmac-fc6 junkmac]$ bzr merge http://bzr.labix.org/svn2bzr/trunk/
bzr: ERROR: Branches have no common ancestor, and no merge base revision 
was specified.

-- 
The messages and documents transmitted with this notice contain confidential information belonging to the sender. If you are not the intended recipient of this information, you are hereby notified that any disclosure, copying, distribution, or use of the information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately.




More information about the bazaar mailing list