I'm not sure you have followed the upgrade instructions properly. Certainly
Highcharts_Belchertown is no longer required.
What version did you upgrade from?

Colin

On Thu, 27 Jun 2019, 07:46 G400, <[email protected]> wrote:

> After upgaring Belchertown 1.0.1 skin I'm struggeling with errors:
>
> I followed the recommended upgrade path as detailed on this page:
> https://github.com/poblabs/weewx-belchertown/wiki/Upgrading-to-Belchertown-skin-1.0
>
> WeeWX is installed in /home/weewx
>
> Error messages after restarting weewx:
>
> Belchertown Extension: version 1.0.1
> reportengine: Caught unrecoverable exception in generator
> 'weewx.cheetahgenerator.CheetahGenerator'
>         ****  Parsing failed with several errors.#012First error at line
> 29.
>         ****  Traceback (most recent call last):
>         ****    File "/home/weewx/bin/weewx/reportengine.py", line 204, in
> run
>         ****      obj.start()
>         ****    File "/home/weewx/bin/weewx/reportengine.py", line 300, in
> start
>         ****      self.run()
>         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line
> 160, in run
>         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
>         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line
> 234, in generate
>         ****      ngen += self.generate(section[subsection], gen_ts)
>         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line
> 234, in generate
>         ****      ngen += self.generate(section[subsection], gen_ts)
>         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line
> 322, in generate
>         ****      default_binding)
>         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line
> 374, in _getSearchList
>         ****      searchList += obj.get_extension_list(timespan, db_lookup)
>         ****    File "/home/weewx/bin/user/belchertown.py", line 175, in
> get_extension_list
>         ****      chart_dict = configobj.ConfigObj(chart_config_path,
> file_error=True)
>         ****    File "/usr/lib/python2.7/dist-packages/configobj.py", line
> 1229, in __init__
>         ****      self._load(infile, configspec)
>         ****    File "/usr/lib/python2.7/dist-packages/configobj.py", line
> 1318, in _load
>         ****      raise error
>         ****  ConfigObjError: Parsing failed with several errors.
>         ****  First error at line 29.
>         ****  Generator terminated
>
> This is what I have in [StdReport] section:
>
>
>   [[Highcharts_Belchertown]]
>         HTML_ROOT = /home/weewx/public_html/belchertown
>         skin = Highcharts_Belchertown
>         [[[Units]]]
>           [[[[Groups]]]]
>            group_rain = mm
>            group_altitude = meter
>
>
>
>            group_pressure = mbar
>            group_rainrate = mm_per_hour
>            group_speed = meter_per_second
>            group_speed2 = meter_per_second2
>            group_temperature = degree_C
>            group_degre_day = degree_C_day
>
>     [[Belchertown]]
>         HTML_ROOT = /home/weewx/public_html/belchertown
>         skin = Belchertown
>         [[[Extras]]]
>             belchertown_root_url = "http://xxx";
>             earthquake_enabled = 0
>             twitter_enabled = 0
>             footer_copyright_text = xx
>             site_title = xx
>             manifest_name = "xx"
>             show_cloudbase = 1
>             forecast_enabled = 1
>             darksky_secret_key = xx
>             darksky_units = si
>             darksky_lang = no
>
> If I remove  [[Highcharts_Belchertown]] and   [[Belchertown]] I get no
> errors
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/24b3f234-30d6-4554-8928-b2eb9d10f7b8%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/24b3f234-30d6-4554-8928-b2eb9d10f7b8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CACjxfUv__SGvuASgOCFZOfnuXgEwBM1_m%3D4ZT4cbktwVAjOSVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to