Opened 4 years ago
Closed 4 years ago
#21718 closed defect (worksforme)
AttributeError: 'NoneType' object has no attribute 'groups'
| Reported by: | Jaeger52 | Owned by: | stoecker |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trac | Version: | |
| Keywords: | Cc: |
Description
How to Reproduce
While doing a POST operation on /register, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{u'__FORM_TOKEN': u'...',
u'action': u'create',
u'captcha_response': u'...',
u'email': u'...',
u'name': u'...',
u'password': u'...',
u'password_confirm': u'...',
u'sentinel': u'',
u'sfp_email': u'',
u'sfph_mail': u'',
u'spf_homepage': u'',
u'username': u'...'}
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
System Information
Systeminformation nicht verfügbar
Enabled Plugins
Plugininformation nicht verfügbar
Interface Customization
Interface customization information not available
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 623, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 239, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/register.py", line 428, in process_request
acctmgr.validate_account(req, True)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/api.py", line 380, in validate_account
self._create_user(req)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/api.py", line 403, in _create_user
overwrite=False)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/api.py", line 264, in set_password
overwrite)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/htfile.py", line 48, in set_password
self.userline(user, password),
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/htfile.py", line 204, in userline
return self.prefix(user) + mkhtpasswd(password, self.hash_type)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/pwhash.py", line 156, in mkhtpasswd
return htpasswd(password, salt_)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/pwhash.py", line 125, in htpasswd
rounds, salt = from_hash(hash)
File "/usr/local/lib/python2.7/dist-packages/acct_mgr/pwhash.py", line 109, in from_hash
groups = match.groups()
AttributeError: 'NoneType' object has no attribute 'groups'
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
| Component: | Core → Trac |
|---|---|
| Owner: | changed from to |
comment:3 by , 4 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
I could login with the username and password you supplied with this ticket (You shouldn't do that! Personal data should always be stripped!). This error looks like you tried to send login information a second time somehow for the already registered account. I'd suggest to clear your browser cache and simply retry login (not registration!).



Ich habe mich versucht anzumelden, leider gelang dies mehrfach nicht