Hi Luc,

I have updated to the version of cmon provide in your link.

I did a wee_extension weewx-cmon-master.zip
everthing i think went OK, but now weewx wont start I get this error:

May  2 11:37:21 weewx-pi systemd[1]: Started Session c3 of user pi.
May  2 11:37:24 weewx-pi weewx[556]: sdr: MainThread: timed out waiting for 
stderr-thread
May  2 11:37:24 weewx-pi weewx[556]: engine: Caught unrecoverable exception 
in engine:
May  2 11:37:24 weewx-pi weewx[556]:     ****  No module named builtins
May  2 11:37:24 weewx-pi weewx[556]:     ****  Traceback (most recent call 
last):
May  2 11:37:24 weewx-pi weewx[556]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 888, in main
May  2 11:37:24 weewx-pi weewx[556]:     ****      engine = 
engine_class(config_dict)
May  2 11:37:24 weewx-pi weewx[556]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
May  2 11:37:24 weewx-pi weewx[556]:     ****      
self.loadServices(config_dict)
May  2 11:37:24 weewx-pi weewx[556]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 142, in loadServices
May  2 11:37:24 weewx-pi weewx[556]:     ****      
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
May  2 11:37:24 weewx-pi weewx[556]:     ****    File 
"/usr/share/weewx/weeutil/weeutil.py", line 1107, in _get_object
May  2 11:37:24 weewx-pi weewx[556]:     ****      mod = __import__(module)
May  2 11:37:24 weewx-pi weewx[556]:     ****    File 
"/usr/share/weewx/user/cmon.py", line 124, in <module>
May  2 11:37:24 weewx-pi weewx[556]:     ****      from builtins import 
input
May  2 11:37:24 weewx-pi weewx[556]:     ****  ImportError: No module named 
builtins
May  2 11:37:24 weewx-pi weewx[556]:     ****  Exiting.

Luc
 

On Saturday, May 2, 2020 at 7:47:18 AM UTC-6, Luc Heijst wrote:
>
> Hi Luc,
>
> The error:
> ValueError: accum: ScalarStats.addHiLo expected float or int, got type 
> '<type 'long'>' ('4552332')
> is caused by an old version of weewx_cmon. The latest version (0.20) 
> solves this, See: https://github.com/matthewwall/weewx-cmon
>
> Also your syslog show several errors with outTemp, like:
> cheetahgenerator: **** Reason: Unknown daily summary type outTemp
>
> Check your database if you have a value outTemp. 
> If not, check your skin files for the use of outTemp.
>
> Luc Heijst
>
> On Saturday, 2 May 2020 02:33:45 UTC-3, Luc Theoret wrote:
>>
>> Hi,
>>
>> I have been trying to get weewx to record my acurite data using sdr 
>> RTL_433 for about a year now.
>> The system I have almost running is a raspberry pi 3 running on respbian 
>> stretch. it has an external real time clock attached.
>> weewx runs consistently for a week then stops. I was finally find the log 
>> entry for the stop, see attached file.
>> In the file is the last successful update, then the error and the exit. 
>> I also included the config file.
>>
>>
>> I have tried to reinstall on new SD card with Buster but cannot get the 
>> radio to work. tried blackballing stuff blindly (not knowing what doing).
>> Then I went back to this SD card. changed a couple of things and it ran. 
>> But as usual after a week like clockwork it stopped.
>>
>> Luc
>>
>

-- 
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/3e75cbad-1eb4-4a83-b58a-f805ea48ce4a%40googlegroups.com.

Reply via email to