Hmmmmm!  Not sure how I missed that.

Thanks!

Ron

On Thursday, October 30, 2025 at 10:36:13 AM UTC-4 Tom Keffer wrote:

> See the Upgrade Guide 
> <https://www.weewx.com/docs/5.2/upgrade/#module-schema-has-been-relocated>
> .
>
> On Thu, Oct 30, 2025 at 7:30 AM 'Ron Walker' via weewx-user <
> [email protected]> wrote:
>
>> 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
>>
>> -- 
>> 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 visit 
>> https://groups.google.com/d/msgid/weewx-user/a92c095f-f977-47ba-a5fb-7e69389fad76n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/a92c095f-f977-47ba-a5fb-7e69389fad76n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/5517546a-a6f1-4c6d-ad10-7e6bc5125f77n%40googlegroups.com.

Reply via email to