bzrlib.errors.IllegalUseOfScopeReplacer: ScopeReplacer object 'StringIO'
Bug #905361 reported by
Adi Roiban
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Jelmer Vernooij | ||
2.3 |
Fix Released
|
High
|
Jelmer Vernooij | ||
2.4 |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
I am trying to update the BzrPoller from buildbot contrib file.
The updated Python code is at http://
The full traceback is at http://
The error occurs when I try to use more than one BzrPoller for the changesources.
Let me know if anything else is required.
Cheers,
Adi
Related branches
lp:~jelmer/bzr/direct-cstringio-import
- Martin Packman (community): Approve
-
Diff: 32 lines (+4/-1)2 files modifiedbzrlib/config.py (+1/-1)
doc/en/release-notes/bzr-2.3.txt (+3/-0)
Superseded
for merging
into
lp:bzr
- Martin Packman (community): Approve
-
Diff: 32 lines (+4/-1)2 files modifiedbzrlib/config.py (+1/-1)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr: | |
milestone: | none → 2.3.5 |
status: | In Progress → Fix Released |
milestone: | 2.3.5 → 2.5b5 |
status: | Fix Released → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
See also IRC log: <http:// irclogs. ubuntu. com/2011/ 12/16/% 23bzr.html# t14:59>
The problem is basically bug 396819 which still needs a more complete fix, and isn't sensible to backport to 2.3 unfortunately. The workaround to do the following before spawning threads did seem to help though:
from bzrlib import config StringIO( )
config.
This does the thunk before beforehand so there's no chance for a race when it's used later.