Modify ↓
Opened 15 years ago
Closed 15 years ago
#7147 closed defect (duplicate)
AttributeError: 'TracError' object has no attribute 'acctmgr' - raised when registering new account
| Reported by: | Owned by: | Matt Good | |
|---|---|---|---|
| Priority: | normal | Component: | AccountManagerPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
AccountManagerPlugin: trunk-r7966
When use "HtPasswdStore" and not correctly set permission of the password file and its parent directory, _create_user will pass a TracError without an "acctmgr" attribute, which is raised in _update_file(htfile.py:96).
The patch in attachment will ensure _create_user catches any TracError and adds an "acctmgr" attribute.
Attachments (1)
Change History (5)
Changed 15 years ago by
| Attachment: | web_ui.diff added |
|---|
comment:1 Changed 15 years ago by
| Trac Release: | 0.11 → 0.12 |
|---|
comment:2 Changed 15 years ago by
| Summary: | Register a new account may cause "AttributeError: 'TracError' object has no attribute 'acctmgr' " → AttributeError: 'TracError' object has no attribute 'acctmgr' - raised when registering new account |
|---|
#7063 is related, but has less information regarding the exact situation, when the error is raised.
comment:4 Changed 15 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



patch against web_ui.py