'AbsentContentFactory' object has no attribute 'get_bytes_as' errors with CHK repository on write operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar |
Critical
|
Robert Collins | ||
| 1.16 |
Critical
|
Unassigned | ||
| Launchpad itself |
Critical
|
Unassigned |
Bug Description
When a 2a format 'autopacks' (approximately 1 in 10 commits, some pushes, etc), it will error with 'AbsentContentF
Workaround
=======
Run 'bzr pack' to prevent autopack kicking in.
Fixes
=====
bzr 1.17 and 1.16.1 will include the fix, or bzr.dev rev 4470 has a fix for this bug.
Andrew Bennetts (spiv) wrote : | #1 |
Robert Collins (lifeless) wrote : | #2 |
Are you doing concurrent operations when this happens? We really need some way to reproduce - perhaps a copy of the project when the error is happening before you pack-to-fix. You could take that copy locally and then we could give you some analysis scripts to run on it.
Changed in bzr: | |
importance: | Undecided → Critical |
status: | New → Incomplete |
Tommaso R. Donnarumma (tawmas) wrote : | #3 |
Robert, I'm developing solo and I'm doing just one operation at a time.
I'll be glad to run any analysis scripts you will throw at me so long as I can keep the code private. As soon as the error happens again, I'll take a copy of the repository and branches for later dissection. Please, let me know if a recursive copy or rsync is suitable for that.
Robert Collins (lifeless) wrote : Re: [Bug 365615] Re: Random 'AbsentContentFactory' object has no attribute 'get_bytes_as' errors with CHK repository | #4 |
On Thu, 2009-06-11 at 20:01 +0000, Tommaso R. Donnarumma wrote:
> Robert, I'm developing solo and I'm doing just one operation at a time.
>
> I'll be glad to run any analysis scripts you will throw at me so long as
> I can keep the code private. As soon as the error happens again, I'll
> take a copy of the repository and branches for later dissection. Please,
> let me know if a recursive copy or rsync is suitable for that.
rsync is fine - if you have a shared repository be sure to rsync the
whole repository. What we want is a state where you can trigger the
problem at will; that will let us get to grips with it.
-Rob
Papadakos Panagiotis (papadako) wrote : Re: Random 'AbsentContentFactory' object has no attribute 'get_bytes_as' errors with CHK repository | #5 |
I think I have the same problem. This happens while 'bzr branch' to a shared repository.
I get:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
source_
File "/usr/lib/
result_
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb, find_ghosts=
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
stream, from_format, [])
File "/usr/lib/
return self._locked_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._pack_
File "/usr/lib/
if not self.autopack():
File "/usr/lib/
return self._do_autopack()
File "/usr/lib/
reload_
File "/usr/lib/
Papadakos Panagiotis (papadako) wrote : | #6 |
Running 'bzr pack' returns:
bzr: ERROR: zlib.error: Error -3 while decompressing: incorrect data check
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
repository.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
packer.pack()
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
'text', self._get_
File "/usr/lib/
reuse_
File "/usr/lib/
bytes = record.
File "/usr/lib/
self.
Changed in bzr: | |
assignee: | nobody → Robert Collins (lifeless) |
status: | Incomplete → Fix Committed |
Changed in bzr: | |
milestone: | none → 1.17 |
status: | Fix Committed → Fix Released |
tags: | added: lp-needs |
description: | updated |
summary: |
- Random 'AbsentContentFactory' object has no attribute 'get_bytes_as' - errors with CHK repository + 'AbsentContentFactory' object has no attribute 'get_bytes_as' errors + with CHK repository on write operations |
Jonathan Lange (jml) wrote : | #7 |
We've landed the fix on our bzr branch, waiting for the reroll.
Changed in launchpad-code: | |
importance: | Undecided → Critical |
milestone: | none → 2.2.6 |
status: | New → Fix Committed |
description: | updated |
Martin Pool (mbp) wrote : | #8 |
Was released in 1.16.1
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
There was some chat about this on the mailing list, and stacked branches are not involved. So this is not a duplicate of bug 354036, despite the similar symptom.