GithubHelp home page GithubHelp logo

Comments (10)

tim273 avatar tim273 commented on July 18, 2024

I'm having a very similar issue updating from 1.2 to 1.3:

Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****  'radar_width'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      obj.start()
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 385, in start 
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      self.run()
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 169, in run
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      ngen =self.generate(gen_dict[section_name], section_name, self.gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 321, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      searchList = self._getSearchList(encoding, timespan,
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 415, in _getSearchList
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      search_list += obj.get_extension_list(timespan, db_lookup)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 458, in get_extension_list
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      # Find the number of decimals to round to
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****    File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****      val = dict.__getitem__(self, key)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****  KeyError: 'radar_width'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine:         ****  Generator terminated

from weewx-belchertown.

c0r3dump3d avatar c0r3dump3d commented on July 18, 2024

Hi, I have the same error after update from 1.2 to 1.3:

May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****  'radar_width'
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      obj.start()
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      self.run()
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 169, in run
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], subsection, gen_ts)
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 325, in generate
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      _filename))
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 415, in _getSearchList
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      search_list += obj.get_extension_list(timespan, db_lookup)
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 458, in get_extension_list
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      radar_width = self.generator.skin_dict["Extras"]["radar_width"]
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****    File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****      val = dict.__getitem__(self, key)
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****  KeyError: 'radar_width'
May  3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine:         ****  Generator terminated

from weewx-belchertown.

c0r3dump3d avatar c0r3dump3d commented on July 18, 2024

I found the solution, because I have recycled the skin.conf file from 1.2 to 1.3 version it's seems you can insert this lines in skin.conf (1.2 version):

 radar_html = ""
  radar_html_dark = ""
  radar_width = 650
  radar_height = 360

and delete this line:

radar_marker = 1
and insert

# This is the display of the kiosk page which is kiosk.html
    radar_html_kiosk = ""
    radar_width_kiosk = 490
    radar_height_kiosk = 362
    mqtt_websockets_host_kiosk = ""
    mqtt_websockets_port_kiosk = ""
    mqtt_websockets_ssl_kiosk = ""
    forecast_interval_hours_kiosk = 24
    aqi_enabled_kiosk = 0

from weewx-belchertown.

mrneutron42 avatar mrneutron42 commented on July 18, 2024

I believe the Belchertown settings in the weewx.conf file override the settings listed in the skin.conf file?
So, if you we put the correct settings in weewx.conf, it should work fine.

I wonder why the "radar_marker = 1" is a problem?
I note that the suggested Belchertown settings have # radar_marker=0
I wonder if Belchertown 1.3 works with "radar_marker=0"?

from weewx-belchertown.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from weewx-belchertown.

ChrisM510 avatar ChrisM510 commented on July 18, 2024

I am having similar issues now after trying to upgrade from 1.3b1 to 1.3.1. In my skin.conf file, I do not have "radar_marker = 1" and all of the suggested lines to add are already there. Weewx runs, but it is only grabbing data and putting it in the database...the webpage is not updating at all and I cannot run wee_reports.

Output of wee_reports:
pi@WEEWX:~ $ sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 204, in run
obj.start()
File "/usr/share/weewx/weewx/reportengine.py", line 300, in start
self.run()
File "/usr/share/weewx/user/belchertown.py", line 2771, in run
special_target_unit
File "/usr/share/weewx/user/belchertown.py", line 3737, in get_observation_data
% (binding, obs_lookup, e)
Warning: Error trying to use database binding wx_binding to graph observation outTemp. Error was: 'module' object has no attribute 'xtypes'.

Ideas? I could really use some help...I know just enough Linux to be dangerous, so consider me to be a noob, please. Thanks in advance!!!

from weewx-belchertown.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from weewx-belchertown.

mrneutron42 avatar mrneutron42 commented on July 18, 2024

This is still not fixed. I don't know what is wrong.

from weewx-belchertown.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from weewx-belchertown.

mrneutron42 avatar mrneutron42 commented on July 18, 2024

This is still not fixed.

from weewx-belchertown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.