You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/zope/pagetemplate/pagetemplate.py", line 229, in _cook
source_file, self._text, pt_engine, self.content_type)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/ptcompat/engine.py", line 52, in cook
text, filename=source_file, keep_body=True,
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/zpt/template.py", line 192, in __init__
super(PageTemplate, self).__init__(body, **config)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 116, in __init__
self.write(body)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 209, in write
self.cook(body)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 145, in cook
digest = self.digest(body, names)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/zpt/template.py", line 304, in digest
hex = super(PageTemplate, self).digest(body, names)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 246, in digest
digest = os.path.splitext(self.filename)[0] + '-' + digest
File "//z3c.template/.tox/py27/bin/../lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "//z3c.template/.tox/py27/bin/../lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'NoneType' object has no attribute 'rfind'
Activity
jamadden commentedon Oct 16, 2017
Underlying error is
Do not pass None as a filename to chameleon