Opened 9 years ago

Closed 6 years ago

#2698 closed defect (fixed)

NewsFlash broken

Reported by: didley@… Owned by: JamesMills
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 7 years ago by rjollos

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 6 years ago by rjollos

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

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

Add Comment

Modify Ticket

as closed The owner will remain JamesMills.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.