all your repository are belong to us :(

Marius Kruger amanic at gmail.com
Fri Jun 4 16:46:23 BST 2010


hi,
bzr does not want me to commit today, (maybe it thinks I'm still to
sick to code or something) :

$ bzr --no-plugins ci some files -m "xx"
Committing to: https+urllib://x@xx/xx
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from
smart server: ('error', 'Internal check failed: Cannot add revision(s)
to repository: missing chk node(s) for id_to_entry maps')

Traceback (most recent call last):
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 911,
in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 1109, in run_bzr
    ret = run(*run_argv)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 689,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/cleanup.py", line 122, in
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/cleanup.py", line 156, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/builtins.py", line 3189, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/decorators.py", line 194,
in write_locked
    result = unbound(self, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/workingtree_4.py", line
197, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/decorators.py", line 194,
in write_locked
    result = unbound(self, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/mutabletree.py", line
200, in commit
    *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commit.py", line 286, in commit
    possible_master_transports=possible_master_transports)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/cleanup.py", line 118, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/cleanup.py", line 156, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/commit.py", line 448, in _commit
    self.branch.repository, new_revno, self.rev_id)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/branch.py", line 991, in
import_last_revision_info
    self.repository.fetch(source_repo, revision_id=revid)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/remote.py", line 1380, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/decorators.py", line 194,
in write_locked
    result = unbound(self, *args, **kwargs)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/repository.py", line 3449, in fetch
    find_ghosts=find_ghosts)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/fetch.py", line 73, in __init__
    self.__fetch()
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/fetch.py", line 99, in __fetch
    self._fetch_everything_for_search(search)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/fetch.py", line 127, in
_fetch_everything_for_search
    stream, from_format, [])
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/remote.py", line 1841, in
insert_stream
    (verb, path, resume_tokens) + lock_args, byte_stream)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/smart/client.py", line
181, in call_with_body_stream
    expect_response_body=False)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/smart/client.py", line
81, in _call_and_read_response
    expect_body=expect_response_body),
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/smart/message.py", line
306, in read_response_tuple
    _translate_error(self.args)
  File "/stf/prj/bzr/bzr.repo/bzr.dev/bzrlib/smart/message.py", line
361, in _translate_error
    raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error',
'Internal check failed: Cannot add revision(s) to repository: missing
chk node(s) for id_to_entry maps')

bzr 2.2b3 on python 2.6.5
(Linux-2.6.32-22-generic-x86_64-with-Ubuntu-10.04-lucid)
arguments: ['/stf/bin/bzr', '--no-plugins', 'ci',
'src/test/resources/test/html.zip',
'src/test/java/za/co/enerweb/toolbox/io/ZipUtilsTest.java', '-m', 'add
test for unzip']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
==


locally I run bzr dev, on the server I had 2.0.1 but after I got this
error I upgraded it to 2.1.2 but I get the same error
I did a bzr check, reconcile and pack on the client and the server,
but still no luck :(
I even rebuilt my repo
bzr init-repo pux0801.fix && cd pux0801.fix
bzr branches ../pux0801/ |xargs -i mkdir -p {}
bzr branches ../pux0801/ |xargs -i bzr branch --use-existing-dir
../pux0801/{} {}
and I still get the Error?!

What to try next? restore from backup?

-- 
all the dude wanted was his repo back
thx
<>< Marius ><>



More information about the bazaar mailing list