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
When I run multi_agent using run_gradio command, I will get:
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: (pid=89569)
Traceback (most recent call last):
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 346, in wrapper
return fun(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 503, in connections
rawlist = cext.proc_connections(self.pid, families, types)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted (originated from proc_pidinfo(PROC_PIDLISTFDS) 1/2)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/.../agents/examples/Muti_Agent/software_company/run_gradio.py", line 5, in
from gradio_base import WebUI, UIHelper, PORT, HOST, Client
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 91, in
PORT = check_port(PORT)
^^^^^^^^^^^^^^^^
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 75, in check_port
if is_port_in_use(port+i) == False:
^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 64, in is_port_in_use
for conn in psutil.net_connections():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/init.py", line 2163, in net_connections
return _psplatform.net_connections(kind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 248, in net_connections
cons = Process(pid).connections(kind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 353, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: (pid=89569)
The text was updated successfully, but these errors were encountered:
When I run multi_agent using run_gradio command, I will get:
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: (pid=89569)
Traceback (most recent call last):
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 346, in wrapper
return fun(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 503, in connections
rawlist = cext.proc_connections(self.pid, families, types)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted (originated from proc_pidinfo(PROC_PIDLISTFDS) 1/2)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/.../agents/examples/Muti_Agent/software_company/run_gradio.py", line 5, in
from gradio_base import WebUI, UIHelper, PORT, HOST, Client
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 91, in
PORT = check_port(PORT)
^^^^^^^^^^^^^^^^
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 75, in check_port
if is_port_in_use(port+i) == False:
^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/agents/examples/Muti_Agent/software_company/../../Gradio_Config/gradio_base.py", line 64, in is_port_in_use
for conn in psutil.net_connections():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/init.py", line 2163, in net_connections
return _psplatform.net_connections(kind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 248, in net_connections
cons = Process(pid).connections(kind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.../agents_pg/.venv/lib/python3.11/site-packages/psutil/_psosx.py", line 353, in wrapper
raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: (pid=89569)
The text was updated successfully, but these errors were encountered: