Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with wait() method in agent receiving message #104

Open
Hurmatullah opened this issue Nov 1, 2022 · 2 comments
Open

Problem with wait() method in agent receiving message #104

Hurmatullah opened this issue Nov 1, 2022 · 2 comments

Comments

@Hurmatullah
Copy link

  • SPADE version: latest version
  • Python version: 3.9
  • Operating System: Windows11

Description

Could you please check the wait() method in https://spade-mas.readthedocs.io/en/latest/agents.html#sending-and-receiving-messages

I tried to write agent receiving message code but i was facing with the error i will be sharing in below for your consideration, even i copied your documentation code but once again i faced with such this issue.

Error:
future.wait() # wait for receiver agent to be prepared.
AttributeError: 'Future' object has no attribute 'wait'

@Hurmatullah Hurmatullah changed the title Problem with wait() method in receiving message Problem with wait() method in agent receiving message Nov 1, 2022
@tderick
Copy link

tderick commented Jan 6, 2023

I also have the same problem with spade==3.2.2

@0x1F602
Copy link

0x1F602 commented May 21, 2023

@Hurmatullah This is because spade does not support version 3.9 on the main release yet. There were breaking changes with the async io libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants