Magdalena Soyka
2016-11-24 11:19:50 UTC
I am trying to set up email2trac in our multi-project trac environment
which is working so far.
The only problem: email attachments are not being attached to tickets.
Executing email2trac with debug option reveals that attachments of mails
are being parsed and created in the tmp folder.
But the ticket itself has no attachment and the link in the description
points to an invalid/missing attachments.
But log shows an error related to agilo:
2016-11-23 11:54:37,150 email2trac 182: Traceback (most recent call last):
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 2905, in <module>
tktparser.parse(sys.stdin)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1814, in parse
self.parse_subject_field(m, subject, spam_msg)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1959, in parse_subject_field
self.new_ticket(m, subject, spam_msg)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1307, in new_ticket
self.id = tkt.insert()
2016-11-23 11:54:37,150 email2trac 182: File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/model.py", line 256, in insert
listener.ticket_created(self)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.14_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 41, in ticket_created
if not ticket.is_writeable_field(Key.SPRINT) or not ticket[Key.SPRINT]:
2016-11-23 11:54:37,151 email2trac 182: AttributeError: 'Ticket' object has no attribute 'is_writeable_field'
Any ideas on how to fix that?
Or does anybody else has experience with setting up agilo with email2trac?
Thank you
Magda
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/agilo
---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
which is working so far.
The only problem: email attachments are not being attached to tickets.
Executing email2trac with debug option reveals that attachments of mails
are being parsed and created in the tmp folder.
But the ticket itself has no attachment and the link in the description
points to an invalid/missing attachments.
But log shows an error related to agilo:
2016-11-23 11:54:37,150 email2trac 182: Traceback (most recent call last):
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 2905, in <module>
tktparser.parse(sys.stdin)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1814, in parse
self.parse_subject_field(m, subject, spam_msg)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1959, in parse_subject_field
self.new_ticket(m, subject, spam_msg)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/bin/email2trac", line 1307, in new_ticket
self.id = tkt.insert()
2016-11-23 11:54:37,150 email2trac 182: File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/model.py", line 256, in insert
listener.ticket_created(self)
2016-11-23 11:54:37,150 email2trac 182: File "/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.14_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 41, in ticket_created
if not ticket.is_writeable_field(Key.SPRINT) or not ticket[Key.SPRINT]:
2016-11-23 11:54:37,151 email2trac 182: AttributeError: 'Ticket' object has no attribute 'is_writeable_field'
Any ideas on how to fix that?
Or does anybody else has experience with setting up agilo with email2trac?
Thank you
Magda
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/agilo
---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.