Opened 8 years ago

Closed 8 years ago

#250 closed defect (fixed)

Exception while registering an account

Reported by: czhang.web@… Owned by: athomas
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 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.