pymtprotocol icon indicating copy to clipboard operation
pymtprotocol copied to clipboard

AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_task'

Open gonzag88 opened this issue 6 years ago • 0 comments

Hi @piannucci

Thanks for the work you've done here. I'm developing an app for a customer who uses the GLM 50 and I need to read data from Bluethooth, so i think your code would really help me.

The problem is that I cannot start the server. I'm not a Python developer so i'm not sure if i'm doing things right, but when i do python glm-server.py i get this:

Traceback (most recent call last):
  File "glm-server.py", line 471, in <module>
    loop.create_task(runBluetoothCentralManager(
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_task'

I'm using Python 3.4.0.

Thanks a lot!!!

gonzag88 avatar Jul 09 '18 22:07 gonzag88