sagemath/sagecell — Issue #250: Interact KeyError on Update
Author: kramer314
Created: 2012-02-17 06:41:14+00:00
State: open
Labels: interacts, testing

I've started occasionally seeing this error, but I can't produce a reliable test case yet since re-evaluating the computation does has so far always produced the expected output. This issue appears to occur when an interact is first updated very quickly after the interact prepare message is received by the client. Here's a sample message.

```
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/tmp/tmpIGc2Nj/ in ()

? in ()

/tmp/tmpIGc2Nj/ in _update_interact(id, control_vals)

KeyError: '9203716290616655815'
```

As an aside, it would be really nice to have a test suite for this kind of stuff. Writing multimechanize scripts (or some other equivalent) should probably be a fairly high priority.