Replies: 2 comments
-
seems change nicegui version == 2.2.0, the issue missed. And now the server can be hold the long connection and keep data refreshed. |
Beta Was this translation helpful? Give feedback.
-
@USAmy This sounds like a very strange bug in version 2.9. Of course you can downgrade to 2.2 which doesn't use "ack" messages at all. But it would be great to understand what is going on. I wonder why the from nicegui import ui
@ui.page('/')
def main_page():
number = ui.number(value=0)
ui.timer(0.1, lambda: number.set_value(number.value + 1))
ui.run() |
Beta Was this translation helpful? Give feedback.
-
I met a strange issue, I write a demo to update the value in UI. but I am looking for the socket.io message, I find after the next_message_id go to 257, then the UI will not refresh or seems it is can not refresh. but the data from server still update.
any ony can give me some suggestion. Thanks very much
here is a screen:
here is code:
run with nicegui = 2.9.0
python = 3.8.0
ubuntu 18.04.6
armv7(Cortex-A12)
Beta Was this translation helpful? Give feedback.
All reactions