Modify

Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#21 closed defect (fixed)

Error on register new User

Reported by: dna Owned by: 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 (0)

Change History (5)

comment:1 Changed 9 years ago 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

comment:2 Changed 9 years ago 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

comment:3 Changed 9 years ago by dna

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

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

comment:4 Changed 9 years ago by mgood

  • 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)

comment:5 Changed 6 years ago by dlbrant

  • Description modified (diff)
  • Trac Release set to 0.10

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.