Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (328 - 330 of 332)

Ticket Resolution Summary Owner Reporter
#89 fixed Issue with 'blank' emails containing only attachments anonymous anonymous
Description

If a blank email is sent with just an attachment, a blank comment is appended to the comments.

Line 630@email2trac.py

I seem to have alleviated this issue by simply changing that line to:


if body_text.strip():
     tkt.save_changes(self.author, body_text, when)

#92 fixed Possible to give examples of usage on the wiki? anonymous anonymous
Description

This sounds fantastic, but I am having trouble understanding what a user actually sends in their email when using email2trac.

Is it possible to add some examples of usage, for a recommended workflow/configuration? E.g. show the emails to:

  • add a ticket
  • append a comment
  • append an attachment (if that is possible).
#124 fixed new ticket creation fails: AttributeError: 'NoneType' object has no attribute 'replace' anonymous gdh@…
Description

Hi - I've used dpkg-buildpackage on Ubuntu hardy to build email2trac 0.70 with trac 0.11. Trying either run_email2trac in /etc/aliases, or email2trac in /etc/aliases.nobody (chowned + postalias'd) fails with this error when I run 'mail tracproj <msg.txt'

Feb 23 12:56:54 dev postfix/qmgr[25750]: F07E51F49FE: from=<root@…>, size=2214, nrcpt=1 (que ue active) Feb 23 12:56:55 dev email2trac: Traceback (most recent call last): Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 1466, in <module> tktparser.parse(sys .stdin) Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 835, in parse m.replace_header('Subje ct', mSubject?.replace('\r', ).replace('\n', )) Feb 23 12:56:55 dev email2trac: AttributeError?: 'NoneType?' object has no attribute 'replace' Feb 23 12:56:55 dev postfix/local[25758]: F07E51F49FE: to=<tracproj@…>, orig_to=<tracproj>, relay=local, delay=0.44, delays=0.02/0.01/0/0.42, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/bin/email2trac ". Command output: TD: saving email to /tmp/tmpSOrsIb.email2trac )

If I run 'email2trac <msg.txt' manually from the commandline as root, then the new ticket is created OK :/

My /etc/aliases.nobody is this one line: tracproj: |"/usr/bin/email2trac "

Note: See TracQuery for help on using queries.