weatherlink-live 1.1.4 stopped working after system updata

15 views
Skip to first unread message

Rich Strle

unread,
6:31 PM (4 hours ago) 6:31 PM
to weewx-user
Weewx was up for 200 plus days. The graphs started getting a little flaky. When I got back from a trip I updated my RaspberryPi OS to the latest version of everything. Now I errors starting Weewx.

It seems to have a problem with the weatherlink-live driver. I tried to update my system to weewx-weatherlink-live 1.1.7 and didn't have any luck with that.

I'm out of ideas. Let me know what additional information I can supply.

vp2pi@rpivpv5:~ $ weewxd --version
5.2.0
vp2pi@rpivpv5:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2026-01-19 06:32:05 CST; 27min ago
   Duration: 992ms
       Docs: https://weewx.com/docs
    Process: 3744 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=1/FAILURE)
   Main PID: 3744 (code=exited, status=1/FAILURE)
        CPU: 693ms

Jan 19 06:32:05 rpivpv5 weewxd[3744]:     self.setupStation(config_dict)
Jan 19 06:32:05 rpivpv5 weewxd[3744]:   File "/usr/share/weewx/weewx/engine.py", line 104, in setupStation
Jan 19 06:32:05 rpivpv5 weewxd[3744]:     __import__(driver)
Jan 19 06:32:05 rpivpv5 weewxd[3744]:   File "/etc/weewx/bin/user/weatherlink_live/__init__.py", line 25, in <module>
Jan 19 06:32:05 rpivpv5 weewxd[3744]:     import user.weatherlink_live.db_schema
Jan 19 06:32:05 rpivpv5 weewxd[3744]:   File "/etc/weewx/bin/user/weatherlink_live/db_schema.py", line 22, in <module>
Jan 19 06:32:05 rpivpv5 weewxd[3744]:     from schemas import wview_extended
Jan 19 06:32:05 rpivpv5 weewxd[3744]: ModuleNotFoundError: No module named 'schemas'
Jan 19 06:32:05 rpivpv5 systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
Jan 19 06:32:05 rpivpv5 systemd[1]: weewx.service: Failed with result 'exit-code'.
vp2pi@rpivpv5:~ $ weectl device
Using configuration file /etc/weewx/weewx.conf
Using driver user.weatherlink_live.
Unable to import driver user.weatherlink_live: No module named 'schemas'.

Tom Keffer

unread,
6:42 PM (4 hours ago) 6:42 PM
to weewx...@googlegroups.com
The module 'schemas' has been relocated. Now it is 'weewx.schemas'. See the Upgrade Guide.

Normally, this is transparent to the user --- internally, WeeWX looks in both places. However, it appears that weatherlink_live has taken it upon itself to look for the schema. 

You can fix the offending line in db_schema.py by changing

from schemas import wview_extended

to

from weewx.schemas import wview_extended

You should also file an issue with the author so s/he can fix it.

-tk

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/bab2d837-08bc-436c-ab37-ce5eb4a968a1n%40googlegroups.com.

Vince Skahan

unread,
6:43 PM (4 hours ago) 6:43 PM
to weewx-user
Looks like you need to update your driver to a current version.

Tom Keffer

unread,
7:07 PM (3 hours ago) 7:07 PM
to weewx...@googlegroups.com
Yes, Vince is right. The author fixed the problem in October. 

Just upgrade.

--
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+...@googlegroups.com.

Rich Strle

unread,
7:58 PM (2 hours ago) 7:58 PM
to weewx-user
Thank you for your help. My website is providing weather again. I opened an issue with the install problem I had as well.
Reply all
Reply to author
Forward
0 new messages