Opened 10 years ago

Closed 8 years ago

#2698 closed defect (fixed)

NewsFlash broken

Reported by: didley@… Owned by: James Mills
Priority: normal Component: SqlQueryMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


Hi again,

when I'm enable the SQLQueryMacro after this the NewsFlashMacro is broken. There is no format of my input. It's only text on my wiki page.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Ryan J Ollos

I have seen a similar issue previously with the FullBlogPlugin, and it was due to having the following method defined:

def get_htdocs_dirs(self):
    from pkg_resources import resource_filename
    return [("sqlquery", resource_filename(__name__, "htdocs"))]

, but not having an actual htdocs directory.

This seems to be the case here as well. I'd suggest making an empty htdocs dir and seeing if that fixes the issue.

comment:2 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [8485]) There is no htdocs dir, so the ITemplateProvider method should return nothing. Fixes #2698.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain James Mills.
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.