Bokeh-Python-Visualization icon indicating copy to clipboard operation
Bokeh-Python-Visualization copied to clipboard

Failed to load resource: the server responded with a status of 404 (Not Found)

Open Usama-Aslam23 opened this issue 6 years ago • 2 comments

I followed all the instructions but when I run bokeh serve command the page opens in browser but doesn't display anything, when I inspect element, I see this message. What could be the problem?

Usama-Aslam23 avatar May 16 '18 18:05 Usama-Aslam23

Error running application handler <bokeh.application.handlers.directory.DirectoryHandler object at 0x0000020988D426D8>: unexpected attribute 'value' to RangeSlider, possible attributes are callback, callback_policy, callback_throttle, css_classes, disabled, end, height, js_event_callbacks, js_property_callbacks, name, orientation, range, sizing_mode, start, step, subscribed_events, tags, title or width File "has_props.py", line 277, in setattr: (name, self.class.name, text, nice_join(matches))) Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\bokeh\application\handlers\code_runner.py", line 81, in run exec(self._code, module.dict) File "E:\Bokeh-Python-Visualization-master\bokeh_app\main.py", line 31, in tab1 = histogram_tab(flights) File "E:\Bokeh-Python-Visualization-master\bokeh_app\scripts\histogram.py", line 137, in histogram_tab step = 5, title = 'Range of Delays (min)') File "C:\ProgramData\Anaconda3\lib\site-packages\bokeh\model.py", line 226, in init super(Model, self).init(**kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\bokeh\core\has_props.py", line 241, in init setattr(self, name, value) File "C:\ProgramData\Anaconda3\lib\site-packages\bokeh\core\has_props.py", line 277, in setattr (name, self.class.name, text, nice_join(matches))) AttributeError: unexpected attribute 'value' to RangeSlider, possible attributes are callback, callback_policy, callback_throttle, css_classes, disabled, end, height, js_event_callbacks, js_property_callbacks, name, orientation, range, sizing_mode, start, step, subscribed_events, tags, title or width

Usama-Aslam23 avatar May 16 '18 18:05 Usama-Aslam23

I am not able to recreate the issue. What version of Bokeh are you running?

I am using Bokeh version 0.12.16.

I would suggest updating to the newest version of Bokeh from the command line using pip install -U bokeh

WillKoehrsen avatar May 24 '18 22:05 WillKoehrsen