Jump to content
green light

Leaf Spy Error

Recommended Posts

I have an error message while using leaf spy:

{"status": "error", "exception": "Traceback (most recent call last):\n  File \"/home/lincoln/electrictripplanner-web/api/1/telemetry.py\", line 197, in send_leafspy\n    lh = leafspy_handler.LeafSpyHandler(car_model,raw_tlm=urlparse.parse_qs(req.args),last_tlm=user_tlm[\"latest_tlm\"])\n  File \"/home/lincoln/electrictripplanner-web/api/1/obd_lib/leafspy_handler.py\", line 51, in __init__\n    tlm[\"power\"] = tlm[\"voltage\"] * tlm[\"current\"] / 1000\nTypeError: unsupported operand type(s) for *: 'NoneType' and 'NoneType'\n"}

Share this post


Link to post
Share on other sites

get_user_telemetry returns a speed of "null". And "view live data" has a speed of "-- km/h". Could that be the reason why no real time charts are shown?

 

Share this post


Link to post
Share on other sites
5 hours ago, green light said:

get_user_telemetry returns a speed of "null". And "view live data" has a speed of "-- km/h". Could that be the reason why no real time charts are shown?

Indeed it was, you know the drill, fix a bug for another user, cause a bug for someone else.  Or in this case, everyone else.

Share this post


Link to post
Share on other sites

Yes, I do. And I am sorry to tell you that there is still a problem: Speed is now stuck to zero, no longer dashes but 0 km/h and due to that no chart.

 

Share this post


Link to post
Share on other sites
On 6/4/2019 at 10:35 AM, green light said:

Yes, I do. And I am sorry to tell you that there is still a problem: Speed is now stuck to zero, no longer dashes but 0 km/h and due to that no chart.

Hmm, my tests work fine now, perhaps an inadvertent rollback on my bugfix last night or something?

Share this post


Link to post
Share on other sites

I will test this again today with my simulator setup. 12 hours ago it worked indeed, maybe my previous test was too early before you deployed your fix.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


Contact Us

Bo - Lead Developer and Tesla owner: bo@abetterrouteplanner.com

Jason - New Car Models, Developer and Bolt owner : jason@abetterrouteplanner.com

Idreams - Forums Administrator, Forums Developer and Tesla owner : idreams@abetterrouteplanner.com

×
×
  • Create New...