att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
431 stars 142 forks source link

jupyter input is hanging #2585

Closed gordonwoodhull closed 6 years ago

gordonwoodhull commented 6 years ago

We implemented input for Python in #1334, and I'm pretty sure it worked, but now it hangs (for both Python2 and Python3 cells).

I'm not sure, but it looks like it may have to do with results buffering for autoscroll. At least, the UI goes into an infinite promise loop in stop_results_consumer.

IIRC the two features were developed on parallel branches. So they probably work separately. (Disabling autoscroll is not enough to fix it, however.)

gordonwoodhull commented 6 years ago

Another interesting thing about this bug: if you have multiple inputs in the cell, each prompt happens. But then it hangs before any output.

I haven't devised a way to test if the input is getting back to python - since nothing gets printed (before or after the inputs) it's hard to tell.