Opened 18 years ago
Closed 17 years ago
#4551 closed defect (worksforme)
Problem in access section plugins in webadmin.
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/web | Version: | 0.10.3 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Problem in access section plugins in webadmin.
Python Traceback
Traceback (most recent call last): File "C:\Python23\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "C:\Python23\Lib\site-packages\trac\web\main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "c:\python23\lib\site-packages\TracWebAdmin-0.1.1dev_r2765-py2.3.egg\webadmin\web_ui.py", line 106, in process_request path_info) File "c:\python23\lib\site-packages\TracWebAdmin-0.1.1dev_r2765-py2.3.egg\webadmin\plugin.py", line 76, in process_admin_request self._render_view(req) File "c:\python23\lib\site-packages\TracWebAdmin-0.1.1dev_r2765-py2.3.egg\webadmin\plugin.py", line 157, in _render_view if os.path.realpath(os.path.dirname(dist.location)) == plugins_dir: AttributeError: 'NoneType' object has no attribute 'location'
Attachments (0)
Change History (5)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added |
comment:2 by , 18 years ago
I was getting the same error today (on 10.0) and it seemed to be caused by a py file in the plugins directory.
If the plugins directory was empty - Webadmin\Plugins worked fine If there was a folder with an init.py - it worked fine If there was a py in the root of plugins - then I got this problem.
comment:3 by , 18 years ago
Actually not sure if the middle of my comments above is correct (directory with init.py file) - though this is on a production server and I can't keep restarting the server to check again.
comment:4 by , 17 years ago
Did you upgrade WebAdmin to the newer version? If so, did that fix your issue?
comment:5 by , 17 years ago
Milestone: | not applicable |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
If you're indeed using Trac 0.10.3, r2765 is too old to work. Check the table of versions on WebAdmin and make sure you're using the proper one.