Modify

Opened 3 years ago

Closed 3 years ago

#9559 closed defect (invalid)

day is out of range for month

Reported by: gilemon Owned by: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: rjollos Trac Release: 0.11

Description (last modified by rjollos)

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.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by ChrisNelson

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

comment:2 Changed 3 years ago by rjollos

  • Cc rjollos added
  • Description modified (diff)

comment:3 in reply to: ↑ description Changed 3 years ago by anonymous

Replying to gilemon:

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

''Error: Macro TracJSGanttChart(None) failed
...

Any idea what's happening here?

Why do you expect that do to anything? None isn't meaningful there. You need to specify some selection criteria like milestone=MyProject or id=123|125|231 or something.

comment:4 Changed 3 years ago by ChrisNelson

  • Resolution set to invalid
  • Status changed from new to closed

Not sure what this was about.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.