Comments (5)
I tried the same with Python 3.7.6, and it works.
from spade.
Hi
I've never tested SPADE with python >=3.8.
I'll try to test it and fix code ASAP.
from spade.
However, having a start and a stop in a row may be too fast. Try introducing a sleep between them, or the common:
dummy.start()
while True:
try:
time.sleep(1)
except KeyboardInterrupt:
break
dummy.stop()
from spade.
However, having a start and a stop in a row may be too fast. Try introducing a sleep between them, or the common:
dummy.start() while True: try: time.sleep(1) except KeyboardInterrupt: break dummy.stop()
Before opening this issue I also tried the second example present in "Quick Start Guide".
It seems to adopt the above mentioned pattern, but the example code still doesn't work with python 3.8.1, while (I've tried and) it works with python 3.7.6.
It won't go ahead from here.
from spade.
hello guys, How can I broadcast messages using spade in a multi-agent system? can you please give me some sample code in python (SPADE)?
from spade.
Related Issues (20)
- Broadcasting between agents HOT 1
- The loop parameter to Queue is deprecated/removed HOT 4
- Problem with wait() method in agent receiving message HOT 2
- Spade Agents First Time Configuration Issue/Error HOT 2
- Hello. There is an issue with python3.10 related to behabiour component: File "/usr/local/lib/python3.10/dist-packages/spade/behaviour.py", line 63, in set_agent self.queue = asyncio.Queue(loop=self.agent.loop) File "/usr/lib/python3.10/asyncio/queues.py", line 34, in __init__ super().__init__(loop=loop) File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__ raise TypeError( TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary HOT 5
- Agent not receiving messages in SPADE HOT 2
- Unsubscribe HOT 1
- Recieve external messages from an api rest HOT 1
- Agent receives only 2 messages when it should receive 4. HOT 8
- connection failed: connection timeout (dead time hard limit exceeded) HOT 9
- Agents ignoring offline messages HOT 3
- Finishing program after OneShotBehaviour HOT 2
- How to run agent behaviors without connecting to an XMPP Server? HOT 1
- SPADE - Asyncio 3.9.2 compability?
- Installing spade==3.1.6 : aiohttp_jinja2 dependency issue
- [API] how to create REST API and connect Redis HOT 2
- Don't know what i am doing wrong. HOT 1
- spade.cli:main missing ?
- Mobility of agents HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spade.