Stock app fails to refresh after drop down is updated.
See original GitHub issueChanging the dropdown selectors does not update the graphs.
Not sure if related, but I see the following errors when the page is requested:
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'01bf4556-eae1-4f9d-86ed-65ec5659fe14'}
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'0bf3179c-2ddf-43c7-83c7-14417278befb'}
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'49c41860-8168-4eee-8117-daf62330461e'}
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'abcc9b83-b12f-4a7e-988b-5bd211fe88ad'}
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'd7e67962-d325-4edb-a6d6-38e6ae5818a3'}
2014-09-29 09:57:15,560:ERROR:root:model not found for {u'type': u'StockApp', u'id': u'a24f849e-02fd-4b9e-913d-e45accf6ab7b'}
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Stock App won't refresh - Apple Support Communities
My stock app on the Mac won't refresh and hasn't since the middle of last week. The news updates, but prices won't and...
Read more >Drop Down does not Refresh - Designer - Alteryx Community
When I run the workflow as an app, the Drop Down stays populated with old data and does not refresh based on current...
Read more >Re: Refreshing Data Source causes Combo Box/dropdo...
Whenever we make a change to the choices available on sharepoint, then refresh our data source in powerapps, the combo box/drop down stops ......
Read more >How do I get my dropdown in react to update without having to ...
Also update the roles array to reflect the added role. Share ... The dropdown component get the value, but not rendering it. Since...
Read more >Problem in refreshing the dropdown values - SAP Community
Hi experts, In my application when user enters the input ,with the help of search criteria i m populating the dropdown.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe this is fixed. Success locally (on ubuntu) and also see docs version: http://bokeh.pydata.org/en/latest/docs/server_gallery/stocks_server.html
Unfortunately, I’ve not had time to continue working with Bokeh, so I haven’t been able to try more recent versions.
I’m running Windows XP, so this issue may not be a problem for other devs on more up-to-date systems. Differences in network stack behaviour when writing to a socket in tornado
BaseIOStream._handle_write()
may account for this. Otherwise, the platform dependent subclass of tornadoIOLoop
that is instantiated could make a difference. I notice that tornado stable is still at version 4.0.2, so I think that any fix is likely to be down to changes in Bokeh or to the platform.The
IOLoop.add_callback()
workaround was just based on guesswork from some internet research. I’m not convinced it is the correct or intended way for a non IOLoop thread to write to the web socket. Also, I forgot to note in my original post that substitutingioloop.IOLoop.instance().add_callback(socket.write_message, topic + ":" + msg)
omits exception handling for exceptions raised insocket.write_message
. I’m not familiar enough with Bokeh or tornado to determine how errors should be handled in an IOLoop callback.Finally, thanks for all your hard work to develop Bokeh. It is an impressive, useful and exciting product that I’m very happy to have had the chance to use, and hopefully will be able to revisit when I have the time.