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 application error #2

Open
itsmylife44 opened this issue Apr 9, 2020 · 3 comments
Open

bokeh application error #2

itsmylife44 opened this issue Apr 9, 2020 · 3 comments

Comments

@itsmylife44
Copy link

Hello , i'm trying to open the telemetry files , without success ..

image

log :

`$ bokeh serve --show acctelemetry.py
2020-04-10 01:30:52,038 Starting Bokeh server version 2.0.1 (running on Tornado 6.0.4)
2020-04-10 01:30:52,039 User authentication hooks NOT provided (default user enabled)
2020-04-10 01:30:52,041 Bokeh app running at: http://localhost:5006/acctelemetry
2020-04-10 01:30:52,041 Starting Bokeh server with process id: 16940
2020-04-10 01:30:53,164 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x000002AF3AAE6280>: cannot import name 'ldparser' from 'ldparser' (unknown location)
File "acctelemetry.py", line 13, in :
from ldparser import ldparser Traceback (most recent call last):
File "c:\users\xspam\appdata\local\programs\python\python38\lib\site-packages\bokeh\application\handlers\code_runner.py", line 197, in run
exec(self._code, module.dict)
File "C:\Users\xSpaM\Desktop\acctelemetry-master\acctelemetry.py", line 13, in
from ldparser import ldparser
ImportError: cannot import name 'ldparser' from 'ldparser' (unknown location)

2020-04-10 01:30:53,417 WebSocket connection opened
2020-04-10 01:30:53,417 ServerConnection created
`

@gotzl
Copy link
Owner

gotzl commented Apr 21, 2020

Uh, windows... Never tried it there ;)
In any case, I believe the main issue here is that you didn't checkout the git submodules. In linux, I would do

git submodule update --init

in the acctelemetry-master folder.

@itsmylife44
Copy link
Author

Uh, windows... Never tried it there ;)
In any case, I believe the main issue here is that you didn't checkout the git submodules. In linux, I would do

git submodule update --init

in the acctelemetry-master folder.

image

@gotzl
Copy link
Owner

gotzl commented Apr 22, 2020

Hi,
no idea why this does not work for you.
Could you checkout the latest version? I've updated the path to the submodule using https, maybe that works better for you? Also, I've realized that you use bokeh>=2, which I did not test (and does not work) so I've updated the requirements.txt to require bokeh<2.
Then, when you run the app, you need to supply a path, ie bokeh serve --show ./.

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