Hello,
I would like to create my first agent. To do that, i launch configure.py and runspade.py as follow:
(python27) C:\Anaconda3\envs\python27\Scripts\spade>python configure.py localhost
Translating localhost DNS to IP (127.0.0.1).
(python27) C:\Anaconda3\envs\python27\Scripts\spade>python runspade.py
Starting SPADE......←[32m [done]←[0m
←[33;1m [info] ←[0mWebUserInterface serving at port 8008
I created "myFirstAgent.py":
class MyAgent(spade.Agent.Agent):
print ("MyAgent starting . . .")
if __name__ == "__main__":
but when i execute the above code, i got the following error:
ag...@myhost.myprovider.com:[spade] There is no SPADE platform at
myhost.myprovider.com . Agent dying... , error
ag...@myhost.myprovider.com:[spade] Did not send 'unavailable' presence: 'MyAgent' object has no attribute 'roster' , warn
AgentNotRegisteredError
How can i register my agent ? how can i resolve this error ?
Thank you for your help