Modify ↓
Opened 16 years ago
Closed 15 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 16 years ago by
| Owner: | changed from malsmith to Stefan Simroth |
|---|---|
| Status: | new → assigned |
comment:3 Changed 15 years ago by
| Owner: | changed from Stefan Simroth to Ryan J Ollos |
|---|---|
| Status: | assigned → new |
Fixed in #7129.
comment:4 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



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 0Looking at the API doc for get_quality_ratio, it should "return the level of support this renderer provides for the
contentof 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.