Modify

Opened 14 months ago

Last modified 14 months ago

#22818 new defect

AttributeError: 'NoneType' object has no attribute 'groups'

Reported by: anonymous 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'26c8b0f84ae6f3327dc2dcd3',
 u'action': u'create',
 u'email': u'petertombor173@gmail.com',
 u'g-recaptcha-response': u'03AFY_a8X3kpYQzn93m9frEKPTWVHevQu9067VbQTl4tlTMve3Rs8eaNryKFrNbSfKsDmEOyyYRBwi6bz32u3HnlzfpLO-dj95U98oNMug1JDJne-qmKECSJ9fGbAtCGpAFvJUqhlmRQMD_WAnaINYUYJnVAnQA5vvW_2bNdDRadfcgPm3s_gJbbUBM6-B8qgCm0k6uujnMznp2kL0bQh2k5Kxn6-Xzz40m-3UavbRFAOfaHu3GOPBhNDy1wniDXFEBx47VujuZAVLjhc9VSNU-txfBZHqnlvbBcSGb1X1zGj3m-_G0fp4gulZzCv8KQ60y0Sh08AmG_1JdBUzbAGTCpaOtsqLCuOWYgfo7_x61d6IAb3jH-o58PAD6-TvWbAmwLdek5lZdk1Q8MNmFMhsgJv3iQvv3v8emfO7B_q-tZ-Rsp2lFtfLpMC-9zIjSP3ZklVjbYzxdsm_Fkr8X2lX2Xrl-9z8djazl5hcpOkxur4JZngiOiltVCKu_30G7olHQNCXGr1wm1eh7VzGYx-mrkeEynMMEEMmLyFvbd64paQxxljdt-4GfKa1CqNHOmJx8rrk7_LcRC8c6-kZ86yB0QSPwugEtBj_yy21mB3Ola9Ai4cothHowfFphkSWxkKKpURmYIGZ8eTz',
 u'name': u'',
 u'password': u'CheekiBreeki146',
 u'password_confirm': u'CheekiBreeki146',
 u'sentinel': u'',
 u'sfp_email': u'',
 u'sfph_mail': u'',
 u'spf_homepage': u'',
 u'username': u'Peti_Tombor'}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

System Information

Rendszerinformáció nem elérhető

Enabled Plugins

Bővítmény információ nem elérhető

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 (1)

comment:1 by skyper, 14 months ago

Component: CoreTrac
Owner: changed from team to stoecker

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain stoecker.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from stoecker to the specified user.
Next status will be 'needinfo'. The owner will be changed from stoecker to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from stoecker to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.