crash in 'bzr switch' with no-args

Bug #524242 reported by Robert Collins on 2010-02-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
Medium
Unassigned

Bug Description

 affects bzr
 status confirmed
 importance medium
 done

This might be loom, might not be.

$ bzr switch
bzr: ERROR: exceptions.TypeError: run() takes at least 2 arguments (1
given)

Traceback (most recent call last):
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 831, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 1033, in run_bzr
    ret = run(*run_argv)
  File "/home/robertc/.bazaar/plugins/loom/commands.py", line 224, in
run_argv_aliases
    super(cmd_switch, self).run_argv_aliases(list(argv), alias_argv)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 639, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/commands.py",
line 643, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/cleanup.py", line
122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/robertc/source/baz/bzr-test-fixes/bzrlib/cleanup.py", line
156, in _do_with_cleanups
    result = func(*args, **kwargs)
TypeError: run() takes at least 2 arguments (1 given)

Martin Pool (mbp) wrote :

I can't reproduce this with bzr alone.

affects: bzr → bzr-loom
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers