Modify

Opened 10 days ago

Closed 9 days ago

#19461 closed defect (irreproducible)

unable to login

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc:

Description

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 701, in send_error
    add_stylesheet(self, 'common/css/code.css')
  File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 152, in add_stylesheet
    href = chrome_resource_path(req, filename)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 367, in chrome_resource_path
    elif filename.startswith('common/') and 'htdocs_location' in req.chrome:
  File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 491, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 800, in prepare_request
    if req.locale is not None and str(req.locale) != 'en_US':
  File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 491, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 367, in _get_locale
    preferred = req.session.get('language')
  File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 491, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 356, in _get_session
    return Session(self.env, req)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/session.py", line 243, in __init__
    if req.authname == 'anonymous':
  File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 491, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 172, in authenticate
    authname = authenticator.authenticate(req)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/util.py", line 81, in wrap
    return func(self, *args, **kwds)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/web_ui.py", line 457, in authenticate
    username = self._remote_user(req)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/web_ui.py", line 764, in _remote_user
    if acctmgr.check_password(username, password) is True:
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/api.py", line 288, in check_password
    valid = store.check_password(user, password)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/htfile.py", line 69, in check_password
    return self._check_userline(user, password, line)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/htfile.py", line 207, in _check_userline
    return suffix == htpasswd(password, suffix)
  File "/usr/local/lib/python2.7/dist-packages/acct_mgr/pwhash.py", line 140, in htpasswd
    available."""))
NotImplementedError: Neither are "sha2" hash algorithms supported by the
                    "crypt" module on this platform nor is "passlib"
                    available.

Attachments (0)

Change History (6)

comment:1 Changed 10 days ago by Stereo

Component: CoreTrac
Owner: changed from team to stoecker

comment:2 Changed 10 days ago by stoecker

Owner: changed from stoecker to anonymous
Status: newneedinfo

I created a new account and had no trouble to login. What did you do to get this error?

comment:3 Changed 10 days ago by stoecker

I assume this is a wrong error and you used wrong password. Please retry and I installed a component which should change the error message.

comment:4 Changed 9 days ago by anonymous

My password is passwordstore generated: 30 random char including special ones.
Now it says: Invalid username or password

comment:5 Changed 9 days ago by sergio

I press forgot my password, login with a recovered, and set again the 30 char that was before.
All works fine now!

comment:6 Changed 9 days ago by stoecker

Resolution: irreproducible
Status: needinfoclosed

Probably one of the components did shorten the password and now another code path was used and this one work correct. But testing and reporting this hasn't so much sense ATM, as the Trac account manager plugin is not under active development currently.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.