Lawouach/WebSocket-for-Python — Issue #16: TypeError: list indices must be integers, not str
Author: majek
Created: 2011-12-20 12:02:46+00:00
State: open

I receive this error:

```
Traceback (most recent call last):
File "venv/lib/python2.6/site-packages/ws4py/client/threadedclient.py", line 93, in _receive
next_size = s.parser.send(bytes)
File "venv/lib/python2.6/site-packages/ws4py/streaming.py", line 181, in receiver
is_valid, _, _, _ = utf8validator.validate(bytes)
File "venv/lib/python2.6/site-packages/ws4py/utf8validator.py", line 108, in validate
self.state = Utf8Validator.UTF8VALIDATOR_DFA[256 + (self.state << 4) + Utf8Validator.UTF8VALIDATOR_DFA[ba[i]]]
TypeError: list indices must be integers, not str
```