Open solismortis opened 2 years ago
Hi @Melanol thanks for reaching out.
I'm having trouble reproducing the error as ALT+Scroll works fine for me
in both my linux machine and macbook pro with tensorboard 2.9.1
.
Could you try
$ virtualenv -p python3 tf
$ source tf/bin/activate
(tf)$ pip install --upgrade pip
(tf)$ pip install tf-nightly -r tensorboard/pip_package/requirements.txt -r tensorboard/pip_package/requirements_dev.txt
as mentioned in https://github.com/tensorflow/tensorboard/blob/master/DEVELOPMENT.md#how-to-develop-tensorboard to run tensorboard under a clean virutalenv
? I wonder if it might be due to some weird dependency issue that caused the problem.
Also if you're a mac user or you're using virtual machine(or some remote desktop) via Mac sometimes the ALT key mapping can be weird so might be worth checking that you're pressing the "right" ALT key.
@qihach64 I get ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'tensorboard/pip_package/requirements.txt'
.
I am in Ubuntu.
So you need to:
git clone git@github.com:tensorflow/tensorboard.git
cd [path/to/tensorboard]
virtualenv
(tf)$ bazel run //tensorboard -- --logdir /path/to/logs
Too much trouble. I just wanted to report that such bug exists.
Sure, no worries, I will try to reproduce the same error given the debugging info you provided. Thanks!
One last question, could you try other key such that holding it & using scroll wheel works as expected? Just want to make sure it's not the key mapping that caused the issue. thx!
Holding CTRL and scrolling zooms the page.
I mean, if it happens that often, maybe tensorboard needs buttons for this.
Hi @Melanol , thanks for the report.
Our check for whether you are pressing the ALT key is very simple. We only check if the WheelEvent includes the altKey property set to true: https://cs.opensource.google/tensorflow/tensorboard/+/master:tensorboard/components/vz_line_chart2/panZoomDragLayer.ts;l=104;drc=367839f30de3968eff5fecb8b38e1d5782434b6b
In order to help troubleshoot, could you please try out this jsfiddle: https://jsfiddle.net/ebrf64pc/1/
When you get it to run, press ALT key and click the "HOLD ALT AND CLICK ME" button. Does it output "You were holding ALT" in the box beside the button?
@bmd3k It says "You were holding ALT".
Would you also mind opening the "Time Series" tab (at the top), finding a scalar chart there, and seeing if you can successfully ALT+scroll to zoom?
@bmd3k Same behavior.
Mysterious.
Unfortunately, since none of us can reproduce this, we won't be able to debug much further. If you have the time to debug further and try to identify a root cause, that would be great. I recognize, though, that it might be more effort than it is worth.
I agree with your sentiment that "if it happens that often, maybe tensorboard needs buttons for this." I will leave this issue open in case any other users want to chime in saying they have encountered the same problem. If we get a few similar reports and we determine a root cause then we can consider adding another affordance for zooming.
Environment information (required)
Diagnostics
Diagnostics output
`````` --- check: autoidentify INFO: diagnose_tensorboard.py version e43767ef2b648d0d5d57c00f38ccbd38390e38da --- check: general INFO: sys.version_info: sys.version_info(major=3, minor=10, micro=4, releaselevel='final', serial=0) INFO: os.name: posix INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='REDACTED', release='5.15.0-41-generic', version='#44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022', machine='x86_64') INFO: sys.getwindowsversion(): N/A --- check: package_management INFO: has conda-meta: True INFO: $VIRTUAL_ENV: None --- check: installed_packages INFO: installed: tensorboard==2.9.1 WARNING: no installation among: ['tensorflow', 'tensorflow-gpu', 'tf-nightly', 'tf-nightly-2.0-preview', 'tf-nightly-gpu', 'tf-nightly-gpu-2.0-preview'] WARNING: no installation among: ['tensorflow-estimator', 'tensorflow-estimator-2.0-preview', 'tf-estimator-nightly'] INFO: installed: tensorboard-data-server==0.6.1 --- check: tensorboard_python_version INFO: tensorboard.version.VERSION: '2.9.1' --- check: tensorflow_python_version Traceback (most recent call last): File "/home/mel/PycharmProjects/melanol_open_ai_gym/tensorboard_bug_reporting.py", line 522, in main suggestions.extend(check()) File "/home/mel/PycharmProjects/melanol_open_ai_gym/tensorboard_bug_reporting.py", line 75, in wrapper result = fn() File "/home/mel/PycharmProjects/melanol_open_ai_gym/tensorboard_bug_reporting.py", line 278, in tensorflow_python_version import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow' --- check: tensorboard_data_server_version INFO: data server binary: '/home/mel/miniconda3/envs/dm_control_tripod/lib/python3.10/site-packages/tensorboard_data_server/bin/server' INFO: data server binary version: b'rustboard 0.6.1' --- check: tensorboard_binary_path INFO: which tensorboard: b'/home/mel/miniconda3/envs/dm_control_tripod/bin/tensorboard\n' --- check: addrinfos socket.has_ipv6 = True socket.AF_UNSPEC =Chrome 103.0.5060.114 (Official Build) (64-bit)
Issue description
ALT+Scroll only scrolls the page for me. Same for scalars and time series. If I try this in Opera Version:89.0.4447.51, it opens the menu instead, same for Firefox.