[Trac-tickets] [The Trac Project] #2238: Confusing Error message
issued when mime gateway is nonresponsive.
The Trac Project
noreply at edgewall.com
Tue Oct 18 07:08:38 CDT 2005
#2238: Confusing Error message issued when mime gateway is nonresponsive.
--------------------------------+-------------------------------------------
Reporter: curt at shadetree.net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: ticket system | Version: 0.8.4
Severity: normal | Keywords: |
--------------------------------+-------------------------------------------
When TRAC tries to send email notification of activity and the designated
mime gateway is unresponsive, TRAC returns the a stack trace.
A more informative error message would be more helpful. A log of the SMTP
dialog would be even better.
-------------------
Python traceback
Traceback (most recent call last):
File "D:\www\python\Lib\site-packages\trac\ModPythonHandler.py", line
195, in handler
core.dispatch_request(mpr.path_info, args, mpr, env)
File "D:\www\python\lib\site-packages\trac\core.py", line 441, in
dispatch_request
module.run()
File "D:\www\python\Lib\site-packages\trac\Module.py", line 44, in run
self.render()
File "D:\www\python\lib\site-packages\trac\Ticket.py", line 474, in
render
self.save_changes (id)
File "D:\www\python\lib\site-packages\trac\Ticket.py", line 391, in
save_changes
tn.notify(ticket, newticket=0, modtime=now)
File "D:\www\python\lib\site-packages\trac\Notify.py", line 229, in
notify
NotifyEmail.notify(self, ticket['id'], subject)
File "D:\www\python\lib\site-packages\trac\Notify.py", line 132, in
notify
Notify.notify(self, resid)
File "D:\www\python\lib\site-packages\trac\Notify.py", line 79, in
notify
self.begin_send()
File "D:\www\python\lib\site-packages\trac\Notify.py", line 140, in
begin_send
self.server = smtplib.SMTP(self.smtp_server)
File "D:\www\python\lib\smtplib.py", line 240, in __init__
(code, msg) = self.connect(host, port)
File "D:\www\python\lib\smtplib.py", line 302, in connect
raise socket.error, msg
error: (10060, 'Operation timed out')
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2238>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list