1.14rc2 and CHK: Random 'AbsentContentFactory' object has no attribute 'get_bytes_as' errors

Andrew Bennetts andrew.bennetts at canonical.com
Thu Apr 23 09:28:25 BST 2009

Tommaso R. Donnarumma wrote:
> Hi all,
> I'm doing some work on a private project, and I chose to test drive the
> --development6 format with that. While hacking, I encountered twice the
> error "'AbsentContentFactory' object has no attribute 'get_bytes_as'"
> (full log at the bottom of this message), on two different branches on
> two different machines.

This looks an awful lot like <https://bugs.launchpad.net/bzr/+bug/354036>,
which occurs with stacked branches that were pushed to with a client that is
older than bzr-1.14rc2.  Are you using stacked branches?  If not, then this
is probably a separate bug that just happens to have a similar symptom.

> The first time I was committing again a change I had just uncommitted in
> order to fix a typo in the message. The second time I was pushing a
> branch to my home server and the error came from the bzr smartserver.
> In both cases, the branch is inside a shared repository created with
> bzr init-repo --development6 (for the second case, both the local and
> remote branches are).
> In both cases, the problem was solved by running bzr pack. The first

That's intriguing.  That suggests that it may be a different bug, but I'm
not certain about that.


More information about the bazaar mailing list