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

Extension error on launch #66

Open
SpontaneousDuck opened this issue Aug 5, 2020 · 6 comments
Open

Extension error on launch #66

SpontaneousDuck opened this issue Aug 5, 2020 · 6 comments

Comments

@SpontaneousDuck
Copy link

I am using my own jupyter notebook container and think I have installed everything as requested by the instructions for jupyter_tensorboard. When trying to open Tensorboard I get the extension error. My Chrome console shows the below error:
image
The versions for relevant packages are shown below:
image

Thanks for the help!

@rahulpshah
Copy link

Can you post the server logs from the jupyter server, it seems like the issue is related to tensorboard moving to 0.2.3.

@victor-moreno
Copy link

tensorboard 2.3.0 doesn't have application.standard_tensorboard_wsgi anymore:

[E 14:04:39.551 NotebookApp] 500 POST /api/tensorboard?1597493079364 (10.84.160.17) 117.26ms referer=http://z97mx.local:9996/lab
[E 14:07:23.942 NotebookApp] Uncaught exception POST /api/tensorboard?1597493243873 (10.84.160.17)
HTTPServerRequest(protocol='http', host='z97mx.local:9996', method='POST', uri='/api/tensorboard?1597493243873', version='HTTP/1.1', remote_ip='10.84.160.17')
Traceback (most recent call last):
File "/packages/tornado/web.py", line 1701, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/packages/tornado/web.py", line 3178, in wrapper
return method(self, *args, **kwargs)
File "/packages/jupyter_tensorboard/api_handlers.py", line 40, in post
.new_instance(data["logdir"], reload_interval=reload_interval)
File "/packages/jupyter_tensorboard/tensorboard_manager.py", line 223, in new_instance
create_tb_app(
File "/packages/jupyter_tensorboard/tensorboard_manager.py", line 45, in create_tb_app
# return application.standard_tensorboard_wsgi(
AttributeError: module 'tensorboard.backend.application' has no attribute 'standard_tensorboard_wsgi'

The new function is application.TensorBoardWSGIApp but compatibility is uncertain. I have renamed the calls and the error disappears, but I still cannot manage to get it working in a docker container

@andreasfragner
Copy link

Same issue here. Doesn't seem entirely straight-forward to just replace tensorboard.backend.application.standard_tensorboard_wsgi with TensorBoardWSGI. Downgrading tensorboard may be an option but not sure which version that change happened in

@NanoCode012
Copy link

NanoCode012 commented Sep 5, 2020

Hi @andreasfragner and those reading , I got this error when trying to use jupyterlab_tensorboard (frontend of this repo for jupyterlab) chesterli29/jupyterlab_tensorboard#25 (comment) . I fixed it by the following.

Simple solution would be to tell users to pip install tensorboard==2.2.

@cliffwoolley
Copy link

If you want to use TB 2.3 or later, can you please try with #63 ?

@kuldip-barot
Copy link

Thanks @NanoCode012 pip install tensorboard==2.2 solved my problem too.

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

7 participants