Opened 12 years ago

Last modified 12 years ago

#9559 closed defect

day is out of range for month — at Version 2

Reported by: gilemon Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release: 0.11

Description (last modified by Ryan J Ollos)

After adding a ticket to my Trac installation I got this error message:

''Error: Macro TracJSGanttChart(None) failed

day is out of range for month''

My TracJSGanttChart version is :

''Trac-jsGantt==0.9-r10928''

This is what I have on the trac.log:

''
2011-11-27 00:34:43,410 Trac[formatter] ERROR: Macro TracJSGanttChart(None) failed: 
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.12.2-py2.4.egg/trac/wiki/formatter.py", line 717, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/usr/lib/python2.4/site-packages/Trac-0.12.2-py2.4.egg/trac/wiki/formatter.py", line 304, in process
    text = self.processor(text)
  File "/usr/lib/python2.4/site-packages/Trac-0.12.2-py2.4.egg/trac/wiki/formatter.py", line 291, in _macro_processor
    text)
  File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 1131, in expand_macro
  File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 1087, in _add_tasks
  File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 773, in _schedule_tasks
  File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 671, in _schedule_task_alap
  File "/usr/lib/python2.4/_strptime.py", line 425, in strptime
    julian = datetime_date(year, month, day).toordinal() - \
ValueError: day is out of range for month''

Any idea what's happening here?

Thanks in advance.

Change History (2)

comment:1 Changed 12 years ago by Chris Nelson

Why would you expected TracJSGanttChart(None) to work? There are no selection criteria to specify what tickets to display.

comment:2 Changed 12 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed
Description: modified (diff)
Note: See TracTickets for help on using tickets.