thread error

Nigel W. Moriarty NWMoriarty at lbl.gov
Thu Sep 19 18:58:47 CEST 2002


Folks

I have a app using a threading TCP server which ocassionally spits out the following error when it exits.

Unhandled exception in thread:
Traceback (most recent call last):
  File "/usr/local_cci/Python-2.2.1t/lib/python2.2/threading.py", line 415, in __bootstrap
    s = _StringIO()
  File "/usr/local_cci/Python-2.2.1t/lib/python2.2/StringIO.py", line 42, in __init__
    if type(buf) not in types.StringTypes:
AttributeError: 'NoneType' object has no attribute 'StringTypes'

A look at the code shows that the object types is the standard module types.  Any ideas?

Nigel

--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax   : 510-486-5909
Email : NWMoriarty at LBL.gov
Web   : CCI.LBL.gov





More information about the Python-list mailing list