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