[Trac-tickets] [The Trac Project] #1574: localhost is an invalid
SMTP server
The Trac Project
noreply at edgewall.com
Wed May 18 13:14:18 EDT 2005
#1574: localhost is an invalid SMTP server
---------------------------+------------------------------------------------
Id: 1574 | Status: new
Component: ticket system | Modified: Wed May 18 13:14:14 2005
Severity: normal | Milestone:
Priority: normal | Version: 0.8.1
Owner: jonas | Reporter: rr236 at cornell.edu
---------------------------+------------------------------------------------
setting smtp_server to localhost produces the following error on ticket
submission:
Python traceback
Traceback (most recent call last):
File "/sw/lib/python2.3/site-packages/trac/core.py", line 525, in
cgi_start
real_cgi_start()
File "/sw/lib/python2.3/site-packages/trac/core.py", line 520, in
real_cgi_start
dispatch_request(path_info, args, req, env)
File "/sw/lib/python2.3/site-packages/trac/core.py", line 435, in
dispatch_request
module.run()
File "/sw/lib/python2.3/site-packages/trac/Module.py", line 44, in run
self.render()
File "/sw/lib/python2.3/site-packages/trac/Ticket.py", line 298, in
render
self.create_ticket()
File "/sw/lib/python2.3/site-packages/trac/Ticket.py", line 290, in
create_ticket
tn.notify(ticket, newticket=1)
File "/sw/lib/python2.3/site-packages/trac/Notify.py", line 227, in
notify
NotifyEmail.notify(self, ticket['id'], subject)
File "/sw/lib/python2.3/site-packages/trac/Notify.py", line 131, in
notify
Notify.notify(self, resid)
File "/sw/lib/python2.3/site-packages/trac/Notify.py", line 79, in
notify
self.begin_send()
File "/sw/lib/python2.3/site-packages/trac/Notify.py", line 139, in
begin_send
self.server = smtplib.SMTP(self.smtp_server)
File "/Volumes/Backup/sw-build//root-
python23-2.3.5-2/sw/lib/python2.3/smtplib.py", line 254, in __init__
addr = socket.gethostbyname(socket.gethostname())
gaierror: (7, 'No address associated with nodename')
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1574>
The Trac Project <>
More information about the Trac-Tickets
mailing list