Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (130 - 132 of 332)

Ticket Resolution Summary Owner Reporter
#136 fixed From: line misparsed when smtp_default_domain is set bas brooks@…
Description

We've currently got (modulo real names) smtp_default_domain=trac.example.org in our configuration and that's leading to weird results. For example, if we send in a ticket request with:

From: John Doe <jdoe@example.org>

Trac sends back notices addressed to John@…, Doe@…, and jdoe@…. It seems like stripping the reporter down to just actual e-mail addresses would be the right fix in this case.

#137 fixed email2trac can't find python2.6 binary in /usr/bin bas delpheye@…
Description

In building an RPM for email2trac 0.80, it is unable to find the python 2.6 binary in /usr/bin. I've attempted to set this on the configure line of the spec file, but I cannot determine the correct option to use. The scripts appear to scan all of /usr/bin to find an acceptable python binary, but doesn't see that there is one there.

I am attaching my rpmbuild output in hopes that whatever error I'm making can be corrected.

#138 fixed Encoding problem with attachment filename bas debacle@…
Description

I got an error message from email2trac (urllib.quote):

Traceback (most recent call last):
  File "/usr/bin/email2trac", line 1574, in <module>#012    tktparser.parse(sys.stdin)
  File "/usr/bin/email2trac", line 991, in parse#012    self.new_ticket(m, subject, spam_msg)
  File "/usr/bin/email2trac", line 805, in new_ticket#012    message_parts = self.unique_attachment_names(message_parts)
  File "/usr/bin/email2trac", line 1231, in unique_attachment_names#012    filename = urllib.quote(filename)
  File "/usr/lib/python2.5/urllib.py", line 1205, in quote#012    res = map(safe_map.__getitem__, s)
KeyError: u'\xf3'

Result was, that the ticket could not be created. I patched email2trac. Now it works, but I'm not sure, whether the patch is the best solution:

--- /usr/bin/email2trac.orig    2009-06-04 13:34:33.000000000 +0200
+++ /usr/bin/email2trac 2009-06-04 15:36:29.000000000 +0200
@@ -1228,7 +1228,7 @@
                                        pass
 
                        if self.QUOTE_ATTACHMENT_FILENAMES:
-                               filename = urllib.quote(filename)
+                               filename = urllib.quote(filename.encode('utf-8'))
 
                        # Make the filename unique for this ticket
                        num = 0
Note: See TracQuery for help on using queries.