Error due to power outage!!

198 views
Skip to first unread message

sali...@gmail.com

unread,
Dec 29, 2025, 2:19:21 PM12/29/25
to weewx-user
hello,
I'm contacting you because I've searched everywhere. There was a power outage at my house, and when it came back on, the Raspberry Pi booted up, but when I tried to access the weather station, I got errors. I checked all the files affected by the error, but nothing seemed out of the ordinary. Searching online, I saw that other people had encountered this problem, perhaps due to the database! I have a backup of my database (performed every 15 days). Do you have any ideas?
 I've attached the logs. 

Have a good evening.

Patrick

logs after restart weewx.

Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: Traceback (most recent call last):
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/share/weewx/weewxd.py", line 226, in <module>
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     main()
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/share/weewx/weewxd.py", line 76, in main
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     config_path, config_dict, log = weeutil.startup.start_app(namespace.log_label,
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/share/weewx/weeutil/startup.py", line 86, in start_app
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     config_path, config_dict = weecfg.read_config(config_option, [config_arg])
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     config_dict = configobj.ConfigObj(config_path,
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     self._load(infile, configspec)
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     content = self._handle_bom(content)
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     return self._decode(infile, self.encoding)
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]:     infile[i] = line.decode(encoding)
Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 55: invalid start byte

sali...@gmail.com

unread,
Dec 29, 2025, 2:32:50 PM12/29/25
to weewx-user

It's me again. Perhaps an error occurred due to the sudden power outage and corrupted some files.
 If I replace them with the original files, is that a good idea?

patrick

Tom Keffer

unread,
Dec 29, 2025, 2:40:32 PM12/29/25
to weewx...@googlegroups.com
You need to post more of the log. See the wiki article How to produce a useful log.

Based on the small excerpt that you included in your post, I'd say that it's your configuration file, weewx.conf, that's corrupted, not the database. Specifically, a character 55 bytes in.

But without a full log, it's hard to say.

-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/a391cf33-00d4-4e30-8c0d-f9a280a97950n%40googlegroups.com.

sali...@gmail.com

unread,
Dec 29, 2025, 3:04:47 PM12/29/25
to weewx-user
hello TOM,

Here are the logs, are they okay?

 $ sudo journalctl -u weewx -f | tee /tmp/mylog
-- Journal begins at Fri 2025-03-28 22:45:41 CET. --
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:     self._load(infile, configspec)
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:   File "/usr/lib/python3/dist-packages/configobj.py", line  1287, in _load
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:     content = self._handle_bom(content)
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:     return self._decode(infile, self.encoding)
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:   File "/usr/lib/python3/dist-packages/configobj.py", line  1517, in _decode
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]:     infile[i] = line.decode(encoding)
déc. 29 20:55:50 RPi-WS-Byows weewxd[6531]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in  position 55: invalid start byte
déc. 29 20:55:50 RPi-WS-Byows systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
déc. 29 20:55:50 RPi-WS-Byows systemd[1]: weewx.service: Failed with result 'exit-code'.
déc. 29 21:00:11 RPi-WS-Byows systemd[1]: Started WeeWX.
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]: Traceback (most recent call last):
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/share/weewx/weewxd.py", line 226, in <module>
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     main()
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/share/weewx/weewxd.py", line 76, in main
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     config_path, config_dict, log = weeutil.startup.start_a                                             pp(namespace.log_label,
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/share/weewx/weeutil/startup.py", line 86, in start_app
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     config_path, config_dict = weecfg.read_config(config_option, [config_arg])
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/share/weewx/weecfg/__init__.py", line 150, in read_config
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     config_dict = configobj.ConfigObj(config_path,
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     self._load(infile, configspec)
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     content = self._handle_bom(content)
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     return self._decode(infile, self.encoding)
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:   File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]:     infile[i] = line.decode(encoding)
déc. 29 21:00:11 RPi-WS-Byows weewxd[7003]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 55: invalid start byte
déc. 29 21:00:11 RPi-WS-Byows systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
déc. 29 21:00:11 RPi-WS-Byows systemd[1]: weewx.service: Failed with result 'exit-code'.

Patrick

salinois

unread,
Jan 3, 2026, 1:11:01 PMJan 3
to weewx...@googlegroups.com

happy new year to everyone.,

hello,

I don't know if this is a consequence (due to the power outage that might have corrupted files);

 but I discovered some errors, perhaps I always had them (I had debug=0) since I changed debug=1,

 I discovered some errors. 

the 1st: 

Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager: Could not load schema 'schemas.wview_extended.schema'

 Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager: **** Reason: No module named 'schemas'

 Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager: **** Trying 'weewx.schemas.wview_extended.schema'

lines in weewx.conf file

 [DataBindings] [[wx_binding]] 

# The database must match one of the sections in [Databases]. 

# This is likely to be the only option you would want to change.

  database = archive_sqlite 

# The name of the table within the database. 

table_name = archive 

# The manager handles aggregation of data for historical summaries.

 manager = weewx.manager.DaySummaryManager 

# The schema defines the structure of the database. 

# It is *only* used when the database is created.

  schema = schemas.wview_extended.schema

weewx works fine.


my conf:

  • Station hardware: BYOWS - Raspberry Pi
  • Server uptime: 428198 seconds
  • WeeWX uptime: 179 seconds
  • WeeWX version: 5.2.0
  • Belchertown Skin Version: 1.3.1

Patrick



salinois

unread,
Jan 3, 2026, 2:42:05 PMJan 3
to weewx...@googlegroups.com

hi, again

Another question (or error), but certainly not related to the power outage.

 I'm using the Belchertown skin (also), but I put all my configuration in the weewx.conf file and I'm getting this error in the logs: 

Jan 3 20:25:23 RPi-WS-Byows weewxd[17220]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'

 Jan 3 20:25:23 RPi-WS-Byows weewxd[17220]: DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Belchertown/lang/fr.conf for report 'Belchertown': Config file not found: "/etc/weewx/skins/Belchertown/lang/fr.conf".

 Jan 3 20:25:23 RPi-WS-Byows weewxd[17220]: DEBUG weewx.reportengine: **** Using defaults instead.

 Jan 3 20:25:23 RPi-WS-Byows weewxd[17220]: DEBUG weewx.reportengine: Unable to set locale 'fr': unsupported locale setting. Using default. 

Do I still need to fill in the skin.conf file in the /skin/Belchertown directory, with the same parameters ? 

I'd never paid attention to that before.

Patrick

John Smith

unread,
Jan 3, 2026, 5:54:32 PMJan 3
to weewx...@googlegroups.com
As per the warning starting from version 5.2 changed from schemas.* to weewx.schemas.* and while weeWX falls back for now that may stop happening in a future version.

--
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.

salinois

unread,
Jan 4, 2026, 9:09:56 AMJan 4
to weewx...@googlegroups.com

hello John,

Yes, I tried what was indicated, but I got this error!

Attached file; So, I reverted to the previous version, and weewx works fine with the same error. 

Am I using the correct syntax in the weewx.conf file? "schema = schemas.wview_extended.schema"

Patrick

error_vwiew_schemas.txt

John Smith

unread,
Jan 4, 2026, 5:22:57 PMJan 4
to weewx...@googlegroups.com
Am I using the correct syntax in the weewx.conf file? "schema = schemas.wview_extended.schema"

That changed for version 5.2 to weewx.* 

You have bigger issues with this though

ModuleNotFoundError: No module named 'weewx.weewx'

Tom Keffer

unread,
Jan 4, 2026, 7:12:25 PMJan 4
to weewx...@googlegroups.com
It appears that your schema is actually specified as

schema = weewx.schema.wview_extended

It should be 

weewx.schema.wview_extended.schema

Perhaps you changed it?

salinois

unread,
Jan 5, 2026, 3:52:30 AMJan 5
to weewx...@googlegroups.com

hello Tom,

yes I done it but I have many errors and weewx doesn't work.

attached file

and my conf line in weewx.conf

  # It is *only* used when the database is created.

        schema = weewx.schema.wview_extended.schema

Patrick

error_vwiew_schemas_1.txt

Tom Keffer

unread,
Jan 5, 2026, 8:11:53 AMJan 5
to weewx...@googlegroups.com
See if the schema is actually there.

ls -l /usr/share/weewx/weewx
ls -l /usr/share/weewx/weewx/schemas

See if you can import  and print it:

PYTHONPATH=/usr/share/weewx python3 -c "import weewx.schemas.wview_extended as schema; print(schema.schema)"





--
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.

salinois

unread,
Jan 5, 2026, 9:04:48 AMJan 5
to weewx...@googlegroups.com

Here are the orders again.

 ls -l /usr/share/weewx/weewx

total 692
-rw-r--r-- 1 root root 25824  6 oct.  03:16 accum.py
-rw-r--r-- 1 root root 29825  6 oct.  03:16 almanac.py
-rw-r--r-- 1 root root 33198  6 oct.  03:16 cheetahgenerator.py
-rw-r--r-- 1 root root  3063  6 oct.  03:16 crc16.py
-rw-r--r-- 1 root root  2888  6 oct.  03:16 daemon.py
-rw-r--r-- 1 root root 11950  6 oct.  03:16 defaults.py
drwxr-xr-x 4 root root  4096 28 oct.  17:21 drivers
-rw-r--r-- 1 root root 39394  6 oct.  03:16 engine.py
-rw-r--r-- 1 root root   237  6 oct.  03:16 filegenerator.py
-rw-r--r-- 1 root root 18046  6 oct.  03:16 imagegenerator.py
-rw-r--r-- 1 root root  5566  6 oct.  03:16 __init__.py
-rw-r--r-- 1 root root 74347  6 oct.  03:16 manager.py
drwxr-xr-x 2 root root  4096 28 oct.  17:21 __pycache__
-rw-r--r-- 1 root root  3137  6 oct.  03:16 qc.py
-rw-r--r-- 1 root root 41605  6 oct.  03:16 reportengine.py
-rw-r--r-- 1 root root 79929  6 oct.  03:16 restx.py
drwxr-xr-x 3 root root  4096 28 oct.  17:21 schemas
-rw-r--r-- 1 root root  7152  6 oct.  03:16 station.py
-rw-r--r-- 1 root root 31904  6 oct.  03:16 tags.py
drwxr-xr-x 5 root root  4096 28 oct.  17:21 tests
-rw-r--r-- 1 root root 71821  6 oct.  03:16 units.py
-rw-r--r-- 1 root root 25150  6 oct.  03:16 uwxutils.py
-rw-r--r-- 1 root root   207  6 oct.  03:16 wxengine.py
-rw-r--r-- 1 root root 30659  6 oct.  03:16 wxformulas.py
-rw-r--r-- 1 root root   367  6 oct.  03:16 wxmanager.py
-rw-r--r-- 1 root root  7210  6 oct.  03:16 wxservices.py
-rw-r--r-- 1 root root 34313  6 oct.  03:16 wxxtypes.py
-rw-r--r-- 1 root root 58203  6 oct.  03:16 xtypes.py


ls -l /usr/share/weewx/weewx/schemas
total 24
-rw-r--r-- 1 root root  230  6 oct.  03:16 __init__.py
drwxr-xr-x 2 root root 4096 28 oct.  17:21 __pycache__
-rw-r--r-- 1 root root 5996  6 oct.  03:16 wview_extended.py
-rw-r--r-- 1 root root 3448  6 oct.  03:16 wview.py
-rw-r--r-- 1 root root 2105  6 oct.  03:16 wview_small.py

Will this command corrupt my database?

PYTHONPATH=/usr/share/weewx python3 -c "import weewx.schemas.wview_extended as schema; print(schema.schema)"

Patrick

Tom Keffer

unread,
Jan 5, 2026, 9:11:19 AMJan 5
to weewx...@googlegroups.com
Would I do that to you? :-)

No, it just prints

salinois

unread,
Jan 5, 2026, 9:16:00 AMJan 5
to weewx...@googlegroups.com

sorry, I didn't see the command Print.

There are spaces that appeared during copy/paste.


PYTHONPATH=/usr/share/weewx python3 -c "import weewx.schemas                               .wview_extended as schema; print(schema.schema)"
{'table': [('dateTime', 'INTEGER NOT NULL UNIQUE PRIMARY KEY'), ('usUnits', 'INT                               EGER NOT NULL'), ('interval', 'INTEGER NOT NULL'), ('altimeter', 'REAL'), ('appT                               emp', 'REAL'), ('appTemp1', 'REAL'), ('barometer', 'REAL'), ('batteryStatus1', '                               REAL'), ('batteryStatus2', 'REAL'), ('batteryStatus3', 'REAL'), ('batteryStatus4                               ', 'REAL'), ('batteryStatus5', 'REAL'), ('batteryStatus6', 'REAL'), ('batterySta                               tus7', 'REAL'), ('batteryStatus8', 'REAL'), ('cloudbase', 'REAL'), ('co', 'REAL'                               ), ('co2', 'REAL'), ('consBatteryVoltage', 'REAL'), ('dewpoint', 'REAL'), ('dewp                               oint1', 'REAL'), ('ET', 'REAL'), ('extraHumid1', 'REAL'), ('extraHumid2', 'REAL'                               ), ('extraHumid3', 'REAL'), ('extraHumid4', 'REAL'), ('extraHumid5', 'REAL'), ('                               extraHumid6', 'REAL'), ('extraHumid7', 'REAL'), ('extraHumid8', 'REAL'), ('extra                               Temp1', 'REAL'), ('extraTemp2', 'REAL'), ('extraTemp3', 'REAL'), ('extraTemp4',                                'REAL'), ('extraTemp5', 'REAL'), ('extraTemp6', 'REAL'), ('extraTemp7', 'REAL'),                                ('extraTemp8', 'REAL'), ('forecast', 'REAL'), ('hail', 'REAL'), ('hailBatterySt                               atus', 'REAL'), ('hailRate', 'REAL'), ('heatindex', 'REAL'), ('heatindex1', 'REA                               L'), ('heatingTemp', 'REAL'), ('heatingVoltage', 'REAL'), ('humidex', 'REAL'), (                               'humidex1', 'REAL'), ('illuminance', 'REAL'), ('inDewpoint', 'REAL'), ('inHumidi                               ty', 'REAL'), ('inTemp', 'REAL'), ('inTempBatteryStatus', 'REAL'), ('leafTemp1',                                'REAL'), ('leafTemp2', 'REAL'), ('leafWet1', 'REAL'), ('leafWet2', 'REAL'), ('l                               ightning_distance', 'REAL'), ('lightning_disturber_count', 'REAL'), ('lightning_                               energy', 'REAL'), ('lightning_noise_count', 'REAL'), ('lightning_strike_count',                                'REAL'), ('luminosity', 'REAL'), ('maxSolarRad', 'REAL'), ('nh3', 'REAL'), ('no2                               ', 'REAL'), ('noise', 'REAL'), ('o3', 'REAL'), ('outHumidity', 'REAL'), ('outTem                               p', 'REAL'), ('outTempBatteryStatus', 'REAL'), ('pb', 'REAL'), ('pm10_0', 'REAL'                               ), ('pm1_0', 'REAL'), ('pm2_5', 'REAL'), ('pressure', 'REAL'), ('radiation', 'RE                               AL'), ('rain', 'REAL'), ('rainBatteryStatus', 'REAL'), ('rainRate', 'REAL'), ('r                               eferenceVoltage', 'REAL'), ('rxCheckPercent', 'REAL'), ('signal1', 'REAL'), ('si                               gnal2', 'REAL'), ('signal3', 'REAL'), ('signal4', 'REAL'), ('signal5', 'REAL'),                                ('signal6', 'REAL'), ('signal7', 'REAL'), ('signal8', 'REAL'), ('snow', 'REAL'),                                ('snowBatteryStatus', 'REAL'), ('snowDepth', 'REAL'), ('snowMoisture', 'REAL'),                                ('snowRate', 'REAL'), ('so2', 'REAL'), ('soilMoist1', 'REAL'), ('soilMoist2', '                               REAL'), ('soilMoist3', 'REAL'), ('soilMoist4', 'REAL'), ('soilTemp1', 'REAL'), (                               'soilTemp2', 'REAL'), ('soilTemp3', 'REAL'), ('soilTemp4', 'REAL'), ('supplyVolt                               age', 'REAL'), ('txBatteryStatus', 'REAL'), ('UV', 'REAL'), ('uvBatteryStatus',                                'REAL'), ('windBatteryStatus', 'REAL'), ('windchill', 'REAL'), ('windDir', 'REAL                               '), ('windGust', 'REAL'), ('windGustDir', 'REAL'), ('windrun', 'REAL'), ('windSp                               eed', 'REAL')], 'day_summaries': [('altimeter', 'scalar'), ('appTemp', 'scalar')                               , ('appTemp1', 'scalar'), ('barometer', 'scalar'), ('batteryStatus1', 'scalar'),                                ('batteryStatus2', 'scalar'), ('batteryStatus3', 'scalar'), ('batteryStatus4',                                'scalar'), ('batteryStatus5', 'scalar'), ('batteryStatus6', 'scalar'), ('battery                               Status7', 'scalar'), ('batteryStatus8', 'scalar'), ('cloudbase', 'scalar'), ('co                               ', 'scalar'), ('co2', 'scalar'), ('consBatteryVoltage', 'scalar'), ('dewpoint',                                'scalar'), ('dewpoint1', 'scalar'), ('ET', 'scalar'), ('extraHumid1', 'scalar'),                                ('extraHumid2', 'scalar'), ('extraHumid3', 'scalar'), ('extraHumid4', 'scalar')                               , ('extraHumid5', 'scalar'), ('extraHumid6', 'scalar'), ('extraHumid7', 'scalar'                               ), ('extraHumid8', 'scalar'), ('extraTemp1', 'scalar'), ('extraTemp2', 'scalar')                               , ('extraTemp3', 'scalar'), ('extraTemp4', 'scalar'), ('extraTemp5', 'scalar'),                                ('extraTemp6', 'scalar'), ('extraTemp7', 'scalar'), ('extraTemp8', 'scalar'), ('                               forecast', 'scalar'), ('hail', 'scalar'), ('hailBatteryStatus', 'scalar'), ('hai                               lRate', 'scalar'), ('heatindex', 'scalar'), ('heatindex1', 'scalar'), ('heatingT                               emp', 'scalar'), ('heatingVoltage', 'scalar'), ('humidex', 'scalar'), ('humidex1                               ', 'scalar'), ('illuminance', 'scalar'), ('inDewpoint', 'scalar'), ('inHumidity'                               , 'scalar'), ('inTemp', 'scalar'), ('inTempBatteryStatus', 'scalar'), ('leafTemp                               1', 'scalar'), ('leafTemp2', 'scalar'), ('leafWet1', 'scalar'), ('leafWet2', 'sc                               alar'), ('lightning_distance', 'scalar'), ('lightning_disturber_count', 'scalar'                               ), ('lightning_energy', 'scalar'), ('lightning_noise_count', 'scalar'), ('lightn                               ing_strike_count', 'scalar'), ('luminosity', 'scalar'), ('maxSolarRad', 'scalar'                               ), ('nh3', 'scalar'), ('no2', 'scalar'), ('noise', 'scalar'), ('o3', 'scalar'),                                ('outHumidity', 'scalar'), ('outTemp', 'scalar'), ('outTempBatteryStatus', 'scal                               ar'), ('pb', 'scalar'), ('pm10_0', 'scalar'), ('pm1_0', 'scalar'), ('pm2_5', 'sc                               alar'), ('pressure', 'scalar'), ('radiation', 'scalar'), ('rain', 'scalar'), ('r                               ainBatteryStatus', 'scalar'), ('rainRate', 'scalar'), ('referenceVoltage', 'scal                               ar'), ('rxCheckPercent', 'scalar'), ('signal1', 'scalar'), ('signal2', 'scalar')                               , ('signal3', 'scalar'), ('signal4', 'scalar'), ('signal5', 'scalar'), ('signal6                               ', 'scalar'), ('signal7', 'scalar'), ('signal8', 'scalar'), ('snow', 'scalar'),                                ('snowBatteryStatus', 'scalar'), ('snowDepth', 'scalar'), ('snowMoisture', 'scal                               ar'), ('snowRate', 'scalar'), ('so2', 'scalar'), ('soilMoist1', 'scalar'), ('soi                               lMoist2', 'scalar'), ('soilMoist3', 'scalar'), ('soilMoist4', 'scalar'), ('soilT                               emp1', 'scalar'), ('soilTemp2', 'scalar'), ('soilTemp3', 'scalar'), ('soilTemp4'                               , 'scalar'), ('supplyVoltage', 'scalar'), ('txBatteryStatus', 'scalar'), ('UV',                                'scalar'), ('uvBatteryStatus', 'scalar'), ('windBatteryStatus', 'scalar'), ('win                               dchill', 'scalar'), ('windDir', 'scalar'), ('windGust', 'scalar'), ('windGustDir                               ', 'scalar'), ('windrun', 'scalar'), ('windSpeed', 'scalar'), ('wind', 'VECTOR')                               ]}

salinois

unread,
Jan 5, 2026, 9:19:46 AMJan 5
to weewx...@googlegroups.com

For my information, this command is used to view the different database indexes, right ?

Le 05/01/2026 à 15:10, Tom Keffer a écrit :

Tom Keffer

unread,
Jan 5, 2026, 10:40:27 AMJan 5
to weewx...@googlegroups.com
It shows the schema that WeeWX uses. Yours looks normal.

Can you send me your weewx.conf privately? I'll check it over.

Tom Keffer

unread,
Jan 5, 2026, 11:10:25 AMJan 5
to weewx...@googlegroups.com
Your entry still reads

        schema = schemas.wview_extended.schema

It should read

        schema = weewx.schemas.wview_extended.schema

-tk

salinois

unread,
Jan 5, 2026, 11:24:29 AMJan 5
to weewx...@googlegroups.com
I agree with you, but when I enter that line, 

schema = weewx.schemas.wview_extended.schema

I get the errors I mentioned in my initial post. 

Do you want me to give them to you again?

Patrick

Tom Keffer

unread,
Jan 5, 2026, 4:08:00 PMJan 5
to weewx...@googlegroups.com
Let's take it from the top. We need a single snapshot of the relevant logs and configuration file. Double check that /etc/weewx/weewx.conf contains the line

        schema = weewx.schemas.wview_extended.schema

Then run weewxd. Post the log. Don't assume anything.



salinois

unread,
Jan 6, 2026, 7:56:58 AM (14 days ago) Jan 6
to weewx...@googlegroups.com

hello, Tom

For comparison: here are the logs with this configuration line in weewx.conf: 

"schema = schemas.wview_extended.schema". weewx works correctly (but with an error). 


logs:

To summarize, the request is: 

I've attached the copy screen weewx.conf file with "schema = weewx.schemas.wview_extended.schema". 

I stopped weewx by "sudo systemctl stop weewx.service"

And run weewx by "weewxd /etc/weewx/weewx.conf"

1st file with => run_weewxd_1.txt

2nd file with logs => logs_weewxd_1.txt

there is errors but weewx works !!!

After, I restarted with "systemctl start weewx.service

logs => weewx.service.txt

But, now weewx works without errors

Is it because I launched it with weewxd once ? It's strange because I didn't make any mistakes in the weewx.conf conf line before.

Patrick

run_weewxd_1.txt
logs_weewxd_1.txt
weewx.service.txt

Tom Keffer

unread,
Jan 6, 2026, 10:12:59 AM (14 days ago) Jan 6
to weewx...@googlegroups.com
Sometimes it's useful to just stop, take a break, then start from the top.

Glad to hear that it is working.

salinois

unread,
Jan 6, 2026, 11:48:11 AM (14 days ago) Jan 6
to weewx...@googlegroups.com

Thank you for pointing me in the right direction. 

Have a good day.

Patrick
Reply all
Reply to author
Forward
0 new messages