Opened 18 years ago
Closed 18 years ago
#748 closed defect (worksforme)
version conflict error with trac 0.10
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
when following the instructions to install from svn for trac 0.10, I receive this error message:
2006-09-29 17:01:06,588 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 17:01:06,891 Trac[main] ERROR: Authentication information not available. Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in process_request self._do_login(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in _do_login assert req.remote_user, 'Authentication information not available.' AssertionError: Authentication information not available.
Attachments (0)
Change History (9)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 18 years ago by
yes. i had to use http-auth in order to be able to login. in trac.ini i have:
[components] acct_mgr.api.accountmanager = enabled acct_mgr.htfile.htpasswdstore = enabled acct_mgr.web_ui.accountmodule = enabled acct_mgr.web_ui.loginmodule = enabled acct_mgr.web_ui.registrationmodule = enabled webadmin.* = enabled [account-manager] password_file = /var/trac/.htpasswd password_format = htpasswd password_store = HtPasswdStore
the registration page appears, but the account manager does not appear in the admin tab.
comment:4 Changed 18 years ago by
Is your goal to use HTTP authentication or the form-based login system provided by AccountManager?
comment:5 Changed 18 years ago by
i want to use the form-based login. using http auth was just a temp solution to keep us going.
comment:6 Changed 18 years ago by
Then you have to disable the built-in login module like so
trac.web.auth.LoginModule = disabled
comment:7 follow-up: 9 Changed 18 years ago by
when i do that, i get this group of errors:
{{{2006-09-29 18:13:14,448 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 18:13:14,837 Trac[main] WARNING: 404 Not Found (No handler matched request to /login) 2006-09-29 18:13:15,224 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 18:13:15,936 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 18:13:16,641 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 18:13:16,645 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))") 2006-09-29 18:13:17,329 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))")}}}
and the trac/login page displays:
No handler matched request to /login
i then went in and deleted /usr/lib/python2.3/site-packages/TracAccountManager*. that seems to have fixed it.
comment:8 Changed 18 years ago by
Make sure you follow the instructions here for installing plugins.
comment:9 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Replying to anonymous:
when i do that, i get this group of errors:
2006-09-29 18:13:14,448 Trac[loader] ERROR: Skipping "TracAccountManager 0.1.2" (version conflict: "(TracAccountManager 0.1.2dev-r1291 (/usr/lib/python2.3/site-packages/TracAccountManager-0.1.2dev_r1291-py2.3.egg), Requirement.parse('TracAccountManager==0.1.2'))")
i then went in and deleted /usr/lib/python2.3/site-packages/TracAccountManager*. that seems to have fixed it.
Yeah, it appears you installed two different versions of the plugin which was causing problems. It sounds like you've got this working, so I'm closing the ticket.
Fixing formatting