Chris McDonough <> added the comment:

This is by design.  In 1.2, if you don't use "repoze.bfg.router.make_app" to 
create your BFG 
WSGI application (instead using a Configurator and config.make_wsgi_app) and 
you need to 
use the ZCA "thread local API" (getUtiility, getAdapter, getSiteManager, etc), 
you must put this 
code somewhere in your

from zope.component import getSiteManager
from repoze.bfg import get_current_registry

status: unread -> resolved

Repoze Bugs <>
Repoze-dev mailing list

Reply via email to