Skip to content

Fix blank TensorBoard pane due to existing MIME type misconfiguration on Windows #16072

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

Closed
joyceerhl opened this issue Apr 28, 2021 · 2 comments
Assignees
Labels
area-data science bug Issue identified by VS Code Team member as probable bug

Comments

@joyceerhl
Copy link

joyceerhl commented Apr 28, 2021

TensorBoard has received multiple reports of this even in the browser, so this impacts all TensorBoard users, not just VS Code TensorBoard users.

We have documented how to diagnose and fix this problem: https://github.com/microsoft/vscode-python/wiki/Troubleshooting-TensorBoard-integration-in-VS-Code#integrated-tensorboard-sessions

TensorBoard added a workaround for it that ships with the source code. tensorflow/tensorboard#3128

For whatever reason that's not working and is still hitting our customers on Windows. Ideas:

  1. Revisit the fix upstream. Maybe more is needed?
  2. Check for and overwrite bad Windows registry values ourselves.
@joyceerhl joyceerhl added bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team labels Apr 28, 2021
@joyceerhl joyceerhl self-assigned this Apr 28, 2021
@karthiknadig karthiknadig added area-data science needs PR and removed triage-needed Needs assignment to the proper sub-team labels Apr 28, 2021
@joyceerhl
Copy link
Author

Duh, the upstream workaround wasn't applied because we launch TensorBoard using the launch() function (which is their Python API for starting TensorBoard sessions), and that codepath doesn't contain their workaround. We just needed to apply the same workaround in our launcher script.

@DomInvivo
Copy link

DomInvivo commented Jun 23, 2021

Hello @joyceerhl , despite having the latest version of the Python extension, Tensorboard stays blank. I'm working on Windows, but I am connected via SSH to a remote machine running Ubuntu.

What are the steps required to make Tensorboard work?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-data science bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants