Ticket #6629 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[Patch] No get_htdocs_dirs method defined

Reported by: rjollos Assigned to: doki_pen
Priority: normal Component: FullBlogAnnouncementsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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[0] == prefix]:
AttributeError: 'BlogSubscriber' object has no attribute 'get_htdocs_dirs'
08:39:05 PM Trac[chrome] DEBUG: Prepare chrome data for request

Attachments

fullblogannouncements.patch (499 bytes) - added by rjollos on 02/15/10 05:53:46.

Change History

02/15/10 05:53:46 changed by rjollos

  • attachment fullblogannouncements.patch added.

02/15/10 14:26:39 changed by doki_pen

  • status changed from new to closed.
  • resolution set to fixed.

(In [7597]) adds unimplemented ITemplate provider method

fixes #6629


Add/Change #6629 ([Patch] No get_htdocs_dirs method defined)




Change Properties
Action