-
Notifications
You must be signed in to change notification settings - Fork 51
Error message when execute #24
Comments
For the latest version of pymata-aio, you need to run Python 3.5. The async/await syntax was introduced with that release. If you would still like to use Python 3.4.3, you can dowload the code from this branch https://github.com/MrYsLab/pymata-aio/tree/version_1.x. I will close this issue. If you need any additional help on this issue please let me know. If you discover any other issues, please generate a new issue. Thanks. |
Hello, 2015-09-30 0:19 GMT+02:00 Alan Yorinks notifications@github.com:
|
@euchcat To load 1.9, type the following command: Please let me know if you still are having problems. |
Hi Alan, pymata_aio Version 1.9 Copyright (c) 2015 Alan Yorinks All rights Initializing Arduino - Please wait... Auto-discovery complete. Found 20 Shutting down ... (program exited with code: 1) There is no problem with the code execution, why this message when program 2015-10-01 0:19 GMT+02:00 Alan Yorinks notifications@github.com:
|
@euchcat I am glad you got things working. Shutdown tries to stop all of the running asyncio tasks, but it is not always successful. So upon exiting your program, the event loop may throw an exception, which is what you are seeing. This should not cause any problems, except for the message you are seeing. Your program should be totally closed. |
yes i have seeing that this message was just like a warning. i try to 2015-10-01 14:15 GMT+02:00 Alan Yorinks notifications@github.com:
|
When i execute 'pymata_aio_pymata3_example' with python 3.4, i receive this message from compiler:
Traceback (most recent call last):
File "pymata3_test1.py", line 4, in
from pymata_aio.pymata3 import PyMata3
File "/usr/local/lib/python3.4/dist-packages/pymata_aio/pymata3.py", line 23, in
from .pymata_core import PymataCore
File "/usr/local/lib/python3.4/dist-packages/pymata_aio/pymata_core.py", line 285
async def start_aio(self):
^
SyntaxError: invalid syntax
why this message from python3.4? the syntax seem correct, any suggestion ?
Tanks for your job and sinceres greatings.
Lionel
The text was updated successfully, but these errors were encountered: