No, I don't have an __init__.py in the templates directory. Should I?
'tg-admin quickstart' didn't create one.
Here's the full traceback:
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Page handler: <bound method Root.blog of <blog.controllers.Root object
at 0xb7441f0c>>
Traceback (most recent call last):
File
"/var/www/virtual/sylviecat.com/lib/python2.4/site-packages/CherryPy-2.2.0rc1-py2.4.egg/cherrypy/_cphttptools.py",
line 99, in _run
self.main()
File
"/var/www/virtual/sylviecat.com/lib/python2.4/site-packages/CherryPy-2.2.0rc1-py2.4.egg/cherrypy/_cphttptools.py",
line 248, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in blog
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/controllers.py",
line 206, in expose
output = database.run_with_transaction(expose._expose,func, accept,
allow_json, allow_json_from_config,*args, **kw)
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/database.py",
line 219, in run_with_transaction
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/controllers.py",
line 227, in <lambda>
expose._expose.when(rule)(lambda _func, accept, allow_json,
allow_json_from_config,*args,**kw: _execute_func(
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/controllers.py",
line 250, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/controllers.py",
line 55, in _process_output
mapping=mapping, content_type=content_type,fragment=fragment)
File
"/var/www/virtual/sylviecat.com/Work/turbogears/turbogears/turbogears/view/base.py",
line 77, in render
return engine.render(**kw)
File
"/var/www/virtual/sylviecat.com/lib/python2.4/site-packages/TurboKid-0.9.1-py2.4.egg/turbokid/kidsupport.py",
line 94, in render
tclass = self.load_template(template)
File
"/var/www/virtual/sylviecat.com/lib/python2.4/site-packages/TurboKid-0.9.1-py2.4.egg/turbokid/kidsupport.py",
line 57, in load_template
"%s.kid" % basename)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a10-py2.4.egg/pkg_resources.py",
line 799, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a10-py2.4.egg/pkg_resources.py",
line 119, in get_provider
__import__(moduleOrReq)
ImportError: No module named templates
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---