bzr status: AssertionError

James Westby jw+debian at jameswestby.net
Fri Aug 31 18:57:02 BST 2007


On (29/08/07 13:43), gregory benison wrote:
>     assert kind[0] == kind[1] or None in kind
> AssertionError
> 
> bzr 0.14.0 on python 2.5.0.final.0 (linux2)
> arguments: ['/usr/bin/bzr', 'status']

Hi,

This bug has been fixed in a later version of Bazaar, 0.16 I think. If
you can't upgrade then there is a workaround. This bug happens when a
file in your working tree changes kind, i.e. you have a file that
becomes a symlink, or a directory, or some other combination. The
workaround is to do

  bzr rm file && bzr add file

once you have worked out which file/symlink/directory is causing the
problem. If you do not know which is causing it then it is possible to
edit that file to tell you which. If you search the list archives for
that error then you will probably find out the code to add.

Thanks,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256



More information about the bazaar mailing list