Custom Query (332 matches)
Results (136 - 138 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... |
|||
#142 | fixed | Some fields are no longer available using alternate_notify_template | bas | hju@… |
Description |
In our old environment (email2trac 0.30 / trunk 218) we are using the alternate_notify_template to inform the reporter about acceptance of the ticket. In the mail-body we use the following text (example): Hello, your request was insertet as $ticket.id in our system. Your request was: $ticket.description ... Everything works fine! Now we have established a new environment under windows with email2trac 0.80 and python 2.5. Problem: The $ticket.description is displayed, but $ticket.id is empty. In the Mail-Header, the ID ist displayed! Taking a close look shows: with the "old" email2trac, if a ticket was created there was "change-entry" for each ticket: *id set to 411 this is now missing. Is it possible, that the ID is no longer known due to this missing "update"? |
|||
#143 | wontfix | Creating a new ticket via email | bas | cbidwell@… |
Description |
Hi, I can't seem to get this working. Replies to tickets work fine, but creating a new ticket...Not working. Here is my email2trac.conf: [trac] project : /home/svn/projects/trac debug : 0 enable_syslog: 1 spam_level : 0 reply_all : 1 umask : 022 mailto_link : 1 mailto_cc : user@… ticket_update: 1 trac_version : 0.11 And here is my /etc/aliases statement: trac: |"/usr/local/bin/run_email2trac --project=trac --ticket_prefix=trac" |