Modify ↓
Opened 11 years ago
#11439 new defect
plugin does not handle multi-keys
Reported by: | dczech | Owned by: | ejucovy |
---|---|---|---|
Priority: | normal | Component: | GitolitePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
When I added secondary key for the user as described in http://gitolite.com/gitolite/users.html#multi-key (new style multi keys in different subdirectories)
I got an error:
Trac detected an internal error: AssertionError: Node laptop
in users:
Python traceback Most recent call last: File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 522, in _dispatch_request File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 264, in dispatch File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 876, in render_template File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 183, in render File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 58, in encode File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 339, in __call__ File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 826, in __call__ File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 670, in __call__ File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 771, in __call__ File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 586, in __call__ File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 990, in _strip_accesskeys File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 979, in _generate File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 605, in _include File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 378, in _match File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 378, in _match File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 378, in _match File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 327, in _match File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 545, in _flatten File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/genshi/path.py", line 588, in _generate File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 605, in _include File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 316, in _strip File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 545, in _flatten File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/genshi/path.py", line 588, in _generate File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 605, in _include File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 316, in _strip File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 545, in _flatten File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 288, in _ensure File "/usr/lib/python2.7/dist-packages/genshi/path.py", line 588, in _generate File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 605, in _include File "/usr/lib/python2.7/dist-packages/genshi/template/markup.py", line 316, in _strip File "/usr/lib/python2.7/dist-packages/genshi/template/base.py", line 545, in _flatten File "/usr/lib/python2.7/dist-packages/genshi/template/directives.py", line 366, in __call__ File "/usr/local/lib/python2.7/dist-packages/trac_GitolitePlugin-0.3.1-py2.7.egg/trac_gitolite/user_manager.py", line 26, in get_users
and permissions
File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 522, in _dispatch_request File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 243, in dispatch File "/usr/lib/python2.7/dist-packages/trac/admin/web_ui.py", line 117, in process_request File "/usr/local/lib/python2.7/dist-packages/trac_GitolitePlugin-0.3.1-py2.7.egg/trac_gitolite/perm_manager.py", line 104, in render_admin_panel File "/usr/local/lib/python2.7/dist-packages/trac_GitolitePlugin-0.3.1-py2.7.egg/trac_gitolite/perm_manager.py", line 33, in get_users
Attachments (0)
Note: See
TracTickets for help on using
tickets.