Login error for multi project setup
|Reported by:||shawn||Owned by:||mgood|
I have 2 trac environment setup. First one is the production one and the second is for testing. When I update Trac to 0.10dev, I started to get errors when logging in. I then updated the AccountMananager to the right version for Trac 0.10dev. However, I still get an error. From close examination, it looks like AccountManager is looking in my test project for authentication when I'm actually trying to log into the production one. Check the following error:
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team. Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below. TracGuide — The Trac User and Administration Guide Python Traceback Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch req.authname = self.authenticate(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 145, in authenticate authname = authenticator.authenticate(req) File "/oci/trac/test/plugins/TracAccountManager-0.1.2.egg/acct_mgr/web_ui.py", line 160, in wrap File "/oci/trac/test/plugins/TracAccountManager-0.1.2.egg/acct_mgr/web_ui.py", line 167, in authenticate File "/oci/trac/test/plugins/TracAccountManager-0.1.2.egg/acct_mgr/web_ui.py", line 189, in _remote_user File "/oci/trac/test/plugins/TracAccountManager-0.1.2.egg/acct_mgr/api.py", line 94, in check_password File "/oci/trac/test/plugins/TracAccountManager-0.1.2.egg/acct_mgr/api.py", line 105, in password_store TracError: No password store found. Please configure "account-manager.password_format" in trac.ini.
Notice it the line containing "/oci/trac/test/plugins/TracAccountManager...". It should really be pointing to "/oci/trac/prod/plugins/TracAccountManager...".
Maybe there's a configuration that I need to set, but I can't seem to find it anywhere.
Change History (5)
comment:1 Changed 10 years ago by coderanger
- Component changed from TracHacks to AccountManagerPlugin
- Owner changed from athomas to matt_good
comment:3 follow-up: ↓ 4 Changed 10 years ago by shawn
- Resolution set to fixed
- Status changed from new to closed
comment:4 in reply to: ↑ 3 Changed 10 years ago by mgood
- Resolution fixed deleted
- Status changed from closed to reopened