Go Down

Topic: Plotly stops sending after a few data points (Read 608 times) previous topic - next topic


And the datapoints seem to start breaking at different points in time:

I keep weird JSON errors also:

2014-07-08 23:35:45 DEBUG: Traceback:
Traceback (most recent call last):
  File "/root/YunMessenger/Console.py", line 59, in read
    self.onMessage(publish_route, msg)
  File "/root/YunMessenger/Event.py", line 24, in __call__
    self[uid](*args, **kwargs)
  File "/root/run.py", line 98, in handlePlotlyMessages
    data = json.loads(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Plotly used to work before my yun upgrade. I'm running the latest version of plotly's yun python scripts. Any idea what's happening here?


It looks like a pure python issue: have you googled for that error message?

Go Up