Jeremy wrote:
> Here is the error message I am getting:
> 2005/10/16 04:12:11 INFO Traceback (most recent call last):
> File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0_betadev-py2.4.egg/cherrypy/_cphttptools.py",
> line 276, in run
> main()
> File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.1.0_betadev-py2.4.egg/cherrypy/_cphttptools.py",
> line 498, in main
> body = page_handler(*args, **cherrypy.request.paramMap)
> File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-0.5.1-py2.4.egg/turbogears/controllers.py",
> line 93, in newfunc
> output = func(self, *args, **kw)
> File "/Users/jeremy/wiki20/wiki20/controllers.py", line 15, in index
> root = str(turbogears.url("/"))
> AttributeError: 'module' object has no attribute 'url'
> ---------------------------------------
>
> Anyone have any ideas?
> Thanks!
The tutorial you were following is written for TurboGears 0.8+ but you
still have 0.5.1 installed. To upgrade, please have a look at those 2
pages:
http://www.turbogears.org/download/
http://www.turbogears.org/download/upgrade.html
If you're lucky this will be sufficient to upgrade:
sudo easy_install -f http://www.turbogears.org/download/index.html
--script-dir /usr/local/bin TurboGears
Cheers,
Fabian.