"remote server did not return a token" assertion error

Bug #176020 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Won't Fix
Medium
Unassigned

Bug Description

Benjamin Heitmann <email address hidden> reports:

Hello, as requested by the error dump, I forward the error message to
this mailing list.

I was trying to commit for the first time to a repository using the
dirstate-tags format.

I am using bzr on a mac. Had it compiled form source via fink, but
had to update to 0.92 because of the new branch format.

Here is the whole error message.

--------------------------------------

chapultepec:~/Documents/research/publications/eswc2008-survey benjamin
$ bzr commit -m "finished the survey part. its up to page 6 now, with
slimmed black and white pictures"
Password:
bzr: ERROR: exceptions.AssertionError: Remote server did not return a
token!

Traceback (most recent call last):
  File "/sw/lib/python2.5/site-packages/bzrlib/commands.py", line
802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/sw/lib/python2.5/site-packages/bzrlib/commands.py", line
758, in run_bzr
    ret = run(*run_argv)
  File "/sw/lib/python2.5/site-packages/bzrlib/commands.py", line
492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/sw/lib/python2.5/site-packages/bzrlib/builtins.py", line
2315, in run
    author=author)
  File "/sw/lib/python2.5/site-packages/bzrlib/decorators.py", line
165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/sw/lib/python2.5/site-packages/bzrlib/workingtree_4.py",
line 244, in commit
    result = WorkingTree3.commit(self, message, revprops, *args,
**kwargs)
  File "/sw/lib/python2.5/site-packages/bzrlib/decorators.py", line
165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/sw/lib/python2.5/site-packages/bzrlib/mutabletree.py", line
187, in commit
    revprops=revprops, *args, **kwargs)
  File "/sw/lib/python2.5/site-packages/bzrlib/commit.py", line 281,
in commit
    self._check_bound_branch()
  File "/sw/lib/python2.5/site-packages/bzrlib/commit.py", line 471,
in _check_bound_branch
    self.master_branch.lock_write()
  File "/sw/lib/python2.5/site-packages/bzrlib/remote.py", line 1054, in lock_write
    token=self._repo_lock_token)
  File "/sw/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: ['/sw/bin/bzr', 'commit', '-m', 'finished the survey part.
its up to page 6 now, with slimmed black and white pictures']
encoding: 'US-ASCII', fsenc: 'utf-8', lang: None
plugins:
  launchpad /sw/lib/python2.5/site-packages/bzrlib/
plugins/launchpad [unknown]
  multiparent /sw/lib/python2.5/site-packages/bzrlib/
plugins/multiparent.pyc [unknown]

** Please send this report to <email address hidden>
   with a description of what you were doing when the
   error occurred.

Tags: hpss
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
Revision history for this message
John A Meinel (jameinel) wrote :

I have the feeling this was a newer bzr client trying to talk to an older bzr server, and the server didn't know about returning tokens for lock requests.
I don't think you'll encounter this if you upgrade both client and server to newer versions of bzr. (As this is bzr 0.92, there have been a lot of improvements since then.)

Changed in bzr:
status: New → Won't Fix
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.