Opened 20 years ago
Closed 20 years ago
#569 closed defect (fixed)
Email notification doesn't work
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.7.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Trac 0.7.1 on RedHat 8.0 - everything works just dandy, except…
After configuring trac.ini to enable email notifications, the following Python traceback appears when one submits a ticket:
Python traceback Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/trac/core.py", line 475, in cgi_start
real_cgi_start()
File "/usr/lib/python2.2/site-packages/trac/core.py", line 470, in real_cgi_start
dispatch_request(path_info, args, req, env, database)
File "/usr/lib/python2.2/site-packages/trac/core.py", line 380, in dispatch_request
module.run()
File "/usr/lib/python2.2/site-packages/trac/Module.py", line 41, in run
self.render()
File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 277, in render
self.save_changes (id, old, new)
File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 174, in save_changes
tn.notify(id, newticket=0, modtime=now)
File "/usr/lib/python2.2/site-packages/trac/Notify.py", line 215, in notify
NotifyEmail.notify(self, tktid, subject)
File "/usr/lib/python2.2/site-packages/trac/Notify.py", line 128, in notify
Notify.notify(self, resid)
File "/usr/lib/python2.2/site-packages/trac/Notify.py", line 78, in notify
self.send(to)
File "/usr/lib/python2.2/site-packages/trac/Notify.py", line 299, in send
NotifyEmail.send(self, rcpt, hdrs)
File "/usr/lib/python2.2/site-packages/trac/Notify.py", line 140, in send
from email.Header import Header
ImportError: No module named Header
Attachments (0)
Change History (3)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
resolved by upgrading python to 2.2.3 - version 2.2.1 does not have email.Header package available. Please make sure that trac install page states that trac works with python v 2.2.2 and later.
Looks like it might be a corrupt Python installation.