Skip to content

show_band_tool() error #15

@arafune

Description

@arafune

Here is the error message of "example_data.cut.S.show_band_tool()"

ERROR:tornado.application:Uncaught exception GET /autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none (::1)
HTTPServerRequest(protocol='http', host='localhost:55876', method='GET', uri='/autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/views/autoload_js_handler.py", line 62, in get
session = await self.get_session()
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/views/session_handler.py", line 144, in get_session
session = await self.application_context.create_session_if_needed(session_id, self.request, token)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/contexts.py", line 243, in create_session_if_needed
self._application.initialize_document(doc)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/application/application.py", line 194, in initialize_document
h.modify_document(doc)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/application/handlers/function.py", line 143, in modify_document
self._func(doc)
File "/Users/arafune/src/arpes/arpes/plotting/band_tool.py", line 330, in tool_handler
self.center_float_widget.on_change(set_center_float_value)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/model/model.py", line 434, in on_change
descriptor = self.lookup(attr)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/core/has_props.py", line 466, in lookup
attr = getattr(cls, name, None)
TypeError: getattr(): attribute name must be string
ERROR:tornado.application:Uncaught exception GET /autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none (::1)
HTTPServerRequest(protocol='http', host='localhost:55876', method='GET', uri='/autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/views/autoload_js_handler.py", line 62, in get
session = await self.get_session()
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/views/session_handler.py", line 144, in get_session
session = await self.application_context.create_session_if_needed(session_id, self.request, token)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/server/contexts.py", line 243, in create_session_if_needed
self._application.initialize_document(doc)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/application/application.py", line 194, in initialize_document
h.modify_document(doc)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/application/handlers/function.py", line 143, in modify_document
self._func(doc)
File "/Users/arafune/src/arpes/arpes/plotting/band_tool.py", line 330, in tool_handler
self.center_float_widget.on_change(set_center_float_value)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/model/model.py", line 434, in on_change
descriptor = self.lookup(attr)
File "/Users/arafune/anaconda/envs/arpes/lib/python3.8/site-packages/bokeh/core/has_props.py", line 466, in lookup
attr = getattr(cls, name, None)
TypeError: getattr(): attribute name must be string
ERROR:tornado.access:500 GET /autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none (::1) 32.24ms
ERROR:tornado.access:500 GET /autoload.js?bokeh-autoload-element=1001&bokeh-absolute-url=http://localhost:55876&resources=none (::1) 32.24ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions