Darryl Cousins wrote: > Hi All, > > I found that the recipe [1] to run repoze.bfg on gae **almost** works.
Thanks for the analysis! I think the best solution would be to make all imports of Chameleon conditional. This actually *used* to be the case; something must have broken it since 1.0 (the last time I tested that tutorial). Can you provide the traceback that is emitted when "the wrong thing" happens? > > The failure was that the resulting fresh application loads Chameleon via: > > <include package="repoze.bfg.includes" /> > > which is included in paster jinja2 template configure.zcml [2] > > Just removing this line gets the app up and running but is missing > directives from repoze.zcml:meta.zcml > > I see 2 options: > > 1. replace the above mentioned include with the following in the > jinja2 paster template (attached patch.diff) > > <include package="repoze.zcml" file="meta.zcml" /> > > ... which has the drawback that those using the paster template do not > have Chameleon (desirable in gae but perhaps not in other scenarios). > > 2. Make a mention in the tutorial (perhaps as in attached doc.diff) > > Hope that is helpful, > Darryl Cousins > > [1] http://docs.repoze.org/bfg/1.2/tutorials/gae/index.html > [2] > http://svn.repoze.org/repoze.bfg.jinja2/trunk/repoze/bfg/jinja2/paster_template/+package+/configure.zcml > > > ------------------------------------------------------------------------ > > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev