Modify

Opened 7 years ago

Closed 7 years ago

#6629 closed defect (fixed)

[Patch] No get_htdocs_dirs method defined

Reported by: Ryan J Ollos Owned by: Robert Corsaro
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 Ryan J Ollos 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Ryan J Ollos

Attachment: fullblogannouncements.patch added

comment:1 Changed 7 years ago by Robert Corsaro

Resolution: fixed
Status: newclosed

(In [7597]) adds unimplemented ITemplate provider method

fixes #6629

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.