I don't think this is because of the renamed file. It would hint that
something is funny about your pack files triggering this. If you just
need to work around it, probably 'bzr pack' will clear things up by
doing it slightly differently. It would be nice to get a snapshot of
your current state if you can, though I realize '/Movies' is likely to
be a lot of data.
The traceback shows:
File
"/usr/lib/python2.6/dist-packages/bzrlib/repofmt/groupcompress_repo.py",
line 461, in _copy_text_texts
'texts', self._get_progress_stream, 4)
File
"/usr/lib/python2.6/dist-packages/bzrlib/repofmt/groupcompress_repo.py",
line 402, in _copy_stream
reuse_blocks=False):
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line
1721, in _insert_record_stream
nostore_sha=nostore_sha)
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line
797, in compress
start, end, type = self._compress(key, bytes, len(bytes) / 2, soft)
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line
967, in _compress
delta = self._delta_index.make_delta(bytes, max_delta_size)
File "_groupcompress_pyx.pyx", line 227, in
bzrlib._groupcompress_pyx.DeltaIndex.make_delta
File "_groupcompress_pyx.pyx", line 205, in
bzrlib._groupcompress_pyx.DeltaIndex._populate_first_index
AssertionError
And in context, it would appear:
cdef _populate_first_index(self):
cdef delta_index *index
if len(self._sources) != 1 or self._index != NULL:
raise AssertionError('_populate_first_index should only be'
' called when we have a single source and no index yet')
# We know that self._index is already NULL, so whatever
# create_delta_index returns is fine
with nogil: self._index = create_delta_index(&self._source_infos[0], NULL)
assert self._index != NULL
So... what seems to be happening is that 'create_delta_index' is
returning NULL. I'm guessing you are running out of memory (if it is
trying to repack Movies.)
Can you tell us the size of the content you are working with?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ted Gould wrote: launchpadlibrar ian.net/ 51932457/ bzr-20100714160 709-20874. crash
> ** Attachment added: "Crash File"
> http://
>
I don't think this is because of the renamed file. It would hint that
something is funny about your pack files triggering this. If you just
need to work around it, probably 'bzr pack' will clear things up by
doing it slightly differently. It would be nice to get a snapshot of
your current state if you can, though I realize '/Movies' is likely to
be a lot of data.
The traceback shows: python2. 6/dist- packages/ bzrlib/ repofmt/ groupcompress_ repo.py" , progress_ stream, 4) python2. 6/dist- packages/ bzrlib/ repofmt/ groupcompress_ repo.py" , blocks= False): python2. 6/dist- packages/ bzrlib/ groupcompress. py", line record_ stream sha=nostore_ sha) python2. 6/dist- packages/ bzrlib/ groupcompress. py", line python2. 6/dist- packages/ bzrlib/ groupcompress. py", line index.make_ delta(bytes, max_delta_size) _pyx.pyx" , line 227, in _groupcompress_ pyx.DeltaIndex. make_delta _pyx.pyx" , line 205, in _groupcompress_ pyx.DeltaIndex. _populate_ first_index
File
"/usr/lib/
line 461, in _copy_text_texts
'texts', self._get_
File
"/usr/lib/
line 402, in _copy_stream
reuse_
File "/usr/lib/
1721, in _insert_
nostore_
File "/usr/lib/
797, in compress
start, end, type = self._compress(key, bytes, len(bytes) / 2, soft)
File "/usr/lib/
967, in _compress
delta = self._delta_
File "_groupcompress
bzrlib.
File "_groupcompress
bzrlib.
AssertionError
And in context, it would appear: first_index( self): '_populate_ first_index should only be'
cdef _populate_
cdef delta_index *index
if len(self._sources) != 1 or self._index != NULL:
raise AssertionError(
' called when we have a single source and no index yet')
# We know that self._index is already NULL, so whatever
self. _index = create_ delta_index( &self._ source_ infos[0] , NULL)
# create_delta_index returns is fine
with nogil:
assert self._index != NULL
So... what seems to be happening is that 'create_ delta_index' is
returning NULL. I'm guessing you are running out of memory (if it is
trying to repack Movies.)
Can you tell us the size of the content you are working with?
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw +tT4ACgkQJdeBCY SNAAO+FACfTvY2J 2l0qM2dEDT9QkX8 KfKv OKXcjtnaWz+ A/9jJCrqO
J+EAoJ41pCH+
=sbRN
-----END PGP SIGNATURE-----