Hi, I installed weewx on the raspberry with GB LOCAL settings a few days ago and some days later I changed the LOCAL with the raspi-config to Sweden/SE settings and now will the weewx not start up after the change. I forgott the change the LOCAL after the raspberry was installed.
Error message when I try to start ## pi@raspberrypi:~ $ sudo /etc/init.d/weewx start [....] Starting weewx (via systemctl): weewx.serviceJob for weewx.service failed. See 'systemctl status weewx.service' and 'journalctl -xn' for details. failed! pi@raspberrypi:~ $ sudo systemctl status weewx.service ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: failed (Result: exit-code) since ons 2017-04-12 11:11:47 CEST; 18s ago Process: 833 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS) Process: 4946 ExecStart=/etc/init.d/weewx start (code=exited, status=1/FAILURE) apr 12 11:11:47 raspberrypi weewx[4946]: import user.extensions #@UnusedImport apr 12 11:11:47 raspberrypi weewx[4946]: File "/usr/share/weewx/user/extensions.py", line 18, in <module> apr 12 11:11:47 raspberrypi weewx[4946]: locale.setlocale(locale.LC_ALL, '') apr 12 11:11:47 raspberrypi weewx[4946]: File "/usr/lib/python2.7/locale.py", line 579, in setlocale apr 12 11:11:47 raspberrypi weewx[4946]: return _setlocale(category, locale) apr 12 11:11:47 raspberrypi weewx[4946]: locale.Error: unsupported locale setting apr 12 11:11:47 raspberrypi weewx[4946]: failed! apr 12 11:11:47 raspberrypi systemd[1]: weewx.service: control process exited, code=exited status=1 apr 12 11:11:47 raspberrypi systemd[1]: Failed to start LSB: weewx weather system. apr 12 11:11:47 raspberrypi systemd[1]: Unit weewx.service entered failed state. pi@raspberrypi:~ $ sudo journalctl -xn -- Logs begin at fre 2017-03-03 18:53:00 CET, end at ons 2017-04-12 11:18:43 CEST. -- apr 12 11:12:06 raspberrypi sudo[4981]: pam_unix(sudo:session): session opened for user root by pi(uid=0) apr 12 11:12:06 raspberrypi sudo[4981]: pam_unix(sudo:session): session closed for user root apr 12 11:16:01 raspberrypi CRON[4991]: pam_unix(cron:session): session opened for user pi by (uid=0) apr 12 11:16:01 raspberrypi CRON[4995]: (pi) CMD (/home/pi/bin/weewx_sync.sh) apr 12 11:16:02 raspberrypi CRON[4991]: pam_unix(cron:session): session closed for user pi apr 12 11:17:01 raspberrypi CRON[5002]: pam_unix(cron:session): session opened for user root by (uid=0) apr 12 11:17:01 raspberrypi CRON[5006]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) apr 12 11:17:01 raspberrypi CRON[5002]: pam_unix(cron:session): session closed for user root apr 12 11:18:43 raspberrypi sudo[5019]: pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -xn apr 12 11:18:43 raspberrypi sudo[5019]: pam_unix(sudo:session): session opened for user root by pi(uid=0) ## Is a complete resinstallation needed or can a rather easy fix be possible? //ansi -- 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]. For more options, visit https://groups.google.com/d/optout.
