id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 8289,"ini fields seem to be ""hard coded"" and/or unicode issues",Jay,Chris Nelson,"First off, awesome plugin. this combined with your ValuePropagationPlugin will make some of my things a lot more viable in Trac. However, I am encountering some issues with this one. I was hoping to use a couple of the configurable options. Specifically ""percent"" and ""parent"" however, I have found they only work when the field they are configured to, match the option's expected (with the exception of percent, which just won't work for me). the first one seems more like a unicode issue the second one actually errors out down the line on the 'level' request. i.e:[[BR]] fields.percent= pct_complete[[BR]] ''#gives an error ''[[BR]] fields.percent = percent [[BR]] ''# still fails ''[[BR]] fields.parent = parent[[BR]] ''#gives and error''[[BR]] fields.parent = parent'''s'''[[BR]] ''#'''works''', if I change my parent field to parent'''s''' instead of parent, which breaks my child-tickets usage.'' (an upgrade to subtickets with the child-tickets patches will adresss that issue, however...)[[BR]] it's as if the configured field is not actually passing the valued it is configured to, but if it is present, it's looking it up based on a predetermined value. I am on 0.12 which might have something to do with it. trace after the break ---- {{{ #percent error: 2010-12-08 10:31:57,289 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=PM tools) failed: Traceback (most recent call last): File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 710, in _macro_formatter return macro.process(args, in_paragraph=True) File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 304, in process text = self.processor(text) File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 291, in _macro_processor text) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 508, in expand_macro tasks = self._add_tasks(options) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 488, in _add_tasks tasks += self._format_ticket(ticket, options) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 445, in _format_ticket task += '%d,' % int(t[self.fields['percent']]) KeyError: u'pct_complete' }}} ---- {{{ #parent error 2010-12-08 10:44:39,180 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=PM tools) failed: Traceback (most recent call last): File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 710, in _macro_formatter return macro.process(args, in_paragraph=True) File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 304, in process text = self.processor(text) File ""C:\usr\bin\Python26\lib\site-packages\trac\wiki\formatter.py"", line 291, in _macro_processor text) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 508, in expand_macro tasks = self._add_tasks(options) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 488, in _add_tasks tasks += self._format_ticket(ticket, options) File ""build\bdist.win32\egg\tracjsgantt\tracjsgantt.py"", line 455, in _format_ticket if t['level'] < options['openLevel']: KeyError: 'level' }}}",defect,closed,normal,TracJsGanttPlugin,normal,fixed,,,0.11