Modify

Opened 12 years ago

Closed 12 years ago

#9559 closed defect (invalid)

day is out of range for month

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.

Attachments (0)

Change History (4)

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)

comment:3 in reply to:  description Changed 12 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 12 years ago by Chris Nelson

Resolution: invalid
Status: newclosed

Not sure what this was about.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Chris Nelson.
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.