Modify

Opened 19 years ago

Closed 19 years ago

#250 closed defect (fixed)

Exception while registering an account

Reported by: czhang.web+trachacks@… Owned by: Alec Thomas
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: Trac Release:

Description

Steps to re-produce:

  1. Go to register page.
  2. Click "Create account" button with or without any filled fields, and you will get exception as:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 283, in dispatch_request
        dispatcher.dispatch(req)
      File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 170, in dispatch
        resp = chosen_handler.process_request(req)
      File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 117, in process_request
      File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 124, in _do_create
      File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 85, in has_user
      File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 41, in has_user
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 0: ordinal not in range(128)
    

Attachments (0)

Change History (1)

comment:1 Changed 19 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

This should work now. There was a user in the htpasswd file with some unicode characters. Ideally though, AccountManagerPlugin would handle unicode account names correctly. #229 was retasked for this purpose.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.