On 15/04/2006, at 3:14, .M. wrote: > > Hi I'm getting this error when I run tg-admin. I've just updated (I > think) everything from svn and installed Tasty. I thought the problem > was related to that but now I can run tasty, but just not tg-admin > with > any args. > > Any ideas? > > .M. > > 192:~/src/turbogears/thirdparty michela$ tg-admin > Traceback (most recent call last): > File "/usr/local/bin/tg-admin", line 7, in ? > sys.exit( > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py", > line 236, in load_entry_point > return get_distribution(dist).load_entry_point(group, name) > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py", > line 2097, in load_entry_point > return ep.load() > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py", > line 1830, in load > entry = __import__(self.module_name, globals(),globals(), > ['__name__']) > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/TurboGears-0.9a0dev_r429-py2.4.egg/turbogears/ > __init__.py", > line 12, in ? > from turbogears import startup > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/TurboGears-0.9a0dev_r429-py2.4.egg/turbogears/ > startup.py", > line 204, in ? > cherrypy._cphttptools._mapPathToObject = > cherrypy._cphttptools.mapPathToObject > AttributeError: 'module' object has no attribute 'mapPathToObject'
Try updating CherryPy to 2.2.0. BTW, The latest alpha version of TG is 0.9a4, it looks like you've got 0.9a0 installed. Try: # easy_install -U -Z . in your checkout root dir when updating it to http:// www.turbogears.org/svn/turbogears/tags/0.9a4 or http:// www.turbogears.org/svn/turbogears/tags/1.0 if you want the latest bug- fixes. HTH Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

