Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (55 - 57 of 332)

Ticket Resolution Summary Owner Reporter
#60 fixed mailto_trac + german umlaut problem bas alex@…
Description

Hi,

if i set mailto_link in email2trac.config to 1 and receive a email with a german Umlaut (ä,ü,ö) in the subject, i get the following error:

May 14 14:53:00 localhost email2trac: Traceback (most recent call last):
May 14 14:53:00 localhost email2trac:   File "/usr/local/bin/email2trac", line 1140, in ?     tktparser.parse(sys.stdin)
May 14 14:53:00 localhost email2trac:   File "/usr/local/bin/email2trac", line 728, in parse     self.new_ticket(m, component)
May 14 14:53:00 localhost email2trac:   File "/usr/local/bin/email2trac", line 674, in new_ticket     mailto = self.html_mailto_link(tkt['summary'], ticket_id, body_text)
May 14 14:53:00 localhost email2trac:   File "/usr/local/bin/email2trac", line 894, in html_mailto_link     str = 'mailto:%s?Subject=%s&Cc=%s' %(
May 14 14:53:00 localhost email2trac:   File "urllib.py", line 1110, in quote     res = map(safe_map.__getitem__, s)
May 14 14:53:00 localhost email2trac: KeyError: u'\xdc'

I use email2trac with fetchmail + procmail fetching mails from exchange. If i deactivate "mailto_link" everything works fine. Enclosed is a mail header that leads to that problem described above:

Received: from mail.exchange.local ([192.168.0.101]) by mail.exchange.local
 ([192.168.0.101]) with mapi; Wed, 14 May 2008 12:30:38 +0200
From: XXX
To: support 
Date: Wed, 14 May 2008 12:30:37 +0200
Subject: =?Windows-1252?Q?=DCberTestTicket2?=
Thread-Topic: =?Windows-1252?Q?=DCberTestTicket2?=
Thread-Index: AQHIta2Mj/TcnoIsRUu4khLyH1a30A==
Message-ID: <1E80D902A0C956449784BCD6BCDF18157FB6DB62DC@mail.exchange.local>
Accept-Language: en-US, de-DE
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: mail.exchange.local
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
acceptlanguage: en-US, de-DE
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

Is there a possible workaround?

Thanks for the help,

alex

#61 fixed Notifications not sent when email2trac adds a ticket bas pprovost@…
Description

Hello,

I realize that there are other tickets on this subject, but this is (in my opinion) slightly different. The similarity is that notifications only get sent out when adding a ticket via the web interface. Adding via email2trac works, but no notification is sent. When running the test with the given mail, I get the following:

# cat email2trac-0.13/msg.txt | email2trac --project=pprovost
TD: Failure sending notification on creation of ticket #18: 'str' object is not callable

This is with Trac 0.11 and email2trac 0.13

#62 fixed email notification on ticket_update doesn't work when project has no components bas gernot.hillier@…
Description

When sending a ticket update via mail to a project that has no components, email2trac will manage to update the ticket in the database, but the email notification isn't sent.

It will fail with:

email2trac: Traceback (most recent call last):
email2trac:   File "/usr/local/bin/email2trac", line 1137, in <module>     tktparser.parse(sys.stdin)
email2trac:   File "/usr/local/bin/email2trac", line 723, in parse     if self.ticket_update(m):
email2trac:   File "/usr/local/bin/email2trac", line 602, in ticket_update     self.notify(tkt, False, when)
email2trac:   File "/usr/local/bin/email2trac", line 857, in notify     if tkt['component'] == 'Spam':
email2trac:   File "/var/lib/python-support/python2.5/trac/ticket/model.py", line 104, in __getitem__     return self.values[name]
email2trac: KeyError: 'component' 

Note: See TracQuery for help on using queries.