agilo + email2trac: Missing attachments

23 views
Skip to first unread message

Magdalena Soyka

unread,
Nov 24, 2016, 6:19:51 AM11/24/16
to Agilo for Trac
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
 
email2trac.log
trac.log
Message has been deleted

Magdalena Soyka

unread,
Nov 24, 2016, 6:22:19 AM11/24/16
to Agilo for Trac
We are using trac 1.0.1 on Ubuntu 12.04.5  with emailt2trac 2.9.0. and agilo 1.3.14.

Stefano Rago

unread,
Nov 28, 2016, 4:18:55 AM11/28/16
to ag...@googlegroups.com
hi Magda,

would you mind sharing the trac.ini file of your Agilo + email2trac environment? Please make sure that any sensitive information in that file is removed first.

cheers,

Stefano

--
--
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 ag...@googlegroups.com
To unsubscribe from this group, send an email to
agilo+un...@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+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<email2trac.log><trac.log>

Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany



Amtsgericht Charlottenburg: HRB 127146
CEO Marion Eickmann, Andrea Tomasini

Magdalena Soyka

unread,
Nov 28, 2016, 1:03:18 PM11/28/16
to Agilo for Trac
Hi Stefano,

sure. trac.ini attached!

Cheers
Magda
trac.ini

Stefano Rago

unread,
Nov 29, 2016, 5:01:26 AM11/29/16
to ag...@googlegroups.com
Hi Magda,

you could try removing from the [components] section of your trac.ini file all of the lines starting with "agilo" and insert only these ones instead:

agilo.* = enabled
agilo_common.* = enabled
agilo_pro.* = enabled


does this help with your issue?

Stefano

--
--
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 ag...@googlegroups.com
To unsubscribe from this group, send an email to
agilo+un...@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+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<trac.ini>

Magdalena Soyka

unread,
Nov 29, 2016, 7:26:17 AM11/29/16
to Agilo for Trac
Hi Stefano,

unfortunately it does not.

Magda

Stefano Rago

unread,
Nov 29, 2016, 10:31:21 AM11/29/16
to ag...@googlegroups.com
Hi Magda,

sorry to hear that. I would anyway suggest you to keep your agilo components configuration that way, as it is the recommended approach.

Regarding your issue, unfortunately we don't support integration with other third-party plugins, but if you want to investigate more, I would recommend to start with a fresh dedicated Trac environment with only Agilo for Trac and email2Trac installed and see if you can narrow down the scope of the problem.

Hope this helps,

Stefano

Magdalena Soyka

unread,
Nov 29, 2016, 12:23:30 PM11/29/16
to Agilo for Trac
Hi Stefano,

thanks anyways! I am not giving up yet.

Cheers
Magda

Magdalena Soyka

unread,
Dec 7, 2016, 7:31:12 AM12/7/16
to Agilo for Trac
For everybody with the same problem: there is an agilo option for email2trac.

Use emailt2trac --agilo or email2trac -A and it will create tickets with attachments!

Stefano Rago

unread,
Dec 7, 2016, 8:25:46 AM12/7/16
to ag...@googlegroups.com
thanks for sharing this tip, Magdalena

Stefano

On 7 Dec 2016, at 13:31, Magdalena Soyka <magdale...@gmail.com> wrote:

For everybody with the same problem: there is an agilo option for email2trac.

Use emailt2trac --agilo or email2trac -A and it will create tickets with attachments!


Reply all
Reply to author
Forward
0 new messages