Hi, I'm having trouble getting pylons to report errors via email where
debug = false - basically nothing ever turns up.
In production.ini there are some lines like:
email_to = [EMAIL PROTECTED]
smtp_server = localhost
error_email_from = [EMAIL PROTECTED]
I can manually set up smtplib and send emails from localhost via
controllers without a problem so I'm a bit mystified why this is
failing. No errors appear on the console either.
On my development site which does not have a mail server, setting
debug to false and causing an exception dumps some output to the
console to do with smtplib failing:
Additionally an error occurred while sending the
<paste.exceptions.reporter.EmailReporter object...
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/smtplib.py", line 310, in connect
raise socket.error, msg
error: (49, "Can't assign requested address")
so I'm doubly confused why at least something isn't appearing
anywhere.
Any hints as to where to start looking?
Cheers
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---