User extensions not loading

33 views
Skip to first unread message

Ron Walker

unread,
Oct 30, 2025, 10:30:27 AM (2 days ago) Oct 30
to weewx-user
Hi All,

I did  a completely new install weewx 5.2 on a Raspberry Pi running Trixie OS.  I thought I  had successfully copied over modified files from my 5.0 weewx including weewx.conf and my extensions.

When I start weewx I see the following in the log file:
Oct 30 10:06:29 raspberrypi weewxd[3876]: ERROR weeutil.startup: Cannot load user extensions: No module named 'schemas'
  
The contents of the extensions.py file are as follows:
import locale
# This will use the locale specified by the environment variable 'LANG'
# Other options are possible. See:
# http://docs.python.org/2/library/locale.html#locale.setlocale
locale.setlocale(locale.LC_ALL, '')

#Attempting to new observations
import schemas.wview
schema_with_wind_avg = schemas.wview.schema + [('windSpeed2avg', 'REAL') , ('windDir2avg', 'INTEGER'), ('windGust10avg', 'REAL'), ('windGustDir10avg', 'INTEGER')]

import weewx.units
weewx.units.obs_group_dict['windSpeed2avg'] = 'group_speed'
weewx.units.obs_group_dict['windGust10avg'] = 'group_speed'
weewx.units.obs_group_dict['windDir2avg'] = 'group_direction'
weewx.units.obs_group_dict['windGustDir10avg'] = 'group_direction'

Can someone point me in the right direction to resolving this?

Thanks in advance!

Ron

Tom Keffer

unread,
Oct 30, 2025, 10:36:13 AM (2 days ago) Oct 30
to weewx...@googlegroups.com
See the Upgrade Guide.

--
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/a92c095f-f977-47ba-a5fb-7e69389fad76n%40googlegroups.com.

Ron Walker

unread,
Oct 30, 2025, 11:41:04 AM (2 days ago) Oct 30
to weewx-user
Hmmmmm!  Not sure how I missed that.

Thanks!

Ron

Reply all
Reply to author
Forward
0 new messages