Modify

Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#21 closed defect (fixed)

Error on register new User

Reported by: dna Owned by: Matt Good
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 19 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 19 years ago by Alec Thomas

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 19 years ago by dna

Resolution: fixed
Status: newclosed

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 19 years ago by Matt Good

Resolution: 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 16 years ago by dlbrant

Description: modified (diff)
Trac Release: 0.10

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
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.