[Patch] No get_htdocs_dirs method defined
|Reported by:||Ryan J Ollos||Owned by:||Robert Corsaro|
It seems to be required that a
get_htdocs_dirs method is defined, even if there is not an
htdocs directory. I've seen this error with other plugins as well. The error message I was receiving is listed below. The patch is attached.
08:39:05 PM Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/home/rjollos/workspace/trac011xdev/0.11-stable/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/home/rjollos/workspace/trac011xdev/0.11-stable/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/home/rjollos/workspace/trac011xdev/0.11-stable/trac/web/chrome.py", line 398, in process_request in provider.get_htdocs_dirs() if dir == prefix]: AttributeError: 'BlogSubscriber' object has no attribute 'get_htdocs_dirs' 08:39:05 PM Trac[chrome] DEBUG: Prepare chrome data for request