Well.. I tried adding the following to the controllers file..
At the top, I put:
from turbogears import controllers
Then I changed class Root();
to
class Root(controllers.Root);
Now, I get the following error.. :D
500 Internal error
Server got itself in trouble
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0_rc2-py2.4.egg/cherrypy/_cphttptools.py",
line 271, in run
main()
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0_rc2-py2.4.egg/cherrypy/_cphttptools.py",
line 502, in main
body = page_handler(*args, **cherrypy.request.paramMap)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.8a2-py2.4.egg/turbogears/controllers.py",
line 122, in newfunc
return controllers._process_output(tg_format, output, html)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.8a2-py2.4.egg/turbogears/controllers.py",
line 38, in _process_output
output = view.render(output, tg_format, template=template)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.8a2-py2.4.egg/turbogears/view.py",
line 99, in render
return t.serialize(encoding="utf-8", output=format,
fragment=fragment)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/__init__.py",
line 231, in serialize
return serializer.serialize(self, encoding, fragment)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/serialization.py",
line 47, in serialize
text = list(self.generate(stream, encoding, fragment))
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/serialization.py",
line 301, in generate
for ev, item in self.apply_filters(stream):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/serialization.py",
line 73, in balancing_filter
for ev, item in stream:
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
line 179, in _coalesce
for ev, item in stream:
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/filter.py",
line 21, in transform_filter
for ev, item in apply_matches(stream, template, templates,
apply_func):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/filter.py",
line 40, in apply_matches
for ev, item in newstream:
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
line 179, in _coalesce
for ev, item in stream:
File "/Users/jeremy/wiki20/wiki20/templates/master.py", line 74, in
_match_func
NameError: name 'turbogearsflash' is not defined
Powered by Cherrypy 2.1.0-rc2
--------------------------
so, now i am even more contused....
I think that I am going to trash the tutorial session I have going on,
upgrade again, and then start over from scratch...
If that doesn't work, then I will probably give up.. :D