Modify

Opened 5 years ago

Closed 5 years ago

#6629 closed defect (fixed)

[Patch] No get_htdocs_dirs method defined

Reported by: rjollos Owned by: 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 (1)

fullblogannouncements.patch (499 bytes) - added by rjollos 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by rjollos

comment:1 Changed 5 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from new to closed

(In [7597]) adds unimplemented ITemplate provider method

fixes #6629

Add Comment

Modify Ticket

Action
as closed The owner will remain doki_pen.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.