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

Startup error #9

Open
anbilly19 opened this issue Sep 13, 2023 · 1 comment
Open

Startup error #9

anbilly19 opened this issue Sep 13, 2023 · 1 comment

Comments

@anbilly19
Copy link

Following error appears when clicked on the "customizable plots tab" after successful server initialization.

E0913 11:26:42.467386 139851626170112 _internal.py:113] Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 323, in run_wsgi
    execute(self.server.app)
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 312, in execute
    application_iter = app(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 563, in __call__
    return self._app(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 155, in wrapper
    return wsgi_app(*args)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/security_validator.py", line 82, in __call__
    return self._application(environ, start_response_proxy)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/path_prefix.py", line 71, in __call__
    return self._application(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/experiment_id.py", line 76, in __call__
    return self._application(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/empty_path_redirect.py", line 47, in __call__
    return self._application(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 586, in _route_request
    return self.exact_routes[clean_path](environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/wrappers/base_request.py", line 238, in application
    resp = f(*args[:-2] + (request,))
  File "/usr/local/lib/python3.6/dist-packages/tensorboard_plugin_customizable_plots/plugin.py", line 144, in _serve_runs
    ctx = plugin_util.context(request.environ)
AttributeError: module 'tensorboard.plugin_util' has no attribute 'context'
@abdeladim-s
Copy link
Owner

@anbilly19, It seems like you have an issue with your tensorboard installation, make sure you installed tensorflow first and then tensorboard
Could you please follow the advices from this thread:

I got it working with the following steps:

  1. pip uninstall tensorflow
  2. pip uninstall tensorboard
  3. go to site-packages and remove tensorflow/tensorboard folders
  4. Reinstalled tensorflow - pip install [whatever wheel package]

You can find the wheel packages here for specific install types: https://www.tensorflow.org/install/pip

Note: I only stated the specific wheel package because that's what I did.

I know this doesn't explain the 'why' of the issue but it got things going for me. Hope it helps!

Or go over the thread and try the other suggestions!

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

2 participants