marten wrote:
> 
> When I create a ticket or comment on a ticket, I'm expecting an email
> to be sent (see trac.ini below). However, that never happens. In the
> log I find this:
> 
> Trac[web_ui] ERROR: Failure sending notification on change to ticket
> #6: 'NoneType' object has no attribute 'find' Traceback (most recent
> call last):   File "/usr/lib/python2.5/site-packages/Trac-0.11.1-
> py2.5.egg/trac/ticket/web_ui.py", line 992, in _do_save
> tn.notify(ticket, newticket=False, modtime=now)   File "/usr/lib/
> python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/
> notification.py", line 140, in notify     'ticket_props':
> self.format_props(),   File "/usr/lib/python2.5/site-packages/
> Trac-0.11.1-py2.5.egg/trac/ticket/notification.py", line 159, in
> format_props     if fval.find('\n') != -1: AttributeError: 'NoneType'
> object has no attribute 'find'
> 
> What does this mean? Any ideas what's wrong here?

Do you have any plugins enabled and/or are you using any custom ticket 
fields?

My guess is that there are some NULL values in your ticket_custom table 
for some reason, which trac/ticket/notification.py didn't expect.

If you can, please test the following patch for trac/ticket/model.py 
which might help:

http://pastebin.ca/1247150

/ Jonas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to