Modify ↓
#9551 closed defect (fixed)
Error: Macro TracJSGanttChart(sample=1) failed %d format: a number is required, not unicode
| Reported by: | Peter | Owned by: | Chris Nelson |
|---|---|---|---|
| Priority: | high | Component: | TracJsGanttPlugin |
| Severity: | blocker | Keywords: | |
| Cc: | Ryan J Ollos | Trac Release: | 0.12 |
Description
When I install the jsGantt plugin as described in the wiki and try the example
[[TracJSGanttChart(sample=1)]]
it results in the following error message:
Error: Macro TracJSGanttChart(sample=1) failed %d format: a number is required, not unicode
Here is my log trace:
DEBUG: Executing Wiki macro TracJSGanttChart by provider tracjsgantt.tracjsgantt.TracJSGanttChart object at 0x7f761c14dbd0>
ERROR: Macro TracJSGanttChart(sample=1) failed:
text += 'var '+self.GanttID+' = new JSGantt.GanttChart("'+self.GanttID+'",document.getElementById("GanttChartDIV_'+self.GanttID+'"), "%s", "%d");\n' % (javascript_quote(format), showdep)
Environment: debian6, Babel0.9.5, trac0.12.2
How can I fix this????
Peter
Attachments (0)
Change History (6)
comment:1 Changed 14 years ago by
| Priority: | normal → high |
|---|
comment:2 Changed 14 years ago by
| Status: | new → assigned |
|---|
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
thanks, it works now..
comment:5 Changed 14 years ago by
| Cc: | Ryan J Ollos added; anonymous removed |
|---|
Note: See
TracTickets for help on using
tickets.



(In [10928]) Don't try to use %d for a string. Refs #9551.