Hi MrYsLab,
Thanks for the nice and light weight application, it has been very useful for using in the teaching environment.
Sometimes I get upon first connect the following error message:
TypeError: 'NoneType' object is not iterable
It was worse when I was attempting to start both the script and client, but has improved after using the "-c no client" at startup. Is is some sort of race condition in startup ?
Thanks,
Martin
full log: 1. unsuccessful 2. successful (both with -c no client)
C:\Users\dest>s2aio -c no_client
pymata_aio Version 2.15 Copyright (c) 2015-2016 Alan Yorinks All rights reserved.
Using COM Port:com5
Initializing Arduino - Please wait... list index out of range
Shutting down ...
--- Logging error ---
--- Logging error ---
Exception ignored in: <bound method Task.del of <Task finished coro=<PymataCore.command_dispatcher() done, defined at c:\users\mthomaz\appdata\l
cal\programs\python\python35-32\lib\site-packages\pymata_aio\pymata_core.py:1250> exception=SystemExit(0,)>>
Traceback (most recent call last):
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\asyncio\tasks.py", line 93, in del
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\asyncio\futures.py", line 215, in del
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\asyncio\base_events.py", line 1177, in call_exception_handler
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init_.py", line 1308, in error
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init__.py", line 1415, in log
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init_.py", line 1425, in handle
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init__.py", line 1495, in callHandlers
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init__.py", line 855, in handle
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init__.py", line 986, in emit
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\logging__init__.py", line 908, in handleError
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\traceback.py", line 100, in print_exception
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\traceback.py", line 474, in init
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\traceback.py", line 358, in extract
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\traceback.py", line 282, in line
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\linecache.py", line 16, in getline
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\linecache.py", line 47, in getlines
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\linecache.py", line 136, in updatecache
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\tokenize.py", line 458, in open
File "c:\users\mthomaz\appdata\local\programs\python\python35-32\lib\encodings__init__.py", line 98, in search_function
File "", line 969, in _find_and_load
File "", line 954, in _find_and_load_unlocked
File "", line 887, in _find_spec
TypeError: 'NoneType' object is not iterable
C:\Users\dest>s2aio -c no_client
pymata_aio Version 2.15 Copyright (c) 2015-2016 Alan Yorinks All rights reserved.
Using COM Port:com5
Initializing Arduino - Please wait...
Arduino Firmware ID: 2.5 FirmataPlus32u4.ino
Auto-discovery complete. Found 30 Digital Pins and 12 Analog Pins