Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (124 - 126 of 332)

Ticket Resolution Summary Owner Reporter
#163 fixed Python egg cache problem (and fix) in v 1.0.0 of email2trac bas Dennis McRitchie <dmcr@…>
Description

This is related to ticket #126.

I'm using v 1.0.0 of email2trac and v 0.11 of Trac, and found that the egg cache problem has not been wholly fixed. I had to make the following change after the call to ReadConfig?(), but before the call to Environment(). Without this change, I got a traceback that it was trying to use a .python-eggs directory under the sendmail directory tree (/var/spool/mqueue/.python-eggs) when Environment() is called.

if settings.has_key('python_egg_cache'):

python_egg_cache = str(settingspython_egg_cache?) os.environPYTHON_EGG_CACHE? = python_egg_cache

Dennis

#164 fixed Email2tracMta documentation error in Test Setup bas Dennis McRitchie <dmcr@…>
Description

One of the recommended tests on the Email2tracMta page Test Setup section will not work, at least with certain versions of mail, sendmail, and python.

mail tracproj < msg.txt

results in the following traceback error:

Dec  5 !22:11:24 raas01 email2trac: Traceback (most recent call last):
Dec  5 !22:11:24 raas01 email2trac:   File "/usr/local/raas/email2trac-1.0.0/bin/email2trac", line 1610, in <module>     tktparser.parse(sys.stdin)
Dec  5 !22:11:24 raas01 email2trac:   File "/usr/local/raas/email2trac-1.0.0/bin/email2trac", line 902, in parse     m.replace_header('Subject', m['Subject'].replace('\r', '').replace('\n', ''))
Dec  5 !22:11:24 raas01 email2trac: AttributeError: 'NoneType' object has no attribute 'replace'

I believe this is due to the fact that msg.txt already has mailer headers. The other test (email2trac --project=tracproj < msg.txt) works, as do normal emails sent via the 'mail' utility.

Dennis

#165 fixed This message has 0 attachment(s) bas dereks@…
Description

Every ticket I create via email, using email2trac, gets a comment that says:

Comments: (by derek) This message has 0 attachment(s)

If there are zero attachments, I'd prefer it if there was no comment at all. I don't need to document that something doesn't exist.

Also, this "feature" breaks the AnnouncementPlugin? (which allows Trac to send pretty HTML-formatted notifications). If I enable that plugin, I get two HTML-formatted notifications: one for the new ticket (similar to Trac's built-in notifications), but then a second, redundant one to tell me there is a new comment (which just says: "This message has 0 attachment(s)" ).

Thanks for working on email2trac, so far it's looking pretty awesome...

Note: See TracQuery for help on using queries.