Advertisement
Guest User

Untitled

a guest
May 11th, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | Software | 0 0
  1. Exception in callback AppSession._on_scriptrunner_event.<locals>.<lambda>() at /usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py:518
  2.  
  3. handle: <Handle AppSession._on_scriptrunner_event.<locals>.<lambda>() at /usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py:518>
  4.  
  5. Traceback (most recent call last):
  6. File "/usr/local/lib/python3.11/site-packages/streamlit/web/bootstrap.py", line 347, in run
  7.  
  8. if asyncio.get_running_loop().is_running():
  9. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  10. RuntimeError: no running event loop
  11.  
  12. During handling of the above exception, another exception occurred:
  13.  
  14.  
  15. Traceback (most recent call last):
  16. File "/usr/local/lib/python3.11/asyncio/events.py", line 84, in _run
  17. self._context.run(self._callback, *self._args)
  18. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 518, in <lambda>
  19. lambda: self._handle_scriptrunner_event_on_event_loop(
  20. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 612, in _handle_scriptrunner_event_on_event_loop
  22. msg = self._create_new_session_message(
  23. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 742, in _create_new_session_message
  25. _populate_user_info_msg(imsg.user_info)
  26. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 990, in _populate_user_info_msg
  27. inst = Installation.instance()
  28. ^^^^^^^^^^^^^^^^^^^^^^^
  29. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 228, in instance
  30. cls._instance = Installation()
  31. ^^^^^^^^^^^^^^
  32. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 236, in __init__
  33. self.installation_id_v4 = _get_machine_id_v4()
  34. ^^^^^^^^^^^^^^^^^^^^
  35. File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 209, in _get_machine_id_v4
  36. with file_util.streamlit_write(filepath) as output:
  37. File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__
  38. return next(self.gen)
  39. ^^^^^^^^^^^^^^
  40. File "/usr/local/lib/python3.11/site-packages/streamlit/file_util.py", line 109, in streamlit_write
  41. os.makedirs(os.path.dirname(path), exist_ok=True)
  42. File "<frozen os>", line 215, in makedirs
  43. File "<frozen os>", line 225, in makedirs
  44. PermissionError: [Errno 13] Permission denied: '/nonexistent'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement