Opened 12 years ago

Closed 12 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:


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/", line 283, in dispatch_request
      File "/usr/lib/python2.4/site-packages/trac/web/", line 170, in dispatch
        resp = chosen_handler.process_request(req)
      File "build/bdist.linux-i686/egg/acct_mgr/", line 117, in process_request
      File "build/bdist.linux-i686/egg/acct_mgr/", line 124, in _do_create
      File "build/bdist.linux-i686/egg/acct_mgr/", line 85, in has_user
      File "build/bdist.linux-i686/egg/acct_mgr/", 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 12 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
as closed The owner will remain Alec Thomas.
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.