Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1506 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Downloadable 20 Minute Wiki tutorial contains error

Reported by: Felix.Schwarz Owned by: Chris Arndt
Priority: low Milestone:
Component: Documentation Version: 1.0.4b1
Severity: minor Keywords:


On  http://docs.turbogears.org/1.0/Wiki20/Page6 you can download all files of the 20-Minute-Wiki tutorial in a zip file. Unfortunately, controllers.py contains an error in line 16:

            page = Page.byPagename(pagename)
        except SQLObjectNotFound:
            raise redirect("notfound", pagename = pagename)

"redirect" is not imported into the namespace. In the wiki, "turbogears.redirect" is used.

How to reproduce:

  1. Get TurboGears 1.0.4b1
  2. Download  wiki20.zip
  3. Create the database ("tg-admin sql create")
  4. Start the wiki application
  5. go to  http://localhost:8080

The error should be immediately visible on the first page.

Change History

comment:1 Changed 12 years ago by Chris Arndt

  • Status changed from new to assigned

comment:2 Changed 11 years ago by Chris Arndt

  • Status changed from assigned to closed
  • Resolution set to fixed

I fixed this error and uploaded a newe ZIP archive and also a Tar/Bz2 for the wiki20 project.

Note: See TracTickets for help on using tickets.