Custom Query (332 matches)


Show under each result:

Results (325 - 327 of 332)

Ticket Resolution Summary Owner Reporter
#44 fixed With a ticket update we must check if message is Spam bas anonymous

With ticket update there is no check if this is a SPAM message. I will build in the check, bas

#8 invalid With restrict_owner=true ticket is not created. bas TYatsurak@…

Trac 0.10.4 using apache, email2trac 0.9.5

restrict_owner=true in trac.ini, component Support has valid owner, get_known_users query shows all users with fully specified names.


cat msg.txt|email2trac --component=Support Traceback (most recent call last):

File "/usr/local/bin/email2trac", line 974, in ?


File "/usr/local/bin/email2trac", line 560, in parse


File "/usr/local/bin/email2trac", line 432, in new_ticket

tkt = Ticket(self.env)

File "/usr/lib/python2.4/site-packages/trac/ticket/", line 37, in init

self.fields = TicketSystem?(self.env).get_ticket_fields()

File "/usr/lib/python2.4/site-packages/trac/ticket/", line 104, in get_ticket_fields

for username, name, email in self.env.get_known_users(db):

File "/usr/lib/python2.4/site-packages/trac/", line 320, in get_known_users

for username,name,email in cursor:

File "/usr/lib/python2.4/site-packages/trac/db/", line 40, in iter

row = self.cursor.fetchone()

File "/usr/lib/python2.4/site-packages/pyPgSQL/", line 3158, in fetchone

raise Error, \

Error: fetchone() failed - cursor does not contain a result. TD: saving email to /tmp/tmpT0AepR.email2trac ---

#157 fixed workflow option is ignored (patch) bas thomas.moschny@…

In order to avoid closed tickets being reopened by email2trac, I configured 'workflow: leave', but that didn't work at first. The following patch was needed.

--- email2trac-1.0.0/	2009-09-02 10:57:42.000000000 +0200
+++ email2trac-1.0.0/	2009-10-21 15:40:53.000000000 +0200
@@ -660,7 +660,7 @@ class TicketEmailParser(object):
 			#b = controller.get_ticket_changes(req, tkt, 'reopen')
 			#print 'get_ticket_changes :', b
-			if self.WORKFLOW and (self.VERSION in ['0.11']) :
+			if self.WORKFLOW and self.VERSION == 0.11:
 				from trac.ticket.default_workflow import ConfigurableTicketWorkflow
 				from trac.test import Mock, MockPerm

In the long run, it might be a better idea to turn self.VERSION into a string.

Note: See TracQuery for help on using queries.