When I try to checkout a repository via http, I get this error:
bzr checkout http://hasecke.com/privat/Plone3 plone3
\ [======= ] Transferring 0/4Python(6792) malloc: *** vm_allocate(size=10153984) failed (error code=3)
Python(6792) malloc: *** error: can't allocate region
Python(6792) malloc: *** set a breakpoint in szone_error to debug
bzr: ERROR: exceptions.MemoryError:
Traceback (most recent call last):
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
return run_bzr(argv)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/commands.py", line 790, in run_bzr
ret = run(*run_argv)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/builtins.py", line 990, in run
accelerator_tree)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/branch.py", line 783, in create_checkout
checkout_branch.pull(self, stop_revision=revision_id)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/branch.py", line 1727, in pull
run_hooks=run_hooks)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/branch.py", line 1526, in pull
self.update_revisions(source, stop_revision, overwrite=overwrite)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/branch.py", line 1478, in update_revisions
self.fetch(other, stop_revision)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/branch.py", line 286, in fetch
pb=nested_pb)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/repository.py", line 949, in fetch
return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/repository.py", line 2645, in fetch
pb=pb, find_ghosts=find_ghosts)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/fetch.py", line 109, in __init__
self.__fetch()
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/fetch.py", line 139, in __fetch
self._fetch_everything_for_search(search, pp)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/fetch.py", line 169, in _fetch_everything_for_search
self._fetch_weave_text(file_id, revisions)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/fetch.py", line 219, in _fetch_weave_text
to_weave.join(from_weave, version_ids=required_versions)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/versionedfile.py", line 421, in join
ignore_missing)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/knit.py", line 2633, in join
copy_queue):
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/knit.py", line 2446, in read_records_iter_raw
data = raw_records.next()
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/knit.py", line 2009, in get_raw_records
for pos, data in self._transport.readv(self._filename, read_vector):
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/transport/http/__init__.py", line 250, in _readv
data = rfile.read(size)
File "/Users/juh/Library/Python/2.4/site-packages/bzrlib/transport/http/response.py", line 209, in read
data = self._file.read(limited)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/socket.py", line 295, in read
data = self._sock.recv(recv_size)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/httplib.py", line 480, in read
s = self.fp.read(amt)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/socket.py", line 295, in read
data = self._sock.recv(recv_size)
MemoryError
bzr 1.2.0 on python 2.4.4.final.0 (darwin)
arguments: ['/Library/Frameworks/Python.framework/Versions/Current/bin/bzr', 'checkout', 'http://hasecke.com/privat/Plone3', 'plone3']
encoding: 'US-ASCII', fsenc: 'utf-8', lang: None
plugins:
launchpad /Users/juh/Library/Python/2.4/site-packages/bzrlib/plugins/launchpad [unknown]
multiparent /Users/juh/Library/Python/2.4/site-packages/bzrlib/plugins/multiparent.py [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
Looks like
http:// bugs.python. org/issue109250 2
and
http:// bugs.python. org/issue138905 1