[BUG] Setting view while a panel is opened in a remote session breaks the app #4603
Open
1 of 3 tasks
Labels
bug
Bug fixes
Instructions
Thank you for submitting an issue. Please refer to our
issue policy
for information on what types of issues we address.
example:
Describe the problem
Describe the problem clearly here. Include descriptions of the expected
behavior and the actual behavior.
If you launch the app remotely, and try to set view (ctx.ops.set_view or ctx.trigger(“set_view”)) while a panel is opened, the app breaks. Any of the plugins that involve a panel (reverse image search, voxelgpt, etc.) is therefore not working when launching fiftyone through remote.
Code to reproduce issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. Please avoid sharing code that relies on your local data or
datasets. Include a short video or screenshot if the bug is in the App.
Python operator
Typescript for panel
Server command line (Linux)
Local command line (Mac)
System information
python --version
): 3.10.12fiftyone --version
): 0.23.8Other info/logs
Include any logs or source code that would be helpful to diagnose the problem.
If including tracebacks, please include the full traceback. Large logs and
files should be attached. Please do not use screenshots for sharing text. Code
snippets should be used instead when providing tracebacks, logs, etc.
Once you open the app remotely (whether its through
fiftyone app launch --remote --wait -1 --port 5151 and fiftyone app connect as described earlier, or through a jupyter notebook on a remote ssh) and try to set view in however ways possible through a python / js operator while any panel is still open, the app will break and redirect you to the default fiftyone page.
You can also do select_group_slices(media_type=“image”) and the likes on the app directly while a panel is open and cause the same behaviour.
Once it breaks, the app doesn’t work anymore. it continuously states "Could not connect session, trying again in 10 seconds"
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
from the FiftyOne community
The text was updated successfully, but these errors were encountered: