weewx no longer starts weewx-Version 4

57 views
Skip to first unread message

Hartmut Schweidler

unread,
Feb 11, 2020, 10:49:15 AM2/11/20
to weewx-development
After an update, weewx no longer starts
I haven't made any changes to weeusb.conf
under cmon.conf and weekl.conf weewx really only starts with
weeusb.conf only appears

Feb 11 16:13:57 hesba weewx-weekl[1687] INFO __main__:     ****  Terminate
Feb 11 16:13:58 hesba weewx-weekl[13414] INFO __main__: Initializing weewx version 4.0.0b11
Feb 11 16:13:58 hesba weewx-weekl[13414] INFO __main__: Using Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15) #012[GCC 8.3.0]
Feb 11 16:13:58 hesba weewx-weekl[13414] INFO __main__: Platform Linux-3.4.104+-armv7l-with-debian-9.11
Feb 11 16:13:58 hesba weewx-weekl[13414] INFO __main__: Locale is 'de_DE.UTF-8'
Feb 11 16:13:58 hesba weewx-weekl[13414] INFO __main__: PID file is /var/run/weewx-weekl.pid
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO __main__: Using configuration file /home/weewx/weekl.conf
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO weewx.engine: Loading station type KlimaLogg (user.kl)
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO user.kl: driver version is 1.4.0
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO user.kl: channel is 1
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO user.kl: frequency is EU
Feb 11 16:13:58 hesba weewx-weekl[13418] INFO user.kl: sensor map is: ...

Feb 11 16:38:40 hesba weewx-weeusb[19347] INFO __main__: Initializing weewx version 4.0.0b11
Feb 11 16:38:40 hesba weewx-weeusb[19347] INFO __main__: Using Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15) #012[GCC 8.3.0]
Feb 11 16:38:40 hesba weewx-weeusb[19347] INFO __main__: Platform Linux-3.4.104+-armv7l-with-debian-9.12
Feb 11 16:38:40 hesba weewx-weeusb[19347] INFO __main__: Locale is 'de_DE.UTF-8'
Feb 11 16:38:40 hesba weewx-weeusb[19347] INFO __main__: PID file is /var/run/weewx-weeusb.pid
Feb 11 16:39:01 hesba CRON[19370]: (root) CMD (/home/bild/bild_eingang.sh 1>/dev/null 2>&1)
Feb 11 16:40:01 hesba CRON[19396]: (root) CMD (/home/bild/bild_eingang.sh 1>/dev/null 2>&1)
Feb 11 16:40:18 hesba weewx-weekl[13418] INFO weewx.manager: Added record 2020-02-11 16:40:00 CET (1581435600) to database 'weewxHausTemp'
Feb 11 16:40:18 hesba weewx-weekl[13418] INFO weewx.manager: Added record 2020-02-11 16:40:00 CET (1581435600) to daily summary in 'weewxHausTemp'
Feb 11 16:40:23 hesba weewx-cmon[1711] INFO weewx.manager: Added record 2020-02-11 16:40:00 CET (1581435600) to database 'weewxHausCmon'
Feb 11 16:40:24 hesba weewx-cmon[1711] INFO weewx.manager: Added record 2020-02-11 16:40:00 CET (1581435600) to daily summary in 'weewxHausCmon'
Feb 11 16:40:24 hesba weewx-cmon[1711] INFO weewx.engine: Garbage collected 2889 objects in 0.14 seconds
     

the message is missing "INFO __main__: Using configuration file /home/weewx/weeusb.conf"

debug is 1 in weeusb.conf

if i call

root@hesba:/home/weewx/bin# ./weewxd /home/weewx/weeusb.conf
Traceback (most recent call last):
  File "./weewxd", line 261, in <module>
    main()
  File "./weewxd", line 125, in main
    config_path, config_dict = weecfg.read_config(options.config_path, list(args))
  File "/home/weewx/bin/weecfg/__init__.py", line 177, in read_config
    default_encoding='utf-8')
  File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
    self._load(infile, configspec)
  File "/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
    raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 240.

any idea

Hartmut

Thomas Keffer

unread,
Feb 11, 2020, 11:20:11 AM2/11/20
to Hartmut Schweidler, weewx-development
Most likely the problem is exactly what the traceback suggests: a syntax error in weeusb.conf, line 240.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/021f9775-ddec-4d5c-8757-53dc6f42e428%40googlegroups.com.

Hartmut Schweidler

unread,
Feb 11, 2020, 12:49:11 PM2/11/20
to weewx-development

Thanks for the hint

I didn't see the forest for the trees

I am a donkey,
it's an "s" too much in the Word "ConsumptionsReport
"

Thank you very much

Hartmut



Reply all
Reply to author
Forward
0 new messages