On 2011-09-28 at 22:52:58, Danny Sauer wrote:
>> I have the following setup: Trac: 0.11.7 Python: 2.5.5 (r255:77872,
>> Jun 3 2010, 14:43:28) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
>> setuptools: 0.6c11 SQLite: 3.6.23 pysqlite: 2.3.2 Genshi: 0.5.1
>> mod_wsgi: 3.1 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> Pygments: 1.3.1 Subversion: 1.6.11 (r934486) RPC: 1.1.0-r7971
>> jQuery: 1.2.6
>>
>> The issue is that I'm getting the error: Macro
>> TracJSGanttChart(milestone=Complete Research Instrument) failed
>> strftime() argument 1 must be str, not unicode
>
> I've gotten this before, and I seem to recall that it was caused by
> tickets which were missing one of the fields this plugin is configured
> to use. If you, for example, have any tickets which were created
> before you added a start date custom field, you'll need to go back
> through and add the fields to old tickets. This plugin doesn't deal
> well with missing fields.
I try to but don't always catch them all. I hadn't considered the
origin of the missing fields. That is interesting.
> That fix, BTW, is easy to do with the batchmodify plugin. You search
> for fields where start or end are empty, and then use batchmodify to
> set both fields to an empty value. That adds the fields into the
> tickets. There's also a way to do it with an sqlite query, documented
> on the page that explains custom fields. IIRC.
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.