Hi, Gary!
I posted the error above. Here once again:
Mar 24 21:04:59 raspbee weewx[618]:     ****    File 
"/usr/share/weewx/user/cputemp.py", line 19, in AddCpuTemp
Mar 24 21:04:59 raspbee weewx[618]:     ****      if 
event.record['usUnits'] == weewx.US:
Mar 24 21:04:59 raspbee weewx[618]:     ****  NameError: name 'event' is 
not defined
Mar 24 21:04:59 raspbee weewx[618]:     ****  Exiting.

so far I can see, python is looking for name 'event', which is not defined. 
However, I think, that this is due to a wrong identation, which happend 
after simply pasting the part of Thomas listing into Mike's cputemp.py 
listing. Althoug this is only a faint idea, as I am not good in python, 
sorry. But, maybe, you see the background and can explain, how to get 
closer to this kind of errors and how to avoid them. 

Thanks anyway!
Peter

Am Donnerstag, 2. April 2020 22:51:40 UTC+2 schrieb gjr80:
>
> Can you post the error you are getting. It should be fairly self evident 
> what the issue is.
>
> Gary
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0d3cf6b6-7706-41a9-9ab7-114536e72643%40googlegroups.com.

Reply via email to