Opened 5 years ago
Closed 5 years 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 by , 5 years ago
| Component: | Core → Trac |
|---|---|
| Owner: | changed from to |
comment:2 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 5 years ago
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 by , 5 years ago
My password is passwordstore generated: 30 random char including special ones.
Now it says: Invalid username or password
comment:5 by , 5 years ago
I press forgot my password, login with a recovered, and set again the 30 char that was before.
All works fine now!
comment:6 by , 5 years ago
| Resolution: | → irreproducible |
|---|---|
| Status: | needinfo → closed |
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.



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