On Thu, Jul 10, 2008 at 2:02 AM, rawu <[EMAIL PROTECTED]> wrote: > > I follow the guide on > http://trac-hacks.org/wiki/AccountManagerPlugin#AccountManager. > > 1, generate an egg file : TracAccountManager-0.2.1dev_r3857- > py2.4.egg , put it in /plugin directory > 2, edit 'trac.ini' as > > [components] > trac.web.auth.LoginModule = disabled > acct_mgr.admin.* = enabled > acct_mgr.api.* = enabled > acct_mgr.db.* = enabled > acct_mgr.htfile.* = enabled > acct_mgr.http.* = enabled > acct_mgr.pwhash.* = enabled > acct_mgr.svnserve.* = enabled > acct_mgr.web_ui.* = enabled > > [account-manager] > password_file = "D:/project/trac/trac.htpasswd" > password_store = SvnServePasswordStore > > 3, upgrade the trac and the log said the plugin had been set up . > 4, restart the Appache service > > but after above operations , I receive > " > Oops… > Trac detected an internal error: > AttributeError: 'Session' object has no attribute 'authenticated' > " > when I open the website. I'm not a phthon develop. Maybe someone can > tell me what's the problem. > I need your help .. thanks . > > Rawu [EMAIL PROTECTED] >
AFAIK, AccountManagerPlugin from trunk is meant to be used with Trac 0.11, whereas it sounds like you're using it in Trac 0.10.x (or an incomplete upgrade to 0.11), because I don't believe the Session.authenticated attribute exists before 0.11. If you're running Trac 0.10.x, use the appropriate version of the plugin. Erik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
