cannot read localization file

133 views
Skip to first unread message

vince

unread,
Aug 18, 2022, 2:58:28 PM8/18/22
to weewx-user
In 4.8.0 I'm seeing localization debug messages in syslog for every skin etc. that I have enabled.

Cannot read localization file /home/weewx/skins/Rsync/lang/en.conf for report 'RSYNC': Config file not found: "/home/weewx/skins/Rsync/lang/en.conf"

Is there a quick way to suppress all these kinds of messages while leaving debug enabled ?

Karen K

unread,
Aug 18, 2022, 3:17:34 PM8/18/22
to weewx-user
I guess it is not necessary to specify a language for rsync. May be there a "lang = en" line direct under [StdReport]. A work around could be to create an empty file with the name that is missing.

John Kline

unread,
Aug 18, 2022, 3:28:31 PM8/18/22
to weewx...@googlegroups.com
Another workaround that *should* work is to remove the following line from weewx.conf:
lang = en
A workaround that only works if your language is ‘en’.
The code in reportengine only looks for the file if lang is specified.

I don’t have a lang = en line in my weewx.conf and have no such messages in the log for my enabled Rsync skin.

On Aug 18, 2022, at 12:17 PM, Karen K <kk44...@gmail.com> wrote:

I guess it is not necessary to specify a language for rsync. May be there a "lang = en" line direct under [StdReport]. A work around could be to create an empty file with the name that is missing.
--
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 on the web visit https://groups.google.com/d/msgid/weewx-user/537c873f-65ca-4121-9921-9fe77c300705n%40googlegroups.com.

vince

unread,
Aug 18, 2022, 4:30:01 PM8/18/22
to weewx-user
Thanks John - worked great.  Just commented that line out and restarted weewx.

Tom Keffer

unread,
Aug 18, 2022, 7:32:36 PM8/18/22
to weewx-user
Another approach is to move the lang=en option to under [[Seasons]], which has been internationalized and localized to several languages.

Come to think of it, that's the way weewx.conf should ship.

--
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.
Reply all
Reply to author
Forward
0 new messages