Skip to content

_tkinter.TclError: grab failed: window not viewable #53

Description

@Bee-BeanBag

Pipeline stage where the bug occurs

Dashboard — display, refresh, or layout

Adapt version

0.1.3

Radar site and data source

No response

What happened?

Error when running in dashboard.

Traceback (most recent call last):
File "/home/blamsma/anaconda3/envs/adapt_env/lib/python3.13/site-packages/matplotlib/cbook.py", line 361, in process
func(*args, **kwargs)
~~~~^^^^^^^^^^^^^^^^^
File "/home/blamsma/Adapt/src/adapt/consumers/live/dashboard.py", line 2328, in _on_cell_click
action = self._ask_overflow_action()
File "/home/blamsma/Adapt/src/adapt/consumers/live/dashboard.py", line 2361, in _ask_overflow_action
win.grab_set()
~~~~~~~~~~~~^^
File "/home/blamsma/anaconda3/envs/adapt_env/lib/python3.13/tkinter/init.py", line 1058, in grab_set
self.tk.call('grab', 'set', self._w)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: grab failed: window not viewable

Steps to reproduce

Run the dashboard.
Interact with 8 cells to get the "too may tracks selected" window

Full error message or traceback

Configuration file (redact credentials)

Environment

Python 3.11, linux environment

Checklist

  • I checked the documentation and existing issues
  • I can reproduce this consistently
  • This occurs on the latest release

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingminordoes not affect normal operations.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions