Bug in commit - did not return a token

Jonathan Lange jml at mumak.net
Mon Feb 4 02:04:36 GMT 2008


On Feb 3, 2008 8:36 PM, Kevin Littlejohn <darius at obsidian.com.au> wrote:
> Traceback (most recent call last):
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
> line 802, in run_bzr_catch_errors
>      return run_bzr(argv)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
> line 758, in run_bzr
>      ret = run(*run_argv)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
> line 492, in run_argv_aliases
>      return self.run(**all_cmd_args)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/builtins.py",
> line 2315, in run
>      author=author)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/decorators.py",
> line 165, in write_locked
>      return unbound(self, *args, **kwargs)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/
> workingtree_4.py", line 244, in commit
>      result = WorkingTree3.commit(self, message, revprops, *args,
> **kwargs)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/decorators.py",
> line 165, in write_locked
>      return unbound(self, *args, **kwargs)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/
> mutabletree.py", line 187, in commit
>      revprops=revprops, *args, **kwargs)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/commit.py",
> line 281, in commit
>      self._check_bound_branch()
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/commit.py",
> line 471, in _check_bound_branch
>      self.master_branch.lock_write()
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/remote.py",
> line 1054, in lock_write
>      token=self._repo_lock_token)
>    File "/opt/local/lib/python2.5/site-packages/bzrlib/remote.py",
> line 437, in lock_write
>      assert self._lock_token, 'Remote server did not return a token!'
> AssertionError: Remote server did not return a token!
>
> bzr 0.92.0 on python 2.5.1.final.0 (darwin)
> arguments: ['/opt/local/bin/bzr', 'commit', 'bzr+ssh://darius-obsidian@bazaar.launchpad.net
> /%7Edarius-obsidian/pytd/darius/']
> encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_AU.UTF-8'
> plugins:
>    launchpad            /opt/local/lib/python2.5/site-packages/bzrlib/
> plugins/launchpad [unknown]
>    multiparent          /opt/local/lib/python2.5/site-packages/bzrlib/
> plugins/multiparent.pyc [unknown]
>
> ** Please send this report to bazaar at lists.ubuntu.com
>     with a description of what you were doing when the
>     error occurred.
>
> I have a series of local commits I'm trying to push up to launchpad -
> I got the same effect trying to commit to main:
>


Intriguing.

How can I reproduce this on my own machine?

jml



More information about the bazaar mailing list