Error from smart server: ScopeReplacer object '_KnitGraphIndex' was used incorrectly

Bug #377453 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Unassigned

Bug Description

The Launchpad branch puller recorded this error message as OOPS-1229SMPM21.

I spoke to Robert about it on IRC, and he suggested that it was a bug in Bazaar.

UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', "ScopeReplacer object '_KnitGraphIndex' was used incorrectly: Object already cleaned up, did you assign it to another variable?: _factory")

Traceback (most recent call last):
  (elided...)
  Module bzrlib.branch, line 135, in open
    return control.open_branch(_unsupported)
  Module bzrlib.remote, line 287, in open_branch
    return RemoteBranch(self, self.find_repository(), format=format,
  Module bzrlib.bzrdir, line 649, in find_repository
    found_repo = self._find_containing(usable_repository)
  Module bzrlib.bzrdir, line 615, in _find_containing
    result, stop = evaluate(found_bzrdir)
  Module bzrlib.bzrdir, line 639, in usable_repository
    repository = found_bzrdir.open_repository()
  Module bzrlib.remote, line 332, in open_repository
    response, real_repo = probe(path)
  Module bzrlib.remote, line 304, in _open_repo_v2
    response = self._call(verb, path)
  Module bzrlib.remote, line 57, in _call
    self._translate_error(err, **err_context)
  Module bzrlib.remote, line 129, in _translate_error
    _translate_error(err, bzrdir=self, **context)
  Module bzrlib.remote, line 2563, in _translate_error
    raise errors.UnknownErrorFromSmartServer(err)
UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', "ScopeReplacer object '_KnitGraphIndex' was used incorrectly: Object already cleaned up, did you assign it to another variable?: _factory")

Tags: easy
Revision history for this message
Robert Collins (lifeless) wrote :

Should be trivial to fix - just load the relevant thing always is best I suspect (as lazy imports are only a win *when* they can be avoided).

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Jonathan Lange (jml) wrote :

We just got another instance of this error:

  Module bzrlib.branch, line 137, in open
    return control.open_branch(_unsupported)
  Module bzrlib.remote, line 289, in open_branch
    setup_stacking=not ignore_fallbacks)
  Module bzrlib.remote, line 1975, in __init__
    self._setup_stacking()
  Module bzrlib.remote, line 1981, in _setup_stacking
    fallback_url = self.get_stacked_on_url()
  Module bzrlib.remote, line 2085, in get_stacked_on_url
    _translate_error(err, branch=self)
  Module bzrlib.remote, line 2648, in _translate_error
    raise errors.UnknownErrorFromSmartServer(err)
UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', "ScopeReplacer object 'errors' was used incorrectly: Object already cleaned up, did you assign it to another variable?: _scope")

OOPS-1272SMPM01

Remote branch is http://bzr.malept.com/avant-window-navigator

Martin Pool (mbp)
tags: added: easy
Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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