bzr error during bzr-search of repo: Cannot process with serializer <bzrlib.chk_serializer.CHKBEncodeSerializer

Bug #481336 reported by jrenbaum
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr search plugin
Fix Released
Undecided
Unassigned

Bug Description

This is similar to bug #461952. In that bug I was asked to open a new bug to address the larger problem. In addition, this error is now occurring in a separate repository during a nightly bzr-search indexing of one of our repositories. The following is the traceback and error message:

Indexing: /srv/bzr/groups/engineering/pixelFormatTestingForOverlayBox/trunk

bzr: ERROR: exceptions.ValueError: Cannot process with serializer <bzrlib.chk_serializer.CHKBEncodeSerializer object at 0x94df94c>

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/commands.py", line 41, in run
    _mod_index.index_url(trans.base)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 129, in index_url
    index.index_revisions(branch, revs_to_index)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 296, in index_revisions
    outer_bar)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 332, in _index_revisions
    locked_branch.repository, terms, order_dict)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/index.py", line 676, in _terms_for_file_terms
    revision_ids[revision_id])
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/search/inventory.py", line 49, in paths_from_ids
    raise ValueError("Cannot process with serializer %r" % serializer)
ValueError: Cannot process with serializer <bzrlib.chk_serializer.CHKBEncodeSerializer object at 0x94df94c>

bzr 2.0.2 on python 2.6.2 (Linux-2.6.28-16-server-i686-with-Ubuntu-9.04-jaunty)
arguments: ['/usr/bin/bzr', 'index', '/srv/bzr/groups/engineering/pixelFormatTestingForOverlayBox/trunk']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.0.0]
  extmerge /usr/lib/python2.6/dist-packages/bzrlib/plugins/extmerge [unknown]
  gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.98.0dev1]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.0.2]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.0.2]
  search /usr/lib/python2.6/dist-packages/bzrlib/plugins/search [1.7.0dev]

John A Meinel (jameinel)
affects: bzr → bzr-search
Revision history for this message
Robert Collins (lifeless) wrote :

Ok, for starters, please grab bzr-search trunk, so we can see whether the recent changes fixed your problem.

Revision history for this message
jrenbaum (jrenbaum) wrote :

Install of latest version of bzr-search resolved my problem.

Thanks,

Jay

Changed in bzr-search:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.