LANL-Bioinformatics / PanGIA

Other
7 stars 2 forks source link

pangia-vis fails #5

Closed jagos01 closed 4 years ago

jagos01 commented 4 years ago

Hello, I am trying to run PanGIA. pangia.py finished running but pangia-vis.pl fails to display anything in my browser. The following messages are printed in the terminal:

Opening PanGIA-VIS application on http://localhost:5006/pangia-vis 2020-08-18 17:14:19,627 Starting Bokeh server version 2.1.1 (running on Tornado 6.0.4) 2020-08-18 17:14:19,628 User authentication hooks NOT provided (default user enabled) 2020-08-18 17:14:19,630 Bokeh app running at: http://localhost:5006/pangia-vis 2020-08-18 17:14:19,630 Starting Bokeh server with process id: 5420 BokehDeprecationWarning: 'legend' keyword is deprecated, use explicit 'legend_label', 'legend_field', or 'legend_group' keywords instead BokehDeprecationWarning: 'legend' keyword is deprecated, use explicit 'legend_label', 'legend_field', or 'legend_group' keywords instead BokehDeprecationWarning: 'legend' keyword is deprecated, use explicit 'legend_label', 'legend_field', or 'legend_group' keywords instead BokehDeprecationWarning: 'WidgetBox' is deprecated and will be removed in Bokeh 3.0, use 'bokeh.models.Column' instead 2020-08-18 17:14:19,965 Error running application handler <bokeh.application.handlers.directory.DirectoryHandler object at 0x7fa60f4c6550>: unexpected attribute 'callback' to Button, similar attributes are js_event_callbacks File "has_props.py", line 282, in setattr: (name, self.class.name, text, nice_join(matches))) Traceback (most recent call last): File "/mnt/data0/miniconda3/envs/pangia2/lib/python3.6/site-packages/bokeh/application/handlers/code_runner.py", line 197, in run exec(self._code, module.dict) File "/home/DRDC/pangia/pangia-vis/main.py", line 1081, in dl_btn.callback = CustomJS(args=dict(source=dp_source), code=open(join(dirname(file), "download.js")).read()) File "/mnt/data0/miniconda3/envs/pangia2/lib/python3.6/site-packages/bokeh/core/has_props.py", line 282, in setattr (name, self.class.name, text, nice_join(matches))) AttributeError: unexpected attribute 'callback' to Button, similar attributes are js_event_callbacks

Any help would be appreciated. Thanks, Scott

jagos01 commented 4 years ago

I downgraded bokeh to version 1.4.0 and pangia-vis now works.