[Pkg-bazaar-maint] Bug#532947: bzr-loom: ‘loomify’ crashes, and corrupts the branch data
Ben Finney
ben+debian at benfinney.id.au
Sat Jun 13 05:13:41 UTC 2009
Package: bzr-loom
Version: 1.4.0~bzr95-1
Severity: important
The following sequence gets a branch that I would like to loomify:
=====
$ bzr init-repository --format rich-root-pack ~/Projects/bugs-everywhere/
$ cd ~/Projects/bugs-everywhere/
$ bzr checkout bzr+ssh://bzr.debian.org/bzr/collab-maint/bugs-everywhere/be.upstream/
$ bzr branch be.upstream/ be.devel/
=====
At this point the branch appears fine:
=====
$ cd be.devel/
$ bzr check .
Checking working tree at 'file:///home/bignose/Projects/bugs-everywhere/be.devel/'.
Checking repository at 'file:///home/bignose/Projects/bugs-everywhere/'.
checked repository <bzrlib.transport.local.LocalTransport url=file:///home/bignose/Projects/bugs-everywhere/> format <RepositoryFormatKnitPack4>
373 revisions
538 file-ids
1113 unique file texts
51952 repeated file texts
0 unreferenced text versions
4 inconsistent parents
Checking branch at 'file:///home/bignose/Projects/bugs-everywhere/be.devel/'.
checked branch file:///home/bignose/Projects/bugs-everywhere/be.devel/ format Branch format 6
=====
I set a branch nick, and it's still fine:
=====
$ bzr nick upstream
$ bzr info .
Repository tree (format: rich-root-pack)
Location:
shared repository: /home/bignose/Projects/bugs-everywhere
repository branch: .
Related branches:
parent branch: /home/bignose/Projects/bugs-everywhere/be.upstream
$ bzr check .
Checking working tree at 'file:///home/bignose/Projects/bugs-everywhere/be.devel/'.
Checking repository at 'file:///home/bignose/Projects/bugs-everywhere/'.
checked repository <bzrlib.transport.local.LocalTransport url=file:///home/bignose/Projects/bugs-everywhere/> format <RepositoryFormatKnitPack4>
373 revisions
538 file-ids
1113 unique file texts
51952 repeated file texts
0 unreferenced text versions
4 inconsistent parents
Checking branch at 'file:///home/bignose/Projects/bugs-everywhere/be.devel/'.
checked branch file:///home/bignose/Projects/bugs-everywhere/be.devel/ format Branch format 6
=====
However, now I try to loomify the branch and it crashes:
=====
$ bzr loomify
bzr: ERROR: exceptions.TypeError: __init__() got an unexpected keyword argument 'ignore_fallbacks'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/loom/commands.py", line 61, in run
loom = target.bzrdir.open_branch()
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1595, in open_branch
return format.open(self, _found=True)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/loom/branch.py", line 820, in open
ignore_fallbacks=ignore_fallbacks)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2341, in __init__
super(BzrBranch7, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ignore_fallbacks'
bzr 1.13.1 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'loomify']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95dev]
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
etckeeper /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper [unknown]
fastimport /usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport [0.8dev]
hg /home/bignose/.bazaar/plugins/hg [unknown]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
loom /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4dev]
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.4dev]
rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.4]
stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.5.3]
upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
=====
And any operation on the branch reveals that it's now corrupted:
=====
$ bzr check .
bzr: ERROR: exceptions.TypeError: __init__() got an unexpected keyword argument 'ignore_fallbacks'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2867, in run
check_dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree)
File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 281, in check_dwim
BzrDir.open_containing_tree_branch_or_repository(path)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 945, in open_containing_tree_branch_or_repository
tree, branch = bzrdir._get_tree_branch()
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 895, in _get_tree_branch
tree = self.open_workingtree()
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1612, in open_workingtree
return format.open(self, _found=True)
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2946, in open
wt = self._open(a_bzrdir, self._open_control_files(a_bzrdir))
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1418, in _open
branch=a_bzrdir.open_branch(),
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1595, in open_branch
return format.open(self, _found=True)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/loom/branch.py", line 820, in open
ignore_fallbacks=ignore_fallbacks)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2341, in __init__
super(BzrBranch7, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ignore_fallbacks'
bzr 1.13.1 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'check', '.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95dev]
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
etckeeper /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper [unknown]
fastimport /usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport [0.8dev]
hg /home/bignose/.bazaar/plugins/hg [unknown]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
loom /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4dev]
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.4dev]
rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.4]
stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.5.3]
upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0dev]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
=====
The corresponding session in ‘$HOME/.bzr.log’ isn't much more
informative:
=====
Sat 2009-06-13 14:56:03 +1000
0.028 bzr arguments: [u'loomify']
0.055 looking for plugins in /home/bignose/.bazaar/plugins
0.111 looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
0.234 encoding stdout as sys.stdout encoding 'UTF-8'
0.282 Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/loom/commands.py", line 61, in run
loom = target.bzrdir.open_branch()
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1595, in open_branch
return format.open(self, _found=True)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/loom/branch.py", line 820, in open
ignore_fallbacks=ignore_fallbacks)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2341, in __init__
super(BzrBranch7, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ignore_fallbacks'
0.289 return code 4
=====
Fortunately the repository remains okay:
=====
$ cd ..
$ bzr check .
No working tree found at specified location.
Checking repository at 'file:///home/bignose/Projects/bugs-everywhere/'.
checked repository <bzrlib.transport.local.LocalTransport url=file:///home/bignose/Projects/bugs-everywhere/> format <RepositoryFormatKnitPack4>
373 revisions
538 file-ids
1113 unique file texts
51952 repeated file texts
0 unreferenced text versions
4 inconsistent parents
Checking branch at 'file:///home/bignose/Projects/bugs-everywhere/be.devel/'.
checked branch file:///home/bignose/Projects/bugs-everywhere/be.devel/ format Branch format 6
Checking branch at 'file:///home/bignose/Projects/bugs-everywhere/be.upstream/'.
checked branch file:///home/bignose/Projects/bugs-everywhere/be.upstream/ format Branch format 6
=====
But the branch needs to be deleted as unusable. It has been corrupted,
hence the ‘important’ severity level on this bug report.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)
Kernel: Linux 2.6.26-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr-loom depends on:
ii bzr 1.13.1-1 easy to use distributed version co
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
bzr-loom recommends no packages.
bzr-loom suggests no packages.
-- no debconf information
--
\ “He was the mildest-mannered man / That ever scuttled ship or |
`\ cut a throat.” —“Lord” George Gordon Noel Byron, _Don Juan_ |
_o__) |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20090613/08dde260/attachment.pgp>
More information about the Pkg-bazaar-maint
mailing list