Traceback (most recent call last):


 "/var/www/mycodo/mycodo/utils/influx.py", line 112, in read_last_influxdb

number = len(last_measurement['series'][0]['values'])
KeyError: 'series'

Traceback (most recent call last):

 "<ipython-input-9-4512588e71f2>", line 1, in <module>
pd.concat([s1,df,s2], axis=1).shape

 "c:\dev\code\pandas\pandas\tools\merge.py", line 881, in concat
return op.get_result()

 "c:\dev\code\pandas\pandas\tools\merge.py", line 960, in get_result
columns=self.new_axes[1])

 "c:\dev\code\pandas\pandas\core\frame.py", line 376, in __init__
mgr = self._init_dict(data, index, columns, dtype=dtype)

 "c:\dev\code\pandas\pandas\core\frame.py", line 505, in _init_dict
dtype=dtype)

 "c:\dev\code\pandas\pandas\core\frame.py", line 5181, in _arrays_to_mgr
mgr = BlockManager(blocks, axes)

 "c:\dev\code\pandas\pandas\core\internals.py", line 499, in __init__
self._verify_integrity()

 "c:\dev\code\pandas\pandas\core\internals.py", line 584, in _verify_integrity
raise AssertionError('Block shape incompatible with manager')AssertionError: Block shape incompatible with manager