Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap_Task #54

Closed
Jeins98 opened this issue Mar 19, 2019 · 2 comments
Closed

wrap_Task #54

Jeins98 opened this issue Mar 19, 2019 · 2 comments

Comments

@Jeins98
Copy link

Jeins98 commented Mar 19, 2019

  • bleak version: 0.3
  • Python version: 3.6
  • Operating System: Windows

Description

I want to start a notification. But every time I want to start it, I get an error.

What I Did

Traceback (most recent call last):
  File "C:/Arbeit/Server_Bleak/temperaturesystem-master_KOPIE/TMRTFlib.py", line 572, in <module>
    loop.run_until_complete(connect_device_bleak(address, loop))
  File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 473, in run_until_complete
    return future.result()
  File "C:/Arbeit/Server_Bleak/temperaturesystem-master_KOPIE/TMRTFlib.py", line 565, in connect_device_bleak
    await client.start_notify("23EF6F02-56AC-4519-AE11-0684C77CA30E", callback)
  File "C:\Arbeit\Server_Bleak\temperaturesystem-master_KOPIE\interpreter\lib\site-packages\bleak\backends\dotnet\client.py", line 255, in start_notify
    self._bridge.StartNotify(characteristic, dotnet_callback), loop=self.loop
  File "C:\Arbeit\Server_Bleak\temperaturesystem-master_KOPIE\interpreter\lib\site-packages\bleak\backends\dotnet\utils.py", line 39, in wrap_Task
    raise BleakDotNetTaskError(task.Exception.ToString())
bleak.exc.BleakDotNetTaskError: System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei BleakBridge.Bridge.<StartNotify>d__8.MoveNext()
   --- Ende der internen Ausnahmestapelüberwachung ---
---> (Interne Ausnahme #0) System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei BleakBridge.Bridge.<StartNotify>d__8.MoveNext()<---
@Jeins98 Jeins98 closed this as completed Mar 19, 2019
@hbldh
Copy link
Owner

hbldh commented Mar 19, 2019

Did this resolve itself? Or was it something actually wrong?

@Jeins98
Copy link
Author

Jeins98 commented Mar 19, 2019

Yeah I resolve itself 👍 Like you can see above I wrote the UUID in capital letters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants