New submission from Seamus McKenna <seamus.mcke...@intunenetworks.com>:

My python scripting has been running for several weeks periodically sending out 
emails.  However the script has been stuck for the last 24 hrs.  No parts of my 
script have been executed in this period.

On terminating the script via ctrl-c, I can see that the script is stuck with 
the python ssl library. See below;

-----------------------------------------------------------------
File 
"/export2/home/intregress/LabEnv210/lab/int_lib/int_tools/PTM_COMMON/user.py", 
line 4277, in email
    mailServer.sendmail(gmail_user, to, msg.as_string())
  File "/tools/ACTIVESTATE/python/2.7.1.3/x86/lib/python2.7/smtplib.py", line 
713, in sendmail
    (code,resp) = self.data(msg)
  File "/tools/ACTIVESTATE/python/2.7.1.3/x86/lib/python2.7/smtplib.py", line 
482, in data
    (code,msg)=self.getreply()
  File "/tools/ACTIVESTATE/python/2.7.1.3/x86/lib/python2.7/smtplib.py", line 
338, in getreply
    line = self.file.readline()
  File "/tools/ACTIVESTATE/python/2.7.1.3/x86/lib/python2.7/smtplib.py", line 
177, in readline
    chr = self.sslobj.read(1)
  File "/tools/ACTIVESTATE/python/2.7.1.3/x86/lib/python2.7/ssl.py", line 138, 
in read
    return self._sslobj.read(len)
-------------------------------------------------------------------

----------
components: None
messages: 166579
nosy: seamus.mckenna
priority: normal
severity: normal
status: open
title: Stuck/hang when reading ssl object
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15470>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to