Modify

Opened 8 years ago

Closed 8 years ago

#748 closed defect (worksforme)

version conflict error with trac 0.10

Reported by: jcoby@… Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by coderanger)

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 8 years ago by coderanger

  • Description modified (diff)

Fixing formatting

comment:2 Changed 8 years ago by coderanger

Are you trying to use the form-based logins?

comment:3 Changed 8 years ago by jcoby@…

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 8 years ago by coderanger

Is your goal to use HTTP authentication or the form-based login system provided by AccountManager?

comment:5 Changed 8 years ago by jcoby@…

i want to use the form-based login. using http auth was just a temp solution to keep us going.

comment:6 Changed 8 years ago by coderanger

Then you have to disable the built-in login module like so

trac.web.auth.LoginModule = disabled

comment:7 follow-up: Changed 8 years ago by 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'))")
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 8 years ago by coderanger

Make sure you follow the instructions here for installing plugins.

comment:9 in reply to: ↑ 7 Changed 8 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mgood. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.