FlyingDiver / Indigo-Connected-Drive

Plugin for the BMW Connected Drive portal
MIT License
3 stars 0 forks source link

Error in plugin execution runConcurrentThread: #21

Closed ryanbuckner closed 1 year ago

ryanbuckner commented 1 year ago

Receiving the following error on run. I tried the latest code on GitHub

Sep 29, 2022 at 10:45:48 PM Reloading plugin "Connected Drive 2022.1.1" using API v3.1 Stopping plugin "Connected Drive 2022.1.1" (pid 61601) Stopped plugin "Connected Drive 2022.1.1" Starting plugin "Connected Drive 2022.1.1" (pid 61610) Started plugin "Connected Drive 2022.1.1" Connected Drive Error Error in plugin execution runConcurrentThread:

File "plugin.py", line 166, in runConcurrentThread File "plugin.py", line 220, in _do_update File "plugin.py", line 28, in haversine type: must be real number, not NoneType

Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

ryanbuckner commented 1 year ago

Receiving the following error on run. I tried the latest code on GitHub

Sep 29, 2022 at 10:45:48 PM Reloading plugin "Connected Drive 2022.1.1" using API v3.1 Stopping plugin "Connected Drive 2022.1.1" (pid 61601) Stopped plugin "Connected Drive 2022.1.1" Starting plugin "Connected Drive 2022.1.1" (pid 61610) Started plugin "Connected Drive 2022.1.1" Connected Drive Error Error in plugin execution runConcurrentThread:

File "plugin.py", line 166, in runConcurrentThread File "plugin.py", line 220, in _do_update File "plugin.py", line 28, in haversine type: must be real number, not NoneType

Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

This appears to be an issue with my BMW Connected-Drive subscription. It expired. Might give you the opportunity to put some exception language in the plugin. I'll grab a copy of the JSON before I resubscribe and PM to you

I'm also reading that "older" BMWs in US may no longer have the GPS location option. I brought my car to the dealer this weekend and it looks like they may have updated my iDrive. I'll see if the subscription renewal fixes this issue or if there is a larger problem.