Ticket #21 (closed defect: fixed)

Opened 3 years ago

Last modified 4 months ago

Error on register new User

Reported by: dna Assigned to: mgood
Priority: highest Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (Last modified by dlbrant)

Hi, i've tried out your plugin. but when register a new user i get the following error:

10:40:00 Trac[main] ERROR: has_user
10:40:00 Trac[main] ERROR: Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 265, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 424, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 284, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 114, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 121, in _do_create
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 153, in __getattr__
    raise AttributeError, name
AttributeError: has_user

Trac r2010, Apache2, mod_python.

another question: how to set the position of the "register tab" between login/logout and setting ? on my installation its on the end.

Attachments

Change History

07/20/05 03:58:38 changed by dna

same problem with changing the password:

10:57:59 Trac[main] ERROR: set_password
10:57:59 Trac[main] ERROR: Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 265, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 424, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 284, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 48, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 64, in _do_change_password
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 153, in __getattr__
    raise AttributeError, name
AttributeError: set_password

07/20/05 06:32:42 changed by athomas

The position of main navigation elements can be defined with the following entry in trac.ini:

[trac]
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search

07/20/05 09:56:24 changed by dna

  • status changed from new to closed.
  • resolution set to fixed.

ok it was a typo in the README file.

[account-manager]
password_format = htpassd
password_file = /path/to/trac.htpasswd

should be:

[account-manager]
password_format = htpasswd
password_file = /path/to/trac.htpasswd

07/20/05 09:57:58 changed by mgood

  • status changed from closed to closed.
  • resolution set to fixed.

(In [77])

  • Fix the spelling of "htpasswd" in the README
  • Display an appropriate error message if there isn't a matching IPasswordStore implementation (fixes #21)

08/12/08 20:51:05 changed by dlbrant

  • release set to 0.10.
  • description changed.

Add/Change #21 (Error on register new User)




Change Properties
Action