Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (109 - 111 of 332)

Ticket Resolution Summary Owner Reporter
#200 wontfix email to trac xmlrpc bas bradley@…
Description
Hi,

I understand that you maintain the email-to-trac conversion script.
I'm running a project on cvsdude (codesion) where they don't support
your plugin.  They do support xmlrpc, however.  Have you heard of any
scripts that can convert email to trac xmlrpc to update tickets?  How
much work do you think it would be to adapt your script?

-Bradley
#179 fixed Email with blank subject will fail bas xurizaemon
Description

If an email with a blank subject is submitted, the following error occurs (from my syslog):

Feb 15 03:05:22 mohua email2trac: Traceback (most recent call last):
Feb 15 03:05:22 mohua email2trac:   File "/usr/bin/email2trac", line 1642, in <module>#012    tktparser.parse(sys.stdin)
Feb 15 03:05:22 mohua email2trac:   File "/usr/bin/email2trac", line 961, in parse#012    m.replace_header('Subject', m['Subject'].replace('\r', '').replace('\n', ''))
Feb 15 03:05:22 mohua email2trac: AttributeError: 'NoneType' object has no attribute 'replace'

I can't find the subject requirement documented, except obliquely (?) in response to #124.

If a site expected error output without a subject (eg some_cmd.sh | mail trac@example.org) to be handled by email2trac, this could be a nasty gotcha for them when those errors weren't turned into incoming tickets.

Testing for subject and inserting a default one would be a more graceful solution than the current exit.

Using Email2Trac $Id: email2trac.py.in 305 2010-01-11 15:09:54Z bas $

#110 fixed Embedded images in emails bas martin.poeschmann@…
Description

When sending an email with an embedded image (from outlook in my case), the resulting attachment to the ticket is too small.

I changed line 1115 to: # Insert the attachment # fd = open(path, 'rb' )

Because Outlook sets the minetype to image/jpg the following change has to be made: line 1061: ext = mimetypes.guess_extension(part.get_content_type(),False)

Note: See TracQuery for help on using queries.