Opened 12 years ago

Closed 9 years ago

#9514 closed defect (duplicate)

Error: Macro TracJSGanttChart(sample=1) failed

Reported by: kostanos@… Owned by: malsmith
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


I installed the plugin, and got this error in the place of inserting sample and any other gantt


Error message:

Error: Macro TracJSGanttChart(sample=1) failed
%d format: a number is required, not unicode

I found the similar but different issue: #9124

Here is my log trace:

2011-11-02 17:22:26,205 Trac[formatter] ERROR: Macro TracJSGanttChart(sample=1) failed:
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/", line 717, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/", line 304, in process
    text = self.processor(text)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/", line 291, in _macro_processor
  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.9_r10837-py2.6.egg/tracjsgantt/", line 1109, in expand_macro
    chart += self._begin_gantt(options)
  File "/usr/local/lib/python2.6/dist-packages/Trac_jsGantt-0.9_r10837-py2.6.egg/tracjsgantt/", line 234, in _begin_gantt
    (javascript_quote(format), showdep)
TypeError: %d format: a number is required, not unicode

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Ryan J Ollos

Component: GanttChartPluginTracJsGanttPlugin

comment:2 Changed 9 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of #9551.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain malsmith.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.