Comment 5 for bug 659763

Sylvain Beucler (beuc) wrote :

I just got tricked into checking this issue again, here's the backtrace.
Version is - 2.0.3-1~bpo50+1

this is a debug log for diagnosing/reporting problems in bzr
you can delete or truncate this file, or include sections in
bug reports to

Mon 2010-11-01 20:17:26 +0000
0.127 bzr arguments: [u'--no-plugins', u'serve', u'--inet', u'--directory=/srv/bzr', u'--allow-writes']
0.262 encoding stdout as osutils.get_user_encoding() 'ANSI_X3.4-1968'
0.367 Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 893, in accept_bytes
    _StatefulDecoder.accept_bytes(self, bytes)
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 388, in accept_bytes
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 999, in _state_accept_expecting_message_part
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 1037, in done
    raise errors.SmartMessageHandlerError(sys.exc_info())
SmartMessageHandlerError: The message handler raised an exception:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 1035, in done
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 164, in end_received
    "Complete conventional request was received, but request "
SmartProtocolError: Generic bzr smart protocol error: Complete conventional request was received, but request handler has not finished reading.

1.970 Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 326, in _call_converting_errors
    return callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 132, in execute
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 49, in do
    return self.do_with_branch(branch, *args)
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/", line 297, in do_with_branch
    branch_token = branch.lock_write(token=branch_token)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 2135, in lock_write
    return self.control_files.lock_write(token=token)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 194, in lock_write
    token_from_lock = self._lock.lock_write(token=token)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 579, in lock_write
    return self.wait_lock()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 503, in wait_lock
    return self.attempt_lock()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 464, in attempt_lock
    result = self._attempt_lock()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 222, in _attempt_lock
    tmpname = self._create_pending_dir()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 280, in _create_pending_dir
    info_bytes = self._prepare_info()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 439, in _prepare_info
    user = config.user_email()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 224, in user_email
    return extract_email_address(self.username())
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 252, in username
    name, email = _auto_user_id()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 892, in _auto_user_id
    raise errors.BzrCommandError('Unable to determine your name. '
BzrCommandError: Unable to determine your name. Use "bzr whoami" to set it.

2.130 return code 0

We'd appreciate a work-around.