Comment 7 for bug 721163

Revision history for this message
John Szakmeister (jszakmeister) wrote :

Finally hit this again.

John: no, we initially cloned from a Subversion branch but everything is in Bazaar now. I responded before... but apparently it didn't post to Launchpad. Sorry about that.

I caught this in the .bzr.log on the server:

2.150 stripping trailing bytes from groupcompress block 1639 => 316
2.153 creating new compressed block on-the-fly in 0.001s 81066 bytes => 1703 bytes
2.353 _iter_with_errors caught error
2.398 Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/bzrlib/smart/protocol.py", line 1277, in _iter_with_errors
    yield None, iterator.next()
  File "/var/lib/python-support/python2.5/bzrlib/smart/repository.py", line 480, in body_stream
    for bytes in byte_stream:
  File "/var/lib/python-support/python2.5/bzrlib/smart/repository.py", line 504, in _stream_to_byte_stream
    for record in substream:
  File "/var/lib/python-support/python2.5/bzrlib/repofmt/groupcompress_repo.py", line 1247, in wrap_and_count
    for record in stream:
  File "/var/lib/python-support/python2.5/bzrlib/repofmt/groupcompress_repo.py", line 1228, in _filter_id_to_entry
    chk_map._bytes_to_text_key):
  File "/var/lib/python-support/python2.5/bzrlib/repofmt/groupcompress_repo.py", line 1347, in _filter_text_keys
    text_keys_update([bytes_to_text_key(b) for n,b in items])
  File "_chk_map_pyx.pyx", line 416, in _chk_map_pyx._bytes_to_text_key
TypeError: bytes must be a string, got <type 'bzrlib._static_tuple_c.StaticTuple'>

I have this in the bazaar.conf file, but it doesn't seem to have added anything extra:
    [DEFAULT]
    debug_flags = hpss, hpssdetail