I had similar problem when I was implementing Breve template engine 
renderer (http://github.com/momyc/pyramid-breve). The challenge was that 
Pyramid's technique of detecting calling package was failing because call 
stack was deeper (and not even constant) than it usually is and that 
renderer library package was detected as application package.

I have not seen what fix was made but I ended up by allowing developer to 
configure "default" package via renderer configuration since I could not 
find reliable way of doing it otherwise.

Alex K

On Saturday, December 28, 2013 4:33:51 PM UTC-4, Mike Orr wrote:
>
> I'm making a set of demo apps, which is a directory with several 
> one-file Pyramid applications and a common template file they all use. 
> So they are not in a named package. How do I specify the template in 
> the 'renderer' argument (page.mako or page.pt, I'm not sure which I 
> want to use)? With renderer="page.mako" I got a template not found 
> error. 
>
> Also, is there a debugging setting to tell me which paths it considered? 
>
> -- 
> Mike Orr <[email protected] <javascript:>> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to