Matt Cole wrote
> 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))
> 
> 
> 
> _______________________________________________
> th-users mailing list

> th-users@.trac-hacks

> https://lists.trac-hacks.org/mailman/listinfo/th-users


For help on a specific plugin, it is recommended that you post to
trac-users. You'll reach a much larger audience there.

http://trac.edgewall.org/wiki/MailingList



--
View this message in context: 
http://th-users.32086.n3.nabble.com/TracFormsPlugin-tp4024738p4024739.html
Sent from the th-users mailing list archive at Nabble.com.
_______________________________________________
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users

Reply via email to