NuCOS / angular-bokeh

An example angular project on integrating Bokeh with Angular and send data from a python backend
MIT License
30 stars 8 forks source link

Getting only empty page without chart #2

Closed chetanambi closed 3 years ago

chetanambi commented 3 years ago

Hi - I followed the exact steps mentioned in the instructions but getting just an empty screen with heading and Angular logo as shown below.

There are no errors the but in the command line, I can see only this information. Do you have any suggestions?

(angular-bokeh) C:\Users\ambi\Desktop\angular-bokeh-master\python>python app.py
[2021-05-26 17:16:30,953]              INFO     -- start server on localhost port 9000
[2021-05-26 17:16:30,954]              INFO     -- path: C:\Users\ambi\Desktop\angular-bokeh-master\python\../client/dist/dev
[2021-05-26 17:16:35,944] PythonToView INFO     -- from angular: {"name":"addChart","args":["7684","plot"],"action":"default","user":"8049"}
0.031836509704589844

image

DocBO commented 3 years ago

Hi, I updated to angular 10, bokeh 2.3.2 and python3.8 I think the issue was inconsistent versions of bokeh.

Please remove all artefacts for the client (e.g. the folder node_modules) and start rebuild.

npm install
ng build
chetanambi commented 3 years ago

Thanks a lot for the quick response! I was able to get the graph now. Though I am not able to see it fully I can manage to handle this myself. Thank again for providing this example. This is really helpful.

I am closing this as the issue is resolved.

image