Thanks Stuart, I was looking at this first thing then work got in the way, but some googling while on a conference call showed others have the same problem:
https://github.com/ranger/ranger/issues/823
Talks about changes to commands.py - just curious something has changed as the emonpi is on private subnet so I don’t worry too much about OS updates and only Emonhub has been updated.
I added “import re” below the import for traceback, and that’s fixed it.
The only problem now is that I can see the Inverter is 55.4c and its been cloudy on and off this morning! 
