Changes between Version 4 and Version 7 of Ticket #8859


Ignore:
Timestamp:
Jul 9, 2011, 3:32:18 AM (13 years ago)
Author:
Ryan J Ollos
Comment:

I've found that the plugin doesn't work when date_format is set to anything other than the default date_format = %Y-%m-%d. I'll attach a patch for this issue.

Ticket reporter: What date_format are you using?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8859 – Description

    v4 v7  
    11Running trac 0.12 with the latest version of the TracJsGanttPlugin (installed using easy_install this morning).  Regardless of whether any other coordinating plugins are installed or not (such as mastertickets, subtickets, timingandestimation), I cannot make a gantt chart display from a very simple existing milestone in Trac (10 tickets, 2 closed, backend repository is Mercurial). 
    22
    3 Currently, only tracjsgantt.* is enabled in my trac.ini file, and no [trac-jsgantt] section is defined (all commented out) - see Debug output below.  If I try adding back certain fields (as outlined on the TracJSGanttPlugin wiki page), I get different, but similar, errors - issues like:
     3Currently, only `tracjsgantt.*` is enabled in my `trac.ini` file, and no `[trac-jsgantt]` section is defined (all commented out) - see Debug output below.  If I try adding back certain fields (as outlined on the TracJSGanttPlugin wiki page), I get different, but similar, errors - issues like:
    44
    5 TypeError: strptime() argument 1 must be string, not int.
     5`TypeError: strptime() argument 1 must be string, not int.`
    66
    77and
    88
    9 KeyError: u'userstart'
     9`KeyError: u'userstart'`
    1010
    11 I'm just trying to display a gantt chart, nothing fancy (yet).  Looking through the other active tickets there appears to be some question whether this plugin works with Trac 0.12.  Is that accurate?
     11I'm just trying to display a Gantt chart, nothing fancy (yet).  Looking through the other active tickets there appears to be some question whether this plugin works with Trac 0.12.  Is that accurate?
    1212
    1313From the trac.log file in DEBUG Mode: