bzr: ERROR: exceptions.AttributeError: 'list' object has no attribute 'select_conflicts'

Bug #741397 reported by aexl on 2011-03-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Jelmer Vernooij

Bug Description

(bzr spits out an error when called. don't know the exact condition. there is no bzr repo around when the error occured)

$ bzr status .
bzr: failed to report crash using apport:
     OSError(13, 'Keine Berechtigung')
bzr: ERROR: exceptions.AttributeError: 'list' object has no attribute 'select_conflicts'

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 912, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 1112, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 690, in run_argv_aliases
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 705, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 1127, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 339, in run
    show_pending=(not no_pending), verbose=verbose)
  File "/usr/lib/python2.6/dist-packages/bzrlib/", line 183, in show_tree_status
    conflicts = conflicts.select_conflicts(new, specific_files,
AttributeError: 'list' object has no attribute 'select_conflicts'

bzr 2.2.1 on python 2.6.6 (Linux-2.6.35-28-generic-i686-with-Ubuntu-10.10-maverick)
arguments: ['/usr/bin/bzr', 'status', '.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.utf8'
  bash_completion /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.1]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.2.0]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
  etckeeper /usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper [unknown]
  git /usr/lib/python2.6/dist-packages/bzrlib/plugins/git [0.5.2]
  gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.99.0]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.1]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.1]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.19.1]

*** 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
    including this traceback and a description of the problem.

Related branches

aexl (aexl) wrote :

but we have a git repo some dirs up if that matters

Andrew Bennetts (spiv) wrote :

> but we have a git repo some dirs up if that matters

Ah-hah, yes! This appears to be a bug in bzr-git's GitWorkingTree. conflicts. It returns [], but should return a ConflictsList.

affects: bzr → bzr-git
Changed in bzr-git:
status: New → Confirmed
aexl (aexl) wrote :

added corresponding feature request #744170

Jelmer Vernooij (jelmer) on 2011-04-07
Changed in bzr-git:
status: Confirmed → Triaged
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.6.0
Jelmer Vernooij (jelmer) on 2011-04-09
Changed in bzr-git:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer) on 2011-04-12
Changed in bzr-git:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers