Please post a copy of the [Engine] stanza from weewx.conf.

Gary

On Wednesday, 9 March 2022 at 18:19:36 UTC+10 miwa...@googlemail.com wrote:

> Setting debug=1  within weewx.conf enhances the amount of messages, but 
> still a crash:
>
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] INFO weewx.wxservices: 
> StdWXCalculate will use data binding wx_binding
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Finished loading service weewx.wxservices.StdWXCalculate
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdWXXTypes
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdWXXTypes
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdPressureCooker
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdPressureCooker
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdRainRater
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdRainRater
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdDelta
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdDelta
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] DEBUG weewx.engine: 
> Loading service w
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] CRITICAL __main__: Caught 
> unrecoverable exception:
> Mär 09 09:14:43 imurr9 python3[859]: weewx[859] CRITICAL __main__:     
> ****  Empty module name
>
> The logging seems to be interrupted by that hard error - see the 
> incomplete last DEBUG message.
>
> Regards, Michael
> Michael Waldor schrieb am Mittwoch, 9. März 2022 um 09:02:39 UTC+1:
>
>> I've now compared the log messages from the successful start of weewx 
>> 4.5.1 with the current one - the difference occures with data binding 
>> wx_binding:
>>
>> Feb 13 09:08:36 imurr9 python3[500]: weewx[500] INFO weewx.engine: 
>> StdConvert target unit is 0x1
>> Feb 13 09:08:36 imurr9 python3[500]: weewx[500] INFO weewx.engine: 
>> Archive will use data binding wx_binding
>> Feb 13 09:08:36 imurr9 python3[500]: weewx[500] INFO weewx.engine: Record 
>> generation will be attempted in 'hardware'
>> Feb 13 09:08:36 imurr9 python3[500]: weewx[500] INFO weewx.engine: Using 
>> archive interval of 300 seconds (specified in weewx configuration)
>>
>> I did read the weewx upgrade guide before upgrading - but there are no 
>> hints for potential risks.
>>
>> Regards, Michael
>> Michael Waldor schrieb am Mittwoch, 9. März 2022 um 08:43:55 UTC+1:
>>
>>> I'm using a patched version of wh23xx driver successfully with weewx 
>>> 4.5. After upgrade to 4.7.0 weewx crashes on startup:
>>>
>>> Mär 09 08:03:34 imurr9 python3[21370]: weewx[21370] INFO weewx.engine: 
>>> Loading station type WH23xx (user.wh23xx)
>>> Mär 09 08:03:34 imurr9 weewx[21356]: Starting weewx weather system: 
>>> weewx.
>>> Mär 09 08:03:34 imurr9 systemd[1]: Started LSB: weewx weather system.
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] INFO weewx.engine: 
>>> StdConvert target unit is 0x1
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] INFO 
>>> weewx.wxservices: StdWXCalculate will use data binding wx_binding
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__: 
>>> Caught unrecoverable exception:
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****  Empty module name
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****  Traceback (most recent call last):
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****    File "/usr/share/weewx/weewxd", line 147, in main
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****      engine = weewx.engine.StdEngine(config_dict)
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****    File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****      self.loadServices(config_dict)
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****    File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in 
>>> get_object
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****      mod = __import__(module)
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****  ValueError: Empty module name
>>> Mär 09 08:03:35 imurr9 python3[21370]: weewx[21370] CRITICAL __main__:   
>>>   ****  Exiting.
>>>
>>> But I have to admit - before updating I did deinstall the old forecast 
>>> module using wee_extension --uninstall=forecast
>>>
>>> I tried to exchange my old wh23xx.py by the patched one from neighbouring 
>>> thread <https://groups.google.com/g/weewx-user/c/OHum8GwHfhI>
>>>
>>> But I guess that I have a different problem. any ideas?
>>>
>>>
>>> Regards, Michael
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b02b99b0-eeb8-43c5-8440-c19eb92f3418n%40googlegroups.com.

Reply via email to