Yes, the problem is that your driver has not implemented the hardware_name
property. You will find it mentioned in the Implement the driver
<http://weewx.com/docs/customizing.htm#Implement_the_driver> section of the
Customization Guide. I cannot explain why the same driver worked under
3.9.1 (if it in fact did), as far as I am aware implementing the
hardware_name property has always been mandatory.
Gary
On Thursday, 21 May 2020 15:24:44 UTC+10, Neville Davis wrote:
>
> Well that was it for that problem weewx installed but now I have a lot of
> red on status report.
>
> My station is a home brew using i2C and other sensors this is reporting a
> hardware naming error ??
>
> st login: Thu May 21 14:42:32 2020 from 192.168.0.54
>
> *pi@raspberrypi*:*~ $* sudo systemctl status weewx
>
> *●* weewx.service - LSB: weewx weather system
>
> Loaded: loaded (/etc/init.d/weewx)
>
> Active: *active (exited)* since Thu 2020-05-21 15:18:36 AEST; 54s ago
>
> Process: 419 ExecStart=/etc/init.d/weewx start (code=exited,
> status=0/SUCCESS)
>
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** File "/home/weewx/bin/weewx/engine.py", line 72, in __init__*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** self.preLoadServices(config_dict)*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** File "/home/weewx/bin/weewx/engine.py", line 112, in
> preLoadServices*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** self.stn_info = weewx.station.StationInfo(self.console,
> **conf...tation'])*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** File "/home/weewx/bin/weewx/station.py", line 41, in __init__*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** if console and hasattr(console, 'hardware_name'):*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** File "/home/weewx/bin/weewx/drivers/__init__.py", line 17, in
> hardware_name*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** raise NotImplementedError("Property 'hardware_name' not
> implemented")*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** NotImplementedError: Property 'hardware_name' not implemented*
>
> May 21 15:18:36 raspberrypi weewxd[557]: *weewx[557] CRITICAL __main__:
> **** Exiting.*
>
> Hint: Some lines were ellipsized, use -l to show in full.
>
> *pi@raspberrypi*:*~ $*
>
> Any ideas ?
>
> Nev
>
> On Thursday, May 21, 2020 at 2:51:39 PM UTC+10, Neville Davis wrote:
>>
>> the following from setup and status
>>
>> copying util/import/cumulus-example.conf -> /home/weewx/util/import
>>
>> copying util/launchd/com.weewx.weewxd.plist -> /home/weewx/util/launchd
>>
>> creating /home/weewx/util/default
>>
>> copying util/default/weewx -> /home/weewx/util/default
>>
>> running install_egg_info
>>
>> Writing /home/weewx/bin/weewx-4.0.0.egg-info
>>
>> Traceback (most recent call last):
>>
>> File "/home/weewx/bin/wee_config", line 12, in <module>
>>
>> import weeutil.logger
>>
>> File "/home/weewx/bin/weeutil/logger.py", line 14, in <module>
>>
>> import configobj
>>
>> ImportError: No module named 'configobj'
>>
>> *pi@raspberrypi*:*~ $* sudo systemctl status weewx
>>
>> *●* weewx.service - LSB: weewx weather system
>>
>> Loaded: loaded (/etc/init.d/weewx)
>>
>> Active: *failed* (Result: exit-code) since Thu 2020-05-21 14:41:54
>> AEST; 50s ago
>>
>> Process: 422 ExecStart=/etc/init.d/weewx start *(code=exited,
>> status=1/FAILURE)*
>>
>>
>> May 21 14:41:54 raspberrypi weewx[422]: Starting weewx weather system:
>> weewxTraceback (most recent call last):
>>
>> May 21 14:41:54 raspberrypi weewx[422]: File "/home/weewx/bin/weewxd",
>> line 21, in <module>
>>
>> May 21 14:41:54 raspberrypi weewx[422]: import weecfg
>>
>> May 21 14:41:54 raspberrypi weewx[422]: File
>> "/home/weewx/bin/weecfg/__init__.py", line 22, in <module>
>>
>> May 21 14:41:54 raspberrypi weewx[422]: import configobj
>>
>> May 21 14:41:54 raspberrypi weewx[422]: ImportError: No module named
>> 'configobj'
>>
>> May 21 14:41:54 raspberrypi weewx[422]: failed!
>>
>> May 21 14:41:54 raspberrypi systemd[1]: *weewx.service: control process
>> exited, code=exited status=1*
>>
>> May 21 14:41:54 raspberrypi systemd[1]: *Failed to start LSB: weewx
>> weather system.*
>>
>> May 21 14:41:54 raspberrypi systemd[1]: *Unit weewx.service entered
>> failed state.*
>>
>>
>> *What have I forgotten to do ???*
>>
>> *Nev*
>>
>
--
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/a3e37565-446e-4d47-b23b-4d5276c2f3d2%40googlegroups.com.