This is the top portion of the code:
A.py
from bokeh.plotting import figure, output_file, show, save
from bokeh.embed import components
from bokeh.models.widgets import Slider
from bokeh.io import vform
from bokeh.models import HoverTool, CustomJS, ColumnDataSource
from collections import OrderedDict
B.py
from bokeh.plotting import figure, output_file, show, save, gridplot
from bokeh.models import ColumnDataSource
from bokeh.models.widgets import Panel, Tabs
from bokeh.models import AjaxDataSource
from bokeh.resources import INLINE
from bokeh.embed import components, file_html
I am not using any of
bokeh.browserlib
bokeh.util.browser
bokeh.properties
bokeh.core.properties
bokeh.mixins
bokeh.core.property_mixins
bokeh.plotting_helpers
bokeh.plotting.helpers
bokeh.templates
bokeh.core.templates
And these are the error that I can see in the console:
bokeh-0.11.0.min.js:1Uncaught Error: Cannot find module 'model’i @ bokeh-0.11.0.min.js:1s @ bokeh-0.11.0.min.js:1i.models/widgets/cell_editors…/…/common/continuum_view @ bokeh-widgets-0.11.1.min.js:1i @ bokeh-0.11.0.min.js:1s @ bokeh-0.11.0.min.js:1i.models/widgets/main…/abstract_button @ bokeh-widgets-0.11.1.min.js:2i @ bokeh-0.11.0.min.js:1s @ bokeh-0.11.0.min.js:1i.models/widgets/abstract_button.e.constructor @ bokeh-widgets-0.11.1.min.js:1(anonymous function) @ bokeh-widgets-0.11.1.min.js:1(anonymous function) @ bokeh-widgets-0.11.1.min.js:194
bokeh-0.11.0.min.js:1 Uncaught Error: Module `VBoxForm’ does not exists. The problem may be two fold. Either a model was requested that’s available in an extra bundle, e.g. a widget, or a custom model was requested, but it wasn’t registered before first usage.i @ bokeh-0.11.0.min.js:1t._instantiate_object @ bokeh-0.11.0.min.js:2t._instantiate_references_json @ bokeh-0.11.0.min.js:2t.from_json @ bokeh-0.11.0.min.js:2M @ bokeh-0.11.0.min.js:2(anonymous function) @ (index):151h @ bokeh-0.11.0.min.js:61c.fireWith @ bokeh-0.11.0.min.js:61tt.extend.ready @ bokeh-0.11.0.min.js:61a @ bokeh-0.11.0.min.js:51
Uncaught Error: Module `VBoxForm’ does not exists. The problem may be two fold. Either a model was requested that’s available in an extra bundle, e.g. a widget, or a custom model was requested, but it wasn’t registered before first usage.i @ bokeh-0.11.0.min.js:1t._instantiate_object @ bokeh-0.11.0.min.js:2t._instantiate_references_json @ bokeh-0.11.0.min.js:2t.from_json @ bokeh-0.11.0.min.js:2M @ bokeh-0.11.0.min.js:2(anonymous function) @ (index):151h @ bokeh-0.11.0.min.js:61c.fireWith @ bokeh-0.11.0.min.js:61tt.extend.ready @ bokeh-0.11.0.min.js:61a @ bokeh-0.11.0.min.js:51
Note that the code was working perfectly with Bokeh 0.10, When I migrated to Bokeh 0.11 I cannot see any of the plots anymore. It is kind oof impossible to copy and paste the entire code here. In my template.html, I am loading BokehJS and CSS together with widgets:
The only change that I made after upgrading to 0.11 is: I changed :
Replace this: from bokeh.plotting import ColumnDataSource
Based on the documentation.
I appreciate f you can help me to resolve the issue.
···
to: from bokeh.models import ColumnDataSource
On Monday, May 16, 2016 at 3:15:30 PM UTC-4, hkbokeh wrote:
I updated my Bokeh from 0.10 to 0.11 and none of my plots are coming up. If I do the Inspect element and go to the console, these are the errors that I have:
Uncaught Error: Cannot find module ‘model’
bokeh-0.11.0.min.js:1
Uncaught Error: Module `Slider’ does not exists. The problem may be two fold. Either a model was requested that’s available in an extra bundle, e.g. a widget, or a custom model was requested, but it wasn’t registered before first usage.
I added
To my template.html file as well, but it did not help.
I appreciate any help.