Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (313 - 315 of 332)

Ticket Resolution Summary Owner Reporter
#141 duplicate Attachment with "ü" causes python error an is not attached bas hju@…
Description

We found a problem with python-code execution if there is an german "Umlaut" (ü) in the filename of an attachment.

email2trac produces an error in the user.log of the server { Mar 10 17:00:04 ks35958 email2trac: Traceback (most recent call last): Mar 10 17:00:04 ks35958 email2trac: File "/usr/bin/email2trac", line 1249, in ? tktparser.parse(sys.stdin) Mar 10 17:00:04 ks35958 email2trac: File "/usr/bin/email2trac", line 818, in parse self.new_ticket(m, spam_msg) Mar 10 17:00:04 ks35958 email2trac: File "/usr/bin/email2trac", line 757, in new_ticket str = self.attachments(msg, tkt) Mar 10 17:00:04 ks35958 email2trac: File "/usr/bin/email2trac", line 1049, in attachments url_filename = urllib.quote(filename) Mar 10 17:00:04 ks35958 email2trac: File "urllib.py", line 1110, in quote res = map(safe_map.getitem, s) Mar 10 17:00:04 ks35958 email2trac: KeyError?: u'\xfc' }

The ticket is created, but the attachment is not added.

Tracking down the error leads to an python-error in 2.4. The routine "quote", trying to encode special characters in the filename as "%<##>", returns an KeyError? with "\xfc" (ü).

http://bugs.python.org/issue3300

However: Is there possible workaround usin another python-function?

We use a trunk-version (218) of Version 0.30

P.S.: in another environment, we are using email2trac version 0.80 with python 2.5 under windows... Under this circumstances, there is no ticket createt at all...

#168 duplicate Allow excluding attachments bas otto@…
Description

Hi,

it would be nice if i could specify a list, regex or something of attachment-extensions to exclude. For example "*pgp|*exe". This way i could also disable attachments completly.

regards Otto

#170 duplicate Inline Properties bas samuel@…
Description

I have found it annoying to specify ticket attributes in the subject of an email. It would be nice if it was possible to specify ticket attributes in the message body, in stead.

Another disadvantage of specifying ticket attributes in the message subject is that unintentional ticket attribute modifications are likely when replying to a previous "email2trac" email. Specifying them in the message body eliminates this possibility.

Note: See TracQuery for help on using queries.