python - Why am I getting AttributeError: Object has no ...
stackoverflow.com › questions › 11685936Starting Thread-0 Starting Thread-1 Exception in thread Thread-0: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run () File "./redisQueueProcessor.py", line 51, in run self.sample () AttributeError: 'myThread' object has no attribute 'sample' Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run () File "./redisQueueProcessor.py", line 51