adjusted uri used by inheriting templates, caused lookup error. #607

wants to merge 3 commits into


None yet

2 participants

aodag commented May 22, 2012

File "/home/aodag/.envs/pyramid/local/lib/python2.7/site-packages/Mako-0.7.0-py2.7.egg/mako/", line 732, in _lookup_template
raise exceptions.TemplateLookupException(str(e))
TemplateLookupException: Cant locate template for uri u'demo$templates/layout.mak'

Template Uri shourd be original uri, when loading that.

aodag commented May 22, 2012

I found that bug in pyramid 1.3.2.
On pyramid 1.3, template inheritance works fine.

aodag commented May 22, 2012

related issues #606, #512

mcdonc commented Jun 13, 2012

Is there any way to provide a test which fails without the fix?

aodag commented Jun 14, 2012

I gonna add tests at this week end.

aodag commented Jun 23, 2012

I tested on windows, and fix that.

tested and passed

  • Ubuntu 12.04 64bit, python2.7.3
  • Ubuntu 12.04 64bit, python3.2.3
  • Windows7 64bit, python 2.7.2 64bit
mcdonc commented Sep 15, 2012

This is fixed in master.

@mcdonc mcdonc closed this Sep 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment