Discussion:
[Agilo for Trac] TypeError: <lambda>() got multiple values for keyword argument 'type'
Greger Sernemar
2012-10-29 08:22:03 UTC
Permalink
I got this all of a sudden after creating Recuriments references UserStory
referensing tickets.
When I click edit on every userstrory I get this, but recurimennts and
tickets works fine to edit.

Python Traceback:
Most recent call last:
File
"/usr/lib/python2.5/site-packages/binary_agilo-1.3.8_PRO-py2.5.egg/agilo/ticket/links/templates/agilo_links_edit.html",
line 65, in <Expression u'href.newticket(type=item.dest_type,
src=ticket.id, **copied_fields)'>

60 <th class="col1">Associate New:</th>
61 <td class="fullrow" colspan="3">
62 <ul class="references" py:for="item in create_referenced"
63 py:with="keys = item.get_option('copy');
64 copied_fields = dict(zip(map(str, keys), [ticket[key] for key in
keys]))">
65 <li><a href="${href.newticket(type=item.dest_type, src=ticket.id,
**copied_fields)}">Create a new referenced
'${ticket.get_alias(item.dest_type)}'</a></li>
66 </ul>
67 </td>
68 </tr>
69 <tr><td colspan="4"><hr/></td></tr>
70 </div>

Trac 0.12.5dev-r11419
Agilo 1.3.8-PRO
Genshi 0.6 (without speedups)
pysqlite 2.3.4
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929
(prerelease) (Ubuntu 4.1.2-16ubuntu2)]
setuptools 0.6c6
SQLite 3.4.2
Subversion 1.4.4 (r25188)
jQuery 1.4.4
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Greger Sernemar
2012-10-29 11:48:02 UTC
Permalink
I solved it, it was the trac.ini that missed some value for [agilo-links]
I copied the missing items from a trac.ini that was working!
/Greger
Post by Greger Sernemar
I got this all of a sudden after creating Recuriments references UserStory
referensing tickets.
When I click edit on every userstrory I get this, but recurimennts and
tickets works fine to edit.
File
"/usr/lib/python2.5/site-packages/binary_agilo-1.3.8_PRO-py2.5.egg/agilo/ticket/links/templates/agilo_links_edit.html",
line 65, in <Expression u'href.newticket(type=item.dest_type, src=
ticket.id, **copied_fields)'>
60 <th class="col1">Associate New:</th>
61 <td class="fullrow" colspan="3">
62 <ul class="references" py:for="item in create_referenced"
63 py:with="keys = item.get_option('copy');
64 copied_fields = dict(zip(map(str, keys), [ticket[key] for key in
keys]))">
65 <li><a href="${href.newticket(type=item.dest_type, src=ticket.id,
**copied_fields)}">Create a new referenced
'${ticket.get_alias(item.dest_type)}'</a></li>
66 </ul>
67 </td>
68 </tr>
69 <tr><td colspan="4"><hr/></td></tr>
70 </div>
Trac 0.12.5dev-r11419
Agilo 1.3.8-PRO
Genshi 0.6 (without speedups)
pysqlite 2.3.4
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929
(prerelease) (Ubuntu 4.1.2-16ubuntu2)]
setuptools 0.6c6
SQLite 3.4.2
Subversion 1.4.4 (r25188)
jQuery 1.4.4
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Loading...