BzrFastImport / Bazaar fatal error

Guido Ostkamp bazaar at ostkamp.fastmail.fm
Tue May 6 22:07:23 BST 2008


Hello,

I tried to continue conversion of a Git repository to Bazaar with 
BzrFastImport when Bazaar crashed with the fatal error stated below.

The Git repository has about ~40000 changesets.

--- snip --- snap ---
16:40:15 Found 20000 commits already loaded - skipping over these ...
16:45:51 Generated the file-ids cache - 8332 entries
16:59:56 21000 commits processed (:41446)
17:15:31 22000 commits processed (:43438)
17:33:33 23000 commits processed (:45436)
17:56:35 24000 commits processed (:47424)
18:12:14 25000 commits processed (:49407)
18:27:53 26000 commits processed (:51367)
18:43:47 27000 commits processed (:53356)
19:00:23 28000 commits processed (:55348)
19:16:59 29000 commits processed (:57339)
19:33:58 30000 commits processed (:59332)
19:33:58 30000 commits - automatic checkpoint triggered
19:51:48 31000 commits processed (:61314)
20:09:18 32000 commits processed (:63289)
bzr: ERROR: exceptions.MemoryError:

Traceback (most recent call last):
   File "/home/ostkamp/local/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
     return run_bzr(argv)
   File "/home/ostkamp/local/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr
     ret = run(*run_argv)
   File "/home/ostkamp/local/lib/python2.5/site-packages/bzrlib/commands.py", line 504, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/home/ostkamp/.bazaar/plugins/fastimport/__init__.py", line 161, in run
     params, verbose)
   File "/home/ostkamp/.bazaar/plugins/fastimport/__init__.py", line 50, in _run
     return proc.process(p.iter_commands)
   File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 83, in process
     self._process(command_iter)
   File "/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py", line 227, in _process
     processor.ImportProcessor._process(self, command_iter)
   File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 98, in _process
     for cmd in command_iter():
   File "/home/ostkamp/.bazaar/plugins/fastimport/parser.py", line 285, in iter_commands
     yield self._parse_blob()
   File "/home/ostkamp/.bazaar/plugins/fastimport/parser.py", line 331, in _parse_blob
     data = self._get_data('blob')
   File "/home/ostkamp/.bazaar/plugins/fastimport/parser.py", line 435, in _get_data
     read_bytes = self.read_bytes(size)
   File "/home/ostkamp/.bazaar/plugins/fastimport/parser.py", line 237, in read_bytes
     return ''.join(lines)
MemoryError

bzr 1.4 on python 2.5.1 (linux2)
arguments: ['/home/ostkamp/local/bin/bzr', 'fast-import', '-']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
   fastimport           /home/ostkamp/.bazaar/plugins/fastimport [unknown]
   launchpad            /home/ostkamp/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad [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.
--- snip --- snap ---

Does anyone has an idea what's the problem?

Should I try and restart the conversion once again?

Thanks for any hints.

Best regards

Guido



More information about the bazaar mailing list