Open ghltshubh opened 4 years ago
The same issue
500 Internal Server Error
Traceback (most recent call last):↵
File "/opt/conda/lib/python3.7/site-packages/tornado/web.py", line 1701, in _execute↵
result = method(*self.path_args, *self.path_kwargs)↵
File "/opt/conda/lib/python3.7/site-packages/tornado/web.py", line 3178, in wrapper↵
return method(self, args, **kwargs)↵
File "/opt/conda/lib/python3.7/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post↵
.new_instance(data["logdir"], reload_interval=reload_interval)↵
File "/opt/conda/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 221, in new_instance↵
purge_orphaned_data=purge_orphaned_data)↵
File "/opt/conda/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 47, in create_tb_app↵
tensorboard.assets_zip_provider)↵
File "/opt/conda/lib/python3.7/site-packages/tensorboard/backend/application.py", line 147, in standard_tensorboard_wsgi↵
flags, plugin_loaders, data_provider, assets_zip_provider, multiplexer↵
File "/opt/conda/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 165, in TensorBoardWSGIApp_2x↵
window_title=flags.window_title)↵
TypeError: init() got an unexpected keyword argument 'db_connection_provider'↵"
Hello,
I can confirm i have the same error -> 500 Internal Server Error if using jupyter-tensorboard==0.2.0
Traceback (most recent call last):
--
| File "/opt/app-root/lib/python3.6/site-packages/tornado/web.py", line 1701, in _execute
| result = method(*self.path_args, **self.path_kwargs)
| File "/opt/app-root/lib/python3.6/site-packages/tornado/web.py", line 3178, in wrapper
| return method(self, *args, **kwargs)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post
| .new_instance(data["logdir"], reload_interval=reload_interval)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 221, in new_instance
| purge_orphaned_data=purge_orphaned_data)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 47, in create_tb_app
| tensorboard.assets_zip_provider)
| File "/opt/app-root/lib/python3.6/site-packages/tensorboard/backend/application.py", line 147, in standard_tensorboard_wsgi
| flags, plugin_loaders, data_provider, assets_zip_provider, multiplexer
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 165, in TensorBoardWSGIApp_2x
| window_title=flags.window_title)
| TypeError: __init__() got an unexpected keyword argument 'db_connection_provider'
And if using jupyter-tensorboard==0.1.10
we have the following
Traceback (most recent call last):
--
| File "/opt/app-root/lib/python3.6/site-packages/tornado/web.py", line 1701, in _execute
| result = method(*self.path_args, **self.path_kwargs)
| File "/opt/app-root/lib/python3.6/site-packages/tornado/web.py", line 3178, in wrapper
| return method(self, *args, **kwargs)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post
| .new_instance(data["logdir"], reload_interval=reload_interval)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 148, in new_instance
| purge_orphaned_data=purge_orphaned_data)
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 46, in create_tb_app
| tensorboard.assets_zip_provider)
| File "/opt/app-root/lib/python3.6/site-packages/tensorboard/backend/application.py", line 147, in standard_tensorboard_wsgi
| flags, plugin_loaders, data_provider, assets_zip_provider, multiplexer
| File "/opt/app-root/lib/python3.6/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 113, in TensorBoardWSGIApp
| path_to_run = application.parse_event_files_spec(logdir)
| File "/opt/app-root/lib/python3.6/site-packages/tensorboard/backend/application.py", line 625, in parse_event_files_spec
| for specification in logdir_spec.split(","):
| AttributeError: 'Namespace' object has no attribute 'split'
Could you please advise? :)
I've found a solution to make it work.
I was missing from pip
-> tensorboard
Here you can find the requirements:
tensorflow==2.1.0
jupyter-tensorboard==0.2.0
tensorflow-estimator==2.1.0
tensorboard==2.1.0
And for jupyter
:
jupyter-client 6.1.3
jupyter-core 4.6.3
jupyter-kernel-gateway 2.4.0
jupyter-telemetry 0.1.0
jupyter-tensorboard 0.2.0
jupyterhub 1.1.0
jupyterlab 2.1.4
jupyterlab-server 1.1.5
After adding the missing req it worked like a charm. :)
thanks for posting solution @octavd I had same problem, this sorted it.
I've found a solution to make it work. I was missing from
pip
->tensorboard
Here you can find the requirements:
tensorflow==2.1.0 jupyter-tensorboard==0.2.0 tensorflow-estimator==2.1.0 tensorboard==2.1.0
And for
jupyter
:jupyter-client 6.1.3 jupyter-core 4.6.3 jupyter-kernel-gateway 2.4.0 jupyter-telemetry 0.1.0 jupyter-tensorboard 0.2.0 jupyterhub 1.1.0 jupyterlab 2.1.4 jupyterlab-server 1.1.5
After adding the missing req it worked like a charm. :)
thanks for your solution @octavd
I am running jupyter lab on a server and accessing it via tunneling. I have installed everything the environment but getting
Error log: