Edgewall Software

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#2255 closed defect (fixed)

emailfilter.py fails with Ticket' object has no attributes

Reported by: Markus Tacker <m@…> Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: ticket system Version: 0.9.4
Severity: normal Keywords:
Release Notes:
API Changes:



Command died with status 1: "/etc/mail/trac-ticket-test.py".
Command output: 
Traceback (most recent call last):
   File "/etc/mail/trac-ticket-test.py", line 64, in ?
   File "/etc/mail/trac-ticket-test.py", line 58, in parse
     if tkt.get('description'): AttributeError: 'Ticket' object has no attribute 'get' )

Removing ling 58 makes it work.

Also it would be great that a new ticket notification is sent.

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by dluke@…

Summary: emailfilter.py fails with emailfilter.py fails with Ticket' object has no attributes
Version: devel0.9.4

This appears to be still the case with the current release version (0.9.4).

comment:2 Changed 12 years ago by Christopher Lenz

Milestone: 0.10
Resolution: fixed
Status: newclosed

Fixed in [2949].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.