Hi everybody,

i am having trouble with my templates. I made a minor change to the
master.kid file, and now the pages won´t load giving me the following
traceback. But: for sure master.kid is ins the same directory as
index.kid - i didn´t move anything and it worked like a charm for a
long time now.

Any ideas?

Thanks.

Frank




Traceback:
Page handler: <bound method Root.index of
<tagderabrechnung.controllers.Root object at 0x8cd022c>>
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/
cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/
cherrypy/_cphttptools.py", line 264, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in index
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/controllers.py", line 336, in expose
    *args, **kw)
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/database.py", line 303, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/controllers.py", line 351, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/controllers.py", line 391, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/controllers.py", line 82, in _process_output
    fragment=fragment)
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.2.2-py2.5.egg/
turbogears/view/base.py", line 131, in render
    return engine.render(**kw)
  File "/usr/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg/
turbokid/kidsupport.py", line 182, in render
    tclass = self.load_template(template)
  File "/usr/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg/
turbokid/kidsupport.py", line 150, in load_template
    mod = _compile_template(package, basename, tfile, classname)
  File "/usr/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg/
turbokid/kidsupport.py", line 16, in _compile_template
    mod = kid.load_template(tfile, name=classname)
  File "/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg/kid/
__init__.py", line 160, in load_template
    store=cache, ns=ns, exec_module=exec_module)
  File "/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg/kid/
importer.py", line 147, in _create_module
    raise_template_error(module=name, filename=filename)
  File "/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg/kid/
importer.py", line 143, in _create_module
    exec code in mod.__dict__
  File "/path/templates/index.py", line 21, in <module>
  File "/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg/kid/
template_util.py", line 127, in base_class_extends
    % (all_extends or extends)).lstrip())
TemplateExtendsError: Could not open '/path/templates/master.kid'
Template file "'./master.kid'" not found
while processing extends="'./master.kid'"
Error location in template file '/path/templates/index.kid'
on line 4 after column 120:
... >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to