You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just tested the local_file_picker example and got this error when click on OK after selected a file :
JavaScript did not respond within 1.0 s
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\asyncio\tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\locks.py", line 213, in wait
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\zak-4\PycharmProjects\WLEDVideoSync\.venv\Lib\site-packages\nicegui\javascript_request.py", line 26, in __await__
yield from asyncio.wait_for(self._event.wait(), self.timeout).__await__()
File "C:\Program Files\Python311\Lib\asyncio\tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\zak-4\PycharmProjects\WLEDVideoSync\.venv\Lib\site-packages\nicegui\events.py", line 417, in wait_for_result
await result
File "C:\Users\zak-4\PycharmProjects\WLEDVideoSync\zla.py", line 82, in _handle_ok
rows = await ui.run_javascript(f'getElement({self.grid.id}).gridOptions.api.getSelectedRows()')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zak-4\PycharmProjects\WLEDVideoSync\.venv\Lib\site-packages\nicegui\client.py", line 209, in send_and_wait
return await JavaScriptRequest(request_id, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zak-4\PycharmProjects\WLEDVideoSync\.venv\Lib\site-packages\nicegui\javascript_request.py", line 28, in __await__
raise TimeoutError(f'JavaScript did not respond within {self.timeout:.1f} s') from e
TimeoutError: JavaScript did not respond within 1.0 s
The double-click work as expected....
This not happened on nicegui 1.4.37, where all is functional.
OS version: win 11
Python : 3.11 x64
The text was updated successfully, but these errors were encountered:
Description
Hi,
just tested the local_file_picker example and got this error when click on OK after selected a file :
The double-click work as expected....
This not happened on nicegui 1.4.37, where all is functional.
OS version: win 11
Python : 3.11 x64
The text was updated successfully, but these errors were encountered: