I hope some one can help me with the following error message:
ERROR:tornado.application:Future <tornado.concurrent.Future object at 0x7f4f4a4e9240> exception was never retrieved: tornado.iostream.StreamClosedError: Stream is closed
after running the code attached as:
I am on Ubuntu 14.
To close the application hit the DONE button. Another tab will be opened and hit DONE again to close everything. It is when I press the DONE button a second time I get the above ERROR.
More context of my workflow:
I am building this viewer as part of an interactive viewer pipeline. I am trying to build the following capability:
Do for N times:
User does some processing with spectra.
User displays the spectra.
User hits DONE to get back to processing script (say a python script).
In the code attached N = 2.
Please note I am a beginner to Bokeh and browser based app development. I have put the attached code together based on previous question on this mailing list. Any help/feedback on the error and my code in general is appreciated.
viewer_spectrum.py (3.26 KB)