I made a fresh clone and virtualenv installation and was not able to reproduce your issue:
# git clone https://github.com/martinstein/pyramid_jinja_issue # cd pyramid_jinja_issue # mkvirtualenv pyramid_jinja_issue # pip install -e . # pserve development.ini # curl http://localhost:6543/works -I HTTP/1.1 200 OK Content-Length: 753 Content-Type: text/html; charset=UTF-8 Date: Thu, 09 Jul 2015 10:14:02 GMT Server: waitress # curl http://localhost:6543/works2 -I HTTP/1.1 200 OK Content-Length: 753 Content-Type: text/html; charset=UTF-8 Date: Thu, 09 Jul 2015 10:14:09 GMT Server: waitress # curl http://localhost:6543/broken -I HTTP/1.1 200 OK Content-Length: 753 Content-Type: text/html; charset=UTF-8 Date: Thu, 09 Jul 2015 10:14:14 GMT Server: waitress On 09.07.2015 12:03, Martin Stein wrote: > @Michael: I'm still not sure if there something simple I'm missing. In case > it is in fact a bug, I've added an issue here: > https://github.com/Pylons/pyramid_jinja2/issues/113 > > Since it seems that you cannot attach zip-files to github issues, the example > to reproduce is located here (simply clone > master): > https://github.com/martinstein/pyramid_jinja_issue > > > Am Mittwoch, 8. Juli 2015 13:17:53 UTC+2 schrieb Martin Stein: > > Yes, renderer='email/mytemplate.html' is exactly the one that doesn't > work. So this is the one that's either a bug > in pyramid_jinja2 or I'm simply missing how to specify the path to the > subdirectory. > > > Am Mittwoch, 8. Juli 2015 02:22:30 UTC+2 schrieb Jonathan Vanasco: > > Have you tried: email/mytemplate.html > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- 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/d/optout.
