Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (322 - 324 of 332)

Ticket Resolution Summary Owner Reporter
#365 fixed email2trac doesn't work with discussionplugin 0.9 bas anonymous
Description

trying to use email2trac v2.8.8 with discussionplugin v0.9dev. I think the discussionplugin API must have changed and there is an incompatibility

2015-05-09 16:46:03,957 email2trac wol: Traceback (most recent call last):

2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 2915, in <module>

tktparser.parse(sys.stdin)

2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1823, in parse

self.parse_subject_field(m, subject, spam_msg)

2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1938, in parse_subject_field

self.discussion_topic_reply(m, subject[result.end('topic'):])

2015-05-09 16:46:03,957 email2trac wol: File "/usr/local/bin/email2trac", line 1589, in discussion_topic_reply

topic = api.get_topic(context, self.id)

2015-05-09 16:46:03,957 email2trac wol: File "build/bdist.linux-x86_64/egg/tracdiscussion/api.py", line 1699, in get_topic

(id,))

2015-05-09 16:46:03,957 email2trac wol: File "build/bdist.linux-x86_64/egg/tracdiscussion/model.py", line 54, in _get_item

cursor = context.db.cursor()

2015-05-09 16:46:03,958 email2trac wol: AttributeError?: 'RenderingContext?' object has no attribute 'db'

#366 fixed Test message errors with email2.8.8./ trac 1.1.4 bas michela@…
Description

Unable to get email2.8.8./ trac 1.1.4 working

Running default test message locally I'm getting the following error:

/usr/local/bin/email2trac --project anmm --virtualenv /srv/env/anmm < msg.txt

May 15 15:04:43 tgtwn email2trac anmm: Found trac version: 1.1
May 15 15:04:44 tgtwn email2trac anmm: Loading environment /srv/env/anmm/trac/anmm
May 15 15:04:44 tgtwn email2trac anmm: Main function parse
May 15 15:04:44 tgtwn email2trac anmm: saving email to /tmp/tmpmu3Phf.anmm.email2trac
May 15 15:04:44 tgtwn email2trac anmm: function get_message_parts()
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: multipart
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: multipart/mixed
May 15 15:04:44 tgtwn email2trac anmm: #011 Skipping multipart container
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: text
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: text/plain
May 15 15:04:44 tgtwn email2trac anmm: function inline_part()
May 15 15:04:44 tgtwn email2trac anmm: function email_to_unicode
May 15 15:04:44 tgtwn email2trac anmm: #011 repr:None type:<type 'NoneType'>
May 15 15:04:44 tgtwn email2trac anmm: #011 unicode filename: None
May 15 15:04:44 tgtwn email2trac anmm: #011 raw filename: None
May 15 15:04:44 tgtwn email2trac anmm: function strip_signature: ^-- $
May 15 15:04:44 tgtwn email2trac anmm: function inline_properties
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: text
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: text/plain
May 15 15:04:44 tgtwn email2trac anmm: function inline_part()
May 15 15:04:44 tgtwn email2trac anmm: function email_to_unicode
May 15 15:04:44 tgtwn email2trac anmm: #011 repr:'basje.txt' type:<type 'str'>
May 15 15:04:44 tgtwn email2trac anmm: #011 unicode filename: basje.txt
May 15 15:04:44 tgtwn email2trac anmm: #011 raw filename: 'basje.txt'
May 15 15:04:44 tgtwn email2trac anmm: function strip_signature: ^-- $
May 15 15:04:44 tgtwn email2trac anmm: function inline_properties
May 15 15:04:44 tgtwn email2trac anmm: function unique_attachment_names()
May 15 15:04:44 tgtwn email2trac anmm: function get_body_text()
May 15 15:04:44 tgtwn email2trac anmm: function debug_body:
May 15 15:04:44 tgtwn email2trac anmm: writing body to /tmp/tmpmu3Phf.anmm.email2trac.body
May 15 15:04:44 tgtwn email2trac anmm: function debug_attachments
May 15 15:04:44 tgtwn email2trac anmm: function get_sender_info
May 15 15:04:44 tgtwn email2trac anmm: function email_to_unicode
May 15 15:04:44 tgtwn email2trac anmm: #011 repr:'Bas van der Vlies' type:<type 'str'>
May 15 15:04:44 tgtwn email2trac anmm: #011 email name: Bas van der Vlies, email address: basv@sara.nl
May 15 15:04:44 tgtwn email2trac anmm: Traceback (most recent call last):
May 15 15:04:44 tgtwn email2trac anmm:   File "/usr/local/bin/email2trac", line 2915, in <module>#012    tktparser.parse(sys.stdin)
May 15 15:04:44 tgtwn email2trac anmm:   File "/usr/local/bin/email2trac", line 1782, in parse#012    self.get_sender_info(m)
May 15 15:04:44 tgtwn email2trac anmm:   File "/usr/local/bin/email2trac", line 376, in get_sender_info#012    users = [ (u,n,e) for (u, n, e) in self.env.get_known_users(self.db)
May 15 15:04:44 tgtwn email2trac anmm: TypeError: get_known_users() takes exactly 1 argument (2 given)
May 15 15:04:44 tgtwn email2trac anmm: saving email to /tmp/tmpDW8jmS.anmm.email2trac
May 15 15:04:44 tgtwn email2trac anmm: function get_message_parts()
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: multipart
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: multipart/mixed
May 15 15:04:44 tgtwn email2trac anmm: #011 Skipping multipart container
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: text
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: text/plain
May 15 15:04:44 tgtwn email2trac anmm: function inline_part()
May 15 15:04:44 tgtwn email2trac anmm: function email_to_unicode
May 15 15:04:44 tgtwn email2trac anmm: #011 repr:None type:<type 'NoneType'>
May 15 15:04:44 tgtwn email2trac anmm: #011 unicode filename: None
May 15 15:04:44 tgtwn email2trac anmm: #011 raw filename: None
May 15 15:04:44 tgtwn email2trac anmm: function strip_signature: ^-- $
May 15 15:04:44 tgtwn email2trac anmm: function inline_properties
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Main-Type: text
May 15 15:04:44 tgtwn email2trac anmm: #011 Message part: Content-Type: text/plain
May 15 15:04:44 tgtwn email2trac anmm: function inline_part()
May 15 15:04:44 tgtwn email2trac anmm: function email_to_unicode
May 15 15:04:44 tgtwn email2trac anmm: #011 repr:'basje.txt' type:<type 'str'>
May 15 15:04:44 tgtwn email2trac anmm: #011 unicode filename: basje.txt
May 15 15:04:44 tgtwn email2trac anmm: #011 raw filename: 'basje.txt'
May 15 15:04:44 tgtwn email2trac anmm: function strip_signature: ^-- $
May 15 15:04:44 tgtwn email2trac anmm: function inline_properties
May 15 15:04:44 tgtwn email2trac anmm: function unique_attachment_names()
May 15 15:04:44 tgtwn email2trac anmm: function get_body_text()
May 15 15:04:44 tgtwn email2trac anmm: function debug_body:
May 15 15:04:44 tgtwn email2trac anmm: writing body to /tmp/tmpDW8jmS.anmm.email2trac.body
May 15 15:04:44 tgtwn email2trac anmm: function debug_attachments

My email2trac.conf section for this trac is

[anmm] project: /srv/env/anmm/trac/anmm debug: 1 virtualenv: /srv/env/anmm spam_level: 1 strip_signature: 1 inline_properties: 1

#379 fixed Ignoring Attachments by Filename bas rschwartz@…
Description

In our environment we had the need to block a specific attachment. I didn't see the ability to do it with existing config so I wrote a customization. Sending it along in case it might be useful to others.

Note that our environment is a bit older. As such this patch was taken against [615].

This adds a parameter to the config file. It is a comma-separated list of filenames to ignore. Could easily be converted to regex.

ignored_attachments: badfile.zip
Note: See TracQuery for help on using queries.