Hello Anthony and Rochabruno, Thanks for the help!. Yes it is a typo. So there is a typo in the on-line book "http://web2py.com/books", which I cut and paste to follow the book. Now there is no error when I point the browser to "http://127.0.0.1:8000/ mywiki/default/news.rss", but what I get back was not I expected as show in the book, but the following texts:
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0"><channel><title>mywiki rss feed</title><link>http://127.0.0.1:8000/mywiki/default/index</link><description>mywiki news</description><lastBuildDate>Tue, 08 May 2012 09:16:42 GMT</lastBuildDate><generator>PyRSS2Gen-1.0.0</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>My main page</title><link>/mywiki/default/show.rss/1</link><description><p>Hello today I make my first wiki app.</p></description><pubDate>Mon, 07 May 2012 20:04:08 GMT</pubDate></item></channel></rss> please help! Tony. On Monday, May 7, 2012 8:48:29 PM UTC+1, Tony Ha wrote: > > Hello, > Please help! > I am following the book "http://web2py.com/books" on chapter overview, > doing the mywiki app. after append the def news(): codes into the default > controller: then I visit http://127.0.0.1:8000/mywiki/default/news.rss > and I got > Internal errorTicket issued: > mywiki/127.0.0.1.2012-05-07.20-19-57.d577cc7e-d59e-45f7-87f5-50551b75313c<http://127.0.0.1:8000/admin/default/ticket/mywiki/127.0.0.1.2012-05-07.20-19-57.d577cc7e-d59e-45f7-87f5-50551b75313c> > > when I open this ticket it say > <type 'exceptions.NameError'> global name 'reponse' is not defined > > Do I need to import any python module to solve this issue? > > Many thanks for the help! > > Tony. > On Monday, May 7, 2012 8:48:29 PM UTC+1, Tony Ha wrote: > > Hello, > Please help! > I am following the book "http://web2py.com/books" on chapter overview, > doing the mywiki app. after append the def news(): codes into the default > controller: then I visit http://127.0.0.1:8000/mywiki/default/news.rss > and I got > Internal errorTicket issued: > mywiki/127.0.0.1.2012-05-07.20-19-57.d577cc7e-d59e-45f7-87f5-50551b75313c<http://127.0.0.1:8000/admin/default/ticket/mywiki/127.0.0.1.2012-05-07.20-19-57.d577cc7e-d59e-45f7-87f5-50551b75313c> > > when I open this ticket it say > <type 'exceptions.NameError'> global name 'reponse' is not defined > > Do I need to import any python module to solve this issue? > > Many thanks for the help! > > Tony. >