Graphite interface not working

Hi guys

I just setup graphite - but im getting an error in the emonhub log file

2018-07-01 22:24:07,148 WARNING  Graphite   Exception caught in Graphite thread. Traceback (most recent call last):
  File "/home/pi/emonhub/src/emonhub_interfacer.py", line 40, in wrapper
return f(*args)
  File "/home/pi/emonhub/src/emonhub_interfacer.py", line 128, in run
self.action()
  File "/home/pi/emonhub/src/emonhub_interfacer.py", line 198, in action
self.flush()
  File "/home/pi/emonhub/src/emonhub_interfacer.py", line 216, in flush
if self._process_post(databuffer):
  File "/home/pi/emonhub/src/interfacers/EmonHubGraphiteInterfacer.py", line 69, in _process_post
timestamp = frame['timestamp']
KeyError: 'timestamp'

I have tested posting to to the graphite db from bash and that works fine, but no data is inserted from the interfacer

Does anyone have any ideas?

Bit more info.

If I hard code the timestamp value in the py script it works.

I’ll raise an issue on git hub

Issue raised with fix EmonHubGraphiteInterfacer.py is not submitting data · Issue #65 · openenergymonitor/emonhub · GitHub

Edit - reformatted text for readability. Moderator, BT