AttributeError OOPS in codebrowse (lazy_import not threadsafe)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
canonical-bazaar | ||
Launchpad itself |
In Progress
|
Critical
|
Benji York |
Bug Description
As seen on OOPS-1839CBA1:
http://
Traceback (most recent call last):
Module launchpad_
app_iter = iter(app(environ, wrapped.
Module launchpad_
result = application(
Module __main__, line 165, in wrapped
Module launchpad_
return app(environ, start_response)
Module paste.translogger, line 68, in __call__
return self.applicatio
Module paste.deploy.
return self.app(environ, start_response)
Module __main__, line 149, in wrapped
Module paste.wsgilib, line 179, in catch_errors
app_iter = application(
Module launchpad_
return self.cookie_
Module paste.auth.cookie, line 305, in __call__
return self.applicatio
Module launchpad_
return self.applicatio
Module paste.httpexcep
return self.applicatio
Module launchpad_
lp_
Module lp.codehosting.
makeURLChec
Module lp.codehosting.
return Branch.open(url, possible_
Module bzrlib.branch, line 168, in open
return control.
Module bzrlib.bzrdir, line 1871, in open_branch
_found=True, ignore_
Module bzrlib.branch, line 2069, in open
_repository
Module bzrlib.bzrdir, line 735, in find_repository
found_repo = self._find_
Module bzrlib.bzrdir, line 701, in _find_containing
result, stop = evaluate(
Module bzrlib.bzrdir, line 725, in usable_repository
repository = found_bzrdir.
Module bzrlib.bzrdir, line 1878, in open_repository
return format.open(self, _found=True)
Module bzrlib.
_serializer
Module bzrlib.
use_
Module bzrlib.
self.
Module bzrlib.
flush_
Module bzrlib.lazy_import, line 124, in __call__
_cleanup()
Module bzrlib.lazy_import, line 97, in _cleanup
del self._factory
AttributeError: _factory
Related branches
- John A Meinel: Approve
- Jelmer Vernooij (community): Approve
-
Diff: 119 lines (+91/-2)2 files modifiedbzrlib/lazy_import.py (+13/-2)
bzrlib/tests/test_lazy_import.py (+78/-0)
Changed in launchpad: | |
status: | New → Triaged |
importance: | High → Critical |
description: | updated |
description: | updated |
tags: | added: codebrowse |
Changed in bzr: | |
assignee: | nobody → canonical-bazaar (canonical-bazaar) |
importance: | Undecided → High |
status: | New → Confirmed |
summary: |
- AttributeError OOPS in codebrowse + AttributeError OOPS in codebrowse (lazy_import not threadsafe) |
Changed in launchpad: | |
assignee: | nobody → Benji York (benji) |
Changed in launchpad: | |
status: | Triaged → In Progress |
Looks like a race condition on startup I think - is lazy_import threadsafe?