ich versuche gerade das "AuthenticationAndAccessRestrictions" Tool für cherrypy in meine Application einzubauen.
Wenn ich das Beispiel aus dem Wiki bei mir ausführe, bekommen ich folgenden Fehler:
Code: Alles auswählen
HTTP Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 588, in respond
self.namespaces(self.config)
File "/usr/local/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpconfig.py", line 219, in __call__
exit(None, None, None)
File "/usr/local/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cptools.py", line 457, in __exit__
tool = getattr(self, name)
AttributeError: 'Toolbox' object has no attribute 'auth'
Hat jemand da einen Tipp für mich?
Gruß tjuXx