piannucci / pymtprotocol

Python implementation of the BLE protocol for remote-controlling the Bosch GLM100 laser measurer
31 stars 14 forks source link

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

Open gonzag88 opened 6 years ago

gonzag88 commented 6 years ago

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!!!