bzr crashes on add within bzr-git working tree branch

Bug #968060 reported by Hobson Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

hobs@hobs-laptop:~/src/tagim$ bzr add tg/memem.py
bzr: failed to report crash using apport:
     OSError(17, 'File exists')
bzr: ERROR: exceptions.TypeError: __call__() takes at least 5 arguments (1 given)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 716, in run
    no_recurse, action=action, save=not dry_run)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/workingtree.py", line 264, in smart_add
    file_id = action()
TypeError: __call__() takes at least 5 arguments (1 given)

bzr 2.4.1 on python 2.7.2 (Linux-3.0.0-17-generic-pae-i686-with-
    Ubuntu-11.10-oneiric)
arguments: ['/usr/bin/bzr', 'add', 'tg/memem.py']
plugins: bash_completion[2.4.1], builddeb[2.7.0dev], bzrtools[2.4.0],
    changelog_merge[2.4.1], dbus[0.1.0dev], explorer[1.2.1],
    fastimport[0.11.0], git[0.6.2dev], grep[0.4.0], gtk[0.101.0dev],
    launchpad[2.4.1], netrc_credential_store[2.4.1], news_merge[2.4.1],
    qbzr[0.21.1], search[1.7.0dev], stats[0.1.0], svn[1.1.0],
    upload[1.0.1dev], weave_fmt[2.4.1]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

*** 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.
hobs@hobs-laptop:~/src/tagim$ cd tg
hobs@hobs-laptop:~/src/tagim/tg$ bzr add tg/memem.py
bzr: ERROR: exceptions.TypeError: __call__() takes at least 5 arguments (1 given)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 716, in run
    no_recurse, action=action, save=not dry_run)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/workingtree.py", line 264, in smart_add
    file_id = action()
TypeError: __call__() takes at least 5 arguments (1 given)

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2012-03-29T07:41.crash
if a bug-reporting window does not automatically appear.
hobs@hobs-laptop:~/src/tagim/tg$ bzr add memem.py
bzr: failed to report crash using apport:
     OSError(17, 'File exists')
bzr: ERROR: exceptions.TypeError: __call__() takes at least 5 arguments (1 given)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 716, in run
    no_recurse, action=action, save=not dry_run)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/workingtree.py", line 264, in smart_add
    file_id = action()
TypeError: __call__() takes at least 5 arguments (1 given)

bzr 2.4.1 on python 2.7.2 (Linux-3.0.0-17-generic-pae-i686-with-
    Ubuntu-11.10-oneiric)
arguments: ['/usr/bin/bzr', 'add', 'memem.py']
plugins: bash_completion[2.4.1], builddeb[2.7.0dev], bzrtools[2.4.0],
    changelog_merge[2.4.1], dbus[0.1.0dev], explorer[1.2.1],
    fastimport[0.11.0], git[0.6.2dev], grep[0.4.0], gtk[0.101.0dev],
    launchpad[2.4.1], netrc_credential_store[2.4.1], news_merge[2.4.1],
    qbzr[0.21.1], search[1.7.0dev], stats[0.1.0], svn[1.1.0],
    upload[1.0.1dev], weave_fmt[2.4.1]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'

*** 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.

hobs@hobs-laptop:~/src/tagim$ bzr check
Checking working tree at '/home/hobs/src/tagim'.
bzr: ERROR: exceptions.AttributeError: 'GitWorkingTree' object has no attribute '_get_check_refs'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 3403, in run
    check_dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree)
  File "/usr/lib/python2.7/dist-packages/bzrlib/check.py", line 399, in check_dwim
    scan_tree(None, base_tree, needed_refs, to_unlock)
  File "/usr/lib/python2.7/dist-packages/bzrlib/check.py", line 374, in scan_tree
    tree_refs = tree._get_check_refs()
AttributeError: 'GitWorkingTree' object has no attribute '_get_check_refs'

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2012-03-29T08:36.crash
if a bug-reporting window does not automatically appear.

Revision history for this message
Hobson Lane (hobs) wrote :

Oops. This was a git repo that I ran bzr on. User error.

Changed in bzr:
status: New → Invalid
Revision history for this message
Martin Packman (gz) wrote :

You have version 0.6.2dev of bzr-git, upgrading to 0.6.6 or later will include the relevant fix.

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.