thread error

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


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/", line 415, in __bootstrap
    s = _StringIO()
  File "/usr/local_cci/Python-2.2.1t/lib/python2.2/", 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 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
Web   :

More information about the Python-list mailing list