On 2009-9-24 07:53, Iain Duncan wrote: > I get the following traceback, any help much appreciated. > > File '/home/ymh/pylons_full/pylons_full/controllers/peek.py', line 50 in > zpt > > File '/home/ymh/pylons_full/pylons_full/lib/pt.py', line 15 in render_pt > cache_key=cache_key, cache_type=cache_type, cache_expire=cache_expire) > File > '/home/ymh/lib/python2.5/site-packages/Pylons-0.9.7-py2.5.egg/pylons/templating.py', > line 249 in cached_template > return render_func() > File '/home/ymh/pylons_full/pylons_full/lib/pt.py', line 11 in > render_template > template = globs["app_globals"].pt_loader.load(template_name) > File > '/home/ymh/lib/python2.5/site-packages/chameleon.zpt-1.0.0-py2.5.egg/chameleon/zpt/loader.py', > line 11 in load > template.PageTemplateFile) > File > '/home/ymh/lib/python2.5/site-packages/chameleon.core-1.0.0-py2.5.egg/chameleon/core/loader.py', > line 8 in load > self.registry[args] = template = func(self, *args) > File > '/home/ymh/lib/python2.5/site-packages/chameleon.core-1.0.0-py2.5.egg/chameleon/core/loader.py', > line 39 in load > path, self.parser, auto_reload=self.auto_reload) > TypeError: __init__() takes exactly 2 non-keyword arguments (3 given)
I think I fixed that in chameleon.zpt. Can you try the current svn trunk (see http://svn.repoze.org/chameleon.zpt/trunk ) and let me know if that works for you? Wichert. -- Wichert Akkerman <[email protected]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
