C:\Users\vedurm01\agentMET4FOF\venv\Scripts\python.exe C:/Users/vedurm01/agentMET4FOF/agentMET4FOF_tutorials/tutorial_2_math_agent.py
Error on connecting to existing name server at http://0.0.0.0:3333: Could not locate the name server!
Starting NameServer...
Broadcast server running on 0.0.0.0:9091
NS running on 0.0.0.0:3333 (0.0.0.0)
URI = PYRO:Pyro.NameServer@0.0.0.0:3333
Traceback (most recent call last):
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 511, in connect_and_handshake
sock = socketutil.createSocket(connect=connect_location,
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\socketutil.py", line 307, in createSocket
sock.connect(connect)
OSError: [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 2009, in _locateNS
proxy._pyroBind()
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 408, in _pyroBind
return self.__pyroCreateConnection(True)
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 596, in __pyroCreateConnection
connect_and_handshake(conn)
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 549, in connect_and_handshake
raise ce
Pyro4.errors.CommunicationError: cannot connect to ('0.0.0.0', 3333): [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\osbrain\proxy.py", line 43, in locate_ns
Pyro4.locateNS(host, port)
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\Pyro4\core.py", line 2016, in _locateNS
raise e
Pyro4.errors.NamingError: Failed to locate the nameserver
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/vedurm01/agentMET4FOF/agentMET4FOF_tutorials/tutorial_2_math_agent.py", line 72, in <module>
main()
File "C:/Users/vedurm01/agentMET4FOF/agentMET4FOF_tutorials/tutorial_2_math_agent.py", line 51, in main
agentNetwork = AgentNetwork()
File "C:\Users\vedurm01\agentMET4FOF\agentMET4FOF\network.py", line 595, in __init__
self.start_server_osbrain(ip_addr, port)
File "C:\Users\vedurm01\agentMET4FOF\agentMET4FOF\network.py", line 668, in start_server_osbrain
self.ns = run_nameserver(addr=ip_addr + ":" + str(port))
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\osbrain\nameserver.py", line 233, in run_nameserver
return NSProxy(addr)
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\osbrain\proxy.py", line 329, in __init__
locate_ns(nsaddr, timeout)
File "C:\Users\vedurm01\agentMET4FOF\venv\lib\site-packages\osbrain\proxy.py", line 49, in locate_ns
raise TimeoutError('Could not locate the name server!')
TimeoutError: Could not locate the name server!
Tutorials don't run on Windows. The issue seems to be the address http://0.0.0.0:3333. They work after changing the backend to Mesa.
Related output: