Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bokeh KeyError 'plot_opts" #48

Open
sumin5784 opened this issue May 11, 2021 · 1 comment
Open

bokeh KeyError 'plot_opts" #48

sumin5784 opened this issue May 11, 2021 · 1 comment

Comments

@sumin5784
Copy link

Hello,

I had problems with matching distribution about MarkupSafe so I installed every requirements manually.
Then, I executed following command
bokeh serve --show bulkvis

Then, I have errors.
2021-05-11 12:06:40,375 Starting Bokeh server version 2.3.2 (running on Tornado 6.1)
2021-05-11 12:06:40,376 User authentication hooks NOT provided (default user enabled)
2021-05-11 12:06:40,377 Bokeh app running at: http://localhost:5006/bulkvis
2021-05-11 12:06:40,377 Starting Bokeh server with process id: 3152
2021-05-11 12:06:40,599 Error running application handler <bokeh.application.handlers.directory.DirectoryHandler object at 0x7ff5c5ce0c70>: 'plot_opts'
File "configparser.py", line 960, in getitem:
raise KeyError(key) Traceback (most recent call last):
File "/home/sumin/envs/bulkvis/lib/python3.8/site-packages/bokeh/application/handlers/code_runner.py", line 197, in run
exec(self._code, module.dict)
File "/home/sumin/bulkvis/main.py", line 19, in
cfg_po = config['plot_opts']
File "/home/sumin/miniconda3/lib/python3.8/configparser.py", line 960, in getitem
raise KeyError(key)
KeyError: 'plot_opts'

2021-05-11 12:06:40,706 WebSocket connection opened
2021-05-11 12:06:40,706 ServerConnection created

Somehow the bulkvis webpage is opened but I can't see anything where I can select my fast5 files.
Screenshot_2021-05-11_12-11-20

@alexomics
Copy link
Contributor

Have you created a config.ini file as described here: https://github.com/LooseLab/bulkvis/blob/master/config.md ?

You'll need one of those to set some initial variables for the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants