bzr fast-import-info crashes with not enough arguments

Bug #730833 reported by Eli Zaretskii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
Fix Released
Medium
Jelmer Vernooij

Bug Description

With bzr 2.1.1 on GNU/Linux and fastimport 0.10.0dev:

eliz@fencepost:~/bzr$ bzr fast-import-info idutils.fi
bzr: ERROR: exceptions.TypeError: _run() takes at least 5 arguments (4 given)

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/e/eliz/.bazaar/plugins/fastimport/cmds.py", line 469, in run
    return _run(source, info_processor.InfoProcessor, {}, verbose)
TypeError: _run() takes at least 5 arguments (4 given)

bzr 2.1.1 on python 2.6.5 (Linux-2.6.32-313-ec2-x86_64-with-Ubuntu-10.04-lucid)
arguments: ['/usr/bin/bzr', 'fast-import-info', 'idutils.fi']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
  bisect /home/e/eliz/.bazaar/plugins/bisect [1.1.0.pre.0]
  bzrtools /home/e/eliz/.bazaar/plugins/bzrtools [2.0.1]
  diffstat /home/e/eliz/.bazaar/plugins/diffstat [0.2.0]
  etckeeper /usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper [unknown]
  fastimport /home/e/eliz/.bazaar/plugins/fastimport [0.10.0dev]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.1.1]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.1.1]
  rewrite /home/e/eliz/.bazaar/plugins/rewrite [0.6.2dev]
  svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [1.0.2]
  upload /home/e/eliz/.bazaar/plugins/upload [1.0.0dev]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 730833] [NEW] bzr fast-import-info crashes with not enough arguments

   status fixcommitted
   assignee jelmer

Changed in bzr-fastimport:
assignee: nobody → Jelmer Vernooij (jelmer)
status: New → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
milestone: none → 0.11.0
Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr-fastimport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.