Bazaar: Out of memory

Guido Ostkamp bazaar at ostkamp.fastmail.fm
Sat May 10 22:31:10 BST 2008


On Fri, 9 May 2008, James Westby wrote:
> On Fri, 2008-05-09 at 13:56 -0500, John Arbash Meinel wrote:
>> That seems to be a typo in generic_processor.py, it should be "InventoryLink".
>>
>
> I've just pushed a fix for this to
>
> http://bazaar.launchpad.net/~bzr/bzr-fastimport/fastimport.dev/
>
> Thanks for catching it,

James & Ian, I update fastimport plugin to get that fix and retried. I 
seem to have a great talent to run into bazaar traps, because it just 
bombed out on me again (see below) <sigh> ;-)

As always, any hints from your side are most welcome.

10:21:48 Found 30000 commits already loaded - skipping over these ...
10:28:00 Generated the file-ids cache - 9599 entries
10:44:26 31000/41713 commits processed [0:07:51] (:61314)
11:00:59 32000/41713 commits processed [0:11:55] (:63289)
11:18:02 33000/41713 commits processed [0:14:52] (:65278)
11:35:19 34000/41713 commits processed [0:16:42] (:67201)
11:53:15 35000/41713 commits processed [0:17:33] (:69182)
12:11:22 36000/41713 commits processed [0:17:24] (:71181)
12:29:38 37000/41713 commits processed [0:16:17] (:73177)
12:48:04 38000/41713 commits processed [0:14:18] (:75149)
bzr: ERROR: exceptions.KeyError: 'tsptdevconfigrtpcfgu-20080510082814-5ykt3wj1u9ojhqgc-909'

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 105, in _process
     handler(self, cmd)
   File "/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py", line 382, in commit_handler
     handler.process()
   File "/home/ostkamp/.bazaar/plugins/fastimport/processor.py", line 171, in process
     self.post_process_files()
   File "/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py", line 639, in post_process_files
     lambda revision_ids: self._get_inventories(revision_ids))
   File "/home/ostkamp/.bazaar/plugins/fastimport/revisionloader.py", line 60, in load
     text_provider)
   File "/home/ostkamp/.bazaar/plugins/fastimport/revisionloader.py", line 110, in _load_texts
     lines = text_provider(ie.file_id)
   File "/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py", line 638, in <lambda>
     lambda file_id: self._get_lines(file_id),
   File "/home/ostkamp/.bazaar/plugins/fastimport/processors/generic_processor.py", line 784, in _get_lines
     return self.lines_for_commit[file_id]
KeyError: 'tsptdevconfigrtpcfgu-20080510082814-5ykt3wj1u9ojhqgc-909'

bzr 1.4 on python 2.5.2 (linux2)
arguments: ['/home/ostkamp/local/bin/bzr', 'fast-import', 'xxx.fi', '--info', 'xxx.cfg']
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.

Regards

Guido



More information about the bazaar mailing list