I'd like to track released builds (for internal testing / sent to customers
/ etc) with a simple table, and input to that table with a Trac Form using
TracFormsPlugin. However, I am at a total loss to actually get this done.
Here is what I have so far, though it is sadly incomplete:
{{{
#!TracForm
#! submit_label "Add build"
#! track_fields
|| '''Date''' || '''config''' || '''zipfile with set of build''' || '''sent
to x for y (use)''' || '''SVN label or rev''' || '''Comments''' ||
|| [tf.input:Date] || [tf.input:config] || [tf.input:file] ||
[tf.input:usage] || [tf.input:rev] ||[tf.input:comment] ||
last input:
by [tf.form_updater:]
on [tf.form_updated_on:]
}}}
I get the form I want, but when I use "Add build" with data, I get an
error, listed blow. Additionally, I don't believe what I've set up will
actually add rows to the table, and grow the release list, merely provide a
static text input row. I'm stuck, though. Any help or comments?
*Trac detected an internal error:*
FormTooManyValuesError: ERROR: Too many values for TracForms form variable
'checklist' (maybe the same field is being used multiple times?)
Python Traceback
Most recent call last:
File
"/opt/bitnami/.tmp/Trac-1.0.1-py2.7.egg-tmp/trac/wiki/templates/wiki_view.html",
line 49, in <Expression u'wiki_to_html(context, text)'>
<div id="wikipage" class="trac-content" py:content="wiki_to_html(context,
text)" />
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1546, in
format_to_html
return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1501, in
generate
escape_newlines)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1244, in format
self.handle_code_block(line, block_start_match)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1134, in
handle_code_block
processed = self.code_processor.process(code_text)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 356, in process
text = self.processor(text)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 343, in
_macro_processor
text)
File "build/bdist.linux-x86_64/egg/tracforms/macros.py", line 48, in
expand_macro
return processor.execute()
File "build/bdist.linux-x86_64/egg/tracforms/macros.py", line 154, in execute
text = tfRE.sub(self.process, text)
File "build/bdist.linux-x86_64/egg/tracforms/macros.py", line 403, in process
raise FormTooManyValuesError(str(op))
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.