See https://sourceforge.net/p/allura/tickets/4660/#4d5b for the trace. Ming is configured in allura/command/base.py and so should activitystreams.
Other random thoughts that could be considered too:
@LazyProperty
in app_globals.py instead of "manually" caching the property
forge:tv/4688
Tested with an
assert g.director
inside themodels
paster command. Will email the list as suggested.