Replies: 3 comments 4 replies
-
|
Do you use |
Beta Was this translation helpful? Give feedback.
-
|
Hello , @rodja, below is the code sample I use to create the widget( in this case its ui.table): class CustomTable(ui.table):
def __init__(self, *, rows, columns = None, column_defaults = None, row_key = 'id', title = None, selection = None, pagination = None, on_select = None, on_pagination_change = None):
super().__init__(rows=rows, columns=columns, column_defaults=column_defaults, row_key=row_key, title=title, selection=selection, pagination=pagination, on_select=on_select, on_pagination_change=on_pagination_change)
self.indexed_column_name_dict : Dict[int, str] = Nonethis issue will only happens if the session is idling for a while( usually for several hours), and after being packaged with pyinstaller. |
Beta Was this translation helpful? Give feedback.
-
|
For reference, here's a cross-post on reddit where another user reports a similar problem: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Have anyone encountered an issue that after leaving a session running for long hours, some widgets(like ui.table) stop response to interactions like selecting and sorting etc. which leads to crashing the whole process.
I encountered this problem only with the pyinstaller packaged version.
How I encountered the problem is : I started an instance of my app then close the browser and leave the instance running for few hours, when I trying to reaccess the instance from browser the UI initiated normally but the widget like ui.table freezes when I trying to interact with it, and eventually crashes without any tracebacks.
I wonder if there are anyone knows the solution to this problem.
Beta Was this translation helpful? Give feedback.
All reactions