Modify

Opened 7 years ago

Closed 7 years ago

#7122 closed defect (fixed)

ERROR: text/x-trac-wiki

Reported by: Stefan Simroth Owned by: Ryan J Ollos
Priority: normal Component: GanttChartPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I am receiving this error on every wiki page request:

Trac[build\bdist.win32\egg\gantt\gantt] ERROR: text/x-trac-wiki

It doesn't hinder the plugin from working, but indicates some issue?

Another line I get when I actually use the macro is:

Trac[formatter] WARNING:
Executing pre-0.11 Wiki macro gantt by provider <gantt.gantt.GanttMacro object at 0x1bdce90>

Maybe this is related?

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Stefan Simroth

Owner: changed from malsmith to Stefan Simroth
Status: newassigned

Digging a bit through the source code, I found the log statement in line 373:

    MIME_TYPES = ('application/gantt')

    # IHTMLPreviewRenderer methods
    
    def get_quality_ratio(self, mimetype):
        self.log.error(mimetype)
        if mimetype in self.MIME_TYPES:
            return 2
        return 0

Looking at the API doc for get_quality_ratio, it should "return the level of support this renderer provides for the content of the specified MIME type. The return value must be a number between 0 and 9, where 0 means no support and 9 means "perfect" support."

So, I just think this error log statement is misplaced there and I'll remove it.

comment:2 Changed 7 years ago by Stefan Simroth

See also #7129

comment:3 Changed 7 years ago by Ryan J Ollos

Owner: changed from Stefan Simroth to Ryan J Ollos
Status: assignednew

Fixed in #7129.

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.