Open progressEdd opened 3 weeks ago
Thanks for the detailed report! Just wanted to note that the browser console logs are available on Discourse for anyone viewing this: https://discourse.holoviz.org/t/debugging-fileinput-value-on-google-cloud-vertex-ai-workbench-jupyter/7295/6?u=ahuang11
Hi all, I had issues where uploading a file does not overwrite
FileInput.value
. I was told to file a bug report after my post on the forum. The files are 10-15 kb and I only upload 2 files at a time for these tests. I will also reach out to GCP to see if they can provide any additional debugging outputs.ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc)
uname -a
:Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
uname -a
:Linux vertex-ai-test 5.10.0-29-cloud-amd64 #1 SMP Debian 5.10.216-1 (2024-05-03) x86_64 GNU/Linux
package/environment (remote)
conda info
conda list
pip list freeze
Description of expected behavior and the observed behavior
After uploading a file or 2 into the widget, the
FileInput.value
is not overwritten in memory. The expected output should return a list of the file input as a string. See the screenshot below of the bug As of the current moment, I suspect it's a issue with Google's version of Jupyterlab as when we run the same codeblocks on a a classic jupyter notebook the issue doesn't occurComplete, minimal, self-contained example code that reproduces the issue
I do not encounter this issue when I run the same code above in a local vscode notebook. I'm not sure if the issue is with GCP or Jupyter as I've upgraded to the latest version of all packages
Chatgpt suggested running this code to listen for any uploads, but it fails
it prints out None
Stack traceback and/or browser JavaScript console output
console.log
Screenshots or screencasts of the bug in action