Bazaar: Out of memory

James Westby jw+debian at jameswestby.net
Fri May 9 10:05:32 BST 2008


On Fri, 2008-05-09 at 10:58 +0200, bazaar at ostkamp.fastmail.fm wrote:
> The current failure stack is now:
> 

>   File "/home/ostkamp/local/lib/python2.5/site-packages/bzrlib/knit.py",
>   line 1038, in _add
>     digest = sha_string(line_bytes)
> UnboundLocalError: local variable 'line_bytes' referenced before
> assignment

Hi,

That's not a MemoryError, so it's a different problem. Ian made a typo
when he suggested the code change, the correct code should be:

    line_bytes = ''
    for line in lines:
        line_bytes += line

Could you try that instead?

Thanks,

James




More information about the bazaar mailing list