I am following the Wiki 20 Tutorial, I get to the top of Page 3 where
I enter the page into the sqlite db and I get the following errors on
the web page:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\cherrypy\_cprequest.py", line
606, in respond
cherrypy.response.body = self.handler()
File "C:\Python26\lib\site-packages\cherrypy\_cpdispatch.py", line
25, in __call__
return self.callable(*self.args, **self.kwargs)
File "<string>", line 3, in index
File "C:\Python26\lib\site-packages\turbogears-1.5b2-py2.6.egg
\turbogears\controllers.py", line 364, in expose
*args, **kw)
File "<generated code>", line 0, in run_with_transaction
File "C:\Python26\lib\site-packages\turbogears-1.5b2-py2.6.egg
\turbogears\database.py", line 475, in sa_rwt
retval = func(*args, **kw)
File "<generated code>", line 0, in _expose
File "C:\Python26\lib\site-packages\turbogears-1.5b2-py2.6.egg
\turbogears\controllers.py", line 393, in <lambda>
fragment, options, args, kw)))
File "C:\Python26\lib\site-packages\turbogears-1.5b2-py2.6.egg
\turbogears\controllers.py", line 428, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "C:\Python26\lib\site-packages\turbogears-1.5b2-py2.6.egg
\turbogears\errorhandling.py", line 83, in try_call
return func(self, *args, **kw)
File "C:\Python26\Wiki-20\wiki20\controllers.py", line 12, in index
content = publish_parts(page.data,
AttributeError: 'NoneType' object has no attribute 'data'
Powered by CherryPy 3.1.2
Any help appreciated.
--
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.