upgrade with belchertown 1.3.b1

210 views
Skip to first unread message

sali...@gmail.com

unread,
Apr 15, 2021, 12:46:29 PM4/15/21
to weewx-user
hello,
I just upgraded with weewx 4.5.1 " it works fine", good job Tom after I upgraded the skin "Belchertown 1.3.b1" but I have ERRORS: I test this version on my RPi of Test.

Apr 15 18:39:16 raspberrypi weewx[6151] INFO weewx.manager: Added record 2021-04-15 18:39:00 CEST (1618504740) to atabase 'weewx.sdb'
Apr 15 18:39:16 raspberrypi weewx[6151] INFO weewx.manager: Added record 2021-04-15 18:39:00 CEST (1618504740) to aily summary in 'weewx.sdb'
Apr 15 18:39:16 raspberrypi weewx[6151] DEBUG weewx.reportengine: Running reports for latest time in the database.
Apr 15 18:39:16 raspberrypi weewx[6151] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Apr 15 18:39:16 raspberrypi /weewxd: BYOWS RPi: Unknown Wind Vane value: 0.0
Apr 15 18:39:16 raspberrypi weewx[6151] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Season/skin.conf for report 'SeasonsReport'
Apr 15 18:39:16 raspberrypi weewx[6151] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Amanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewxcheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers']
Apr 15 18:39:16 raspberrypi weewx[6151] DEBUG weewx.manager: Daily summary version is 4.0
Apr 15 18:39:18 raspberrypi weewx[6151] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in1.62 seconds
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.manager: Daily summary version is 4.0
Apr 15 18:39:18 raspberrypi weewx[6151] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in0.54 seconds
Apr 15 18:39:18 raspberrypi weewx[6151] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.reportengine: Running report 'Belchertown'
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchetown/skin.conf for report 'Belchertown'
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Amanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewxcheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 'user.belcherton.getData']
Apr 15 18:39:18 raspberrypi weewx[6151] DEBUG weewx.manager: Daily summary version is 4.0
Apr 15 18:39:18 raspberrypi weewx[6151] INFO user.belchertown: version 1.3b1
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weex.cheetahgenerator.CheetahGenerator'
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****  'NoneType' object is not subscriptble
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reprtengine.py", line 196, in run
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      obj.start()
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reprtengine.py", line 281, in start
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      self.run()
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/chetahgenerator.py", line 152, in run
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[ection_name], self.gen_ts)
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/chetahgenerator.py", line 222, in generate
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      ngen += self.generate(section[ubsection], gen_ts)
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/chetahgenerator.py", line 222, in generate
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      ngen += self.generate(section[ubsection], gen_ts)
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/chetahgenerator.py", line 311, in generate
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      default_binding)
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/chetahgenerator.py", line 387, in _getSearchList
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      searchList += obj.get_extensio_list(timespan, db_lookup)
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belcertown.py", line 649, in get_extension_list
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****      at_outTemp_max_range_query[3],
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****  TypeError: 'NoneType' object is no subscriptable
Apr 15 18:39:18 raspberrypi weewx[6151] ERROR weewx.reportengine:         ****  Generator terminated

An idea

Patrick from France

olif onza

unread,
Apr 16, 2021, 6:28:12 AM4/16/21
to weewx-user
Last time I got this error with Belchertown skin, that was beacause I missed a database update after weewx upgraded

olif onza

unread,
Apr 16, 2021, 6:31:12 AM4/16/21
to weewx-user
If I remember right that was fixed with
wee_database --update

salinois

unread,
Apr 16, 2021, 7:21:01 AM4/16/21
to weewx...@googlegroups.com

hello Olif,

this morning, I restarted my station and RPi, and all works fine !!!

maybe as you say the database must be updated.

bye

Patrick

--
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/c571f8d9-a804-4087-86b3-f12ef480bd20n%40googlegroups.com.

Didier Decoodt

unread,
Apr 16, 2021, 7:34:54 AM4/16/21
to weewx...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages