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

500:Internal Server Error #50

Closed
arronqing opened this issue May 4, 2023 · 2 comments
Closed

500:Internal Server Error #50

arronqing opened this issue May 4, 2023 · 2 comments

Comments

@arronqing
Copy link

When using btplotting for online data visualization, a 500: Internal Server Error error is reported, and the error code is as follows:

HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "C:\Python\python3.8.9\lib\site-packages\tornado\web.py", line 1786, in _execute
result = await result
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\server\views\doc_handler.py", line 54, in get
session = await self.get_session()
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\server\views\session_handler.py", line 145, in get_session
session = await self.application_context.create_session_if_needed(session_id, self.request, token)
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\server\contexts.py", line 242, in create_session_if_needed
self._application.initialize_document(doc)
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\application\application.py", line 192, in initialize_document
h.modify_document(doc)
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\application\handlers\function.py", line 142, in modify_document
self._func(doc)
File "C:\Python\python3.8.9\lib\site-packages\btplotting-0.2.1-py3.8.egg\btplotting\webapp.py", line 54, in make_document
model = self._model_factory_fnc(doc)
File "C:\Python\python3.8.9\lib\site-packages\btplotting-0.2.1-py3.8.egg\btplotting\analyzers\plot.py", line 64, in _app_cb_build_root_model
client = LiveClient(doc,
File "C:\Python\python3.8.9\lib\site-packages\btplotting-0.2.1-py3.8.egg\btplotting\live\client.py", line 55, in init
self.model, self._refresh_fnc = self._createmodel()
File "C:\Python\python3.8.9\lib\site-packages\btplotting-0.2.1-py3.8.egg\btplotting\live\client.py", line 177, in _createmodel
tabs = Tabs(
File "C:\Python\python3.8.9\lib\site-packages\bokeh-3.2.0.dev1-py3.8.egg\bokeh\model\model.py", line 97, in new
raise ValueError("'id' cannot be used together with property initializers")
ValueError: 'id' cannot be used together with property initializers

Tried python 3.8.9, 3.8.6, but it didn't work
Use btplotting version 0.2.1

@zgpnuaa
Copy link

zgpnuaa commented Jun 29, 2023

Did you find the cause of the problem when trading in live mode? @arronqing

@happydasch
Copy link
Owner

Will close this in favor of #46

@happydasch happydasch closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
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

3 participants