Thanks guys, I could solve my problem. [email protected] schrieb am Donnerstag, 4. März 2021 um 16:45:07 UTC+1:
> As Karen says, you have two errors. I cannot speak to the error in the > Belchertown skin. > > However, the upload to wetter.com may have failed because you have an > older version of the wetter extension. This error was fixed in V0.7. Try > upgrading your copy of the extension. > > On Thu, Mar 4, 2021 at 2:57 AM Karen K <[email protected]> wrote: > >> I see 2 errors that seem independent to me: >> >> - Upload to wetter.com fails >> - AerisWeather data could not be downloaded >> >> I would start checking the account at both those services. >> >> Andre schrieb am Donnerstag, 4. März 2021 um 10:08:28 UTC+1: >> >>> First: I use WeeWX 4.4.0.0 at Raspberry Pi 4. Skin Belchertown. >>> >>> Yesterday WeeWX has stopped working. Last data are from 2021-03-03 at >>> 19:40 MEZ. >>> MQTT is working as aspected. >>> >>> I've tried: >>> >>> sudo wee_database weewx.conf --drop-daily >>> sudo wee_database weewx.conf --rebuild-daily >>> sudo wee_database --fix-strings >>> >>> ---Here my log--- >>> Mar 4 10:00:07 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:08 CET (1614848408) >>> Mar 4 10:00:09 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:10 CET (1614848410) >>> Mar 4 10:00:11 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:12 CET (1614848412) >>> Mar 4 10:00:14 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:14 CET (1614848414) >>> Mar 4 10:00:15 weewx weewx[7220] DEBUG weewx.drivers.vantage: Getting >>> archive packets since 2021-03-04 09:55:00 CET (1614848100) >>> Mar 4 10:00:15 weewx weewx[7220] DEBUG weewx.drivers.vantage: Gentle >>> wake up of console successful >>> Mar 4 10:00:15 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:16 CET (1614848416) >>> Mar 4 10:00:15 weewx weewx[7220] DEBUG weewx.drivers.vantage: >>> Retrieving 1 page(s); starting index= 1 >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.manager: Added record >>> 2021-03-04 10:00:00 CET (1614848400) to database 'weewx.sdb' >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.manager: Added record >>> 2021-03-04 10:00:00 CET (1614848400) to daily summary in 'weewx.sdb' >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.drivers.vantage: DMPAFT >>> complete: page timestamp 2021-02-23 12:45:00 CET (1614080700) less than >>> final timestamp 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.drivers.vantage: Catch up >>> complete. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Running >>> reports for latest time in the database. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.drivers.vantage: >>> Requesting 200 LOOP packets. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Report >>> 'SeasonsReport' not enabled. Skipping. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Report >>> 'SmartphoneReport' not enabled. Skipping. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Report >>> 'MobileReport' not enabled. Skipping. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Report >>> 'StandardReport' not enabled. Skipping. >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Running >>> report 'Belchertown' >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.drivers.vantage: Gentle >>> wake up of console successful >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.reportengine: Found >>> configuration file /etc/weewx/skins/Belchertown/skin.conf for report >>> 'Belchertown' >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: Windy: Published >>> record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: Wetter: Unexpected >>> exception of type <class 'TypeError'> >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** Traceback (most >>> recent call last): >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.restx: CWOP: Connected to >>> server cwop.aprs.net:14580 >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** File >>> "/usr/share/weewx/weewx/restx.py", line 381, in run_loop >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** >>> self.process_record(_record, dbmanager) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** File >>> "/usr/share/weewx/weewx/restx.py", line 446, in process_record >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** >>> self.post_with_retries(_request, data) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** File >>> "/usr/share/weewx/weewx/restx.py", line 485, in post_with_retries >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: AWEKAS: Published >>> record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** >>> self.check_response(_response) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** File >>> "/usr/share/weewx/user/wetter.py", line 143, in check_response >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** if >>> txt.find('"errorcode":"100"') != -1 or \ >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.restx: *** TypeError: >>> argument should be integer or bytes-like object, not 'str' >>> Mar 4 10:00:16 weewx weewx[7220] CRITICAL weewx.restx: Wetter: Thread >>> terminating. Reason: argument should be integer or bytes-like object, not >>> 'str' >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: CWOP: Published >>> record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.cheetahgenerator: Using >>> search list ['weewx.cheetahgenerator.Almanac', >>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', >>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', >>> 'weewx.cheetahgenerator.Extras', 'user.belchertown.getData'] >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.manager: Daily summary >>> version is 4.0 >>> Mar 4 10:00:16 weewx weewx[7220] INFO user.belchertown: version 1.2rc2 >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: Caught >>> unrecoverable exception in generator >>> 'weewx.cheetahgenerator.CheetahGenerator' >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** list indices must be integers or slices, not str >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** Traceback (most recent call last): >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 196, in run >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** obj.start() >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/reportengine.py", line 281, in start >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** self.run() >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** ngen = self.generate(gen_dict[section_name], self.gen_ts) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in >>> generate >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** ngen += self.generate(section[subsection], gen_ts) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in >>> generate >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** ngen += self.generate(section[subsection], gen_ts) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in >>> generate >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** default_binding) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 385, in >>> _getSearchList >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** searchList += obj.get_extension_list(timespan, db_lookup) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** File "/usr/share/weewx/user/belchertown.py", line 880, in >>> get_extension_list >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** current_obs_summary = aeris_coded_weather( >>> data["current"][0]["response"]["ob"]["weatherPrimaryCoded"] ) >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** TypeError: list indices must be integers or slices, not str >>> Mar 4 10:00:16 weewx weewx[7220] ERROR weewx.reportengine: >>> **** Generator terminated >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.reportengine: Copied 32 >>> files to /var/www/html/weewx/belchertown >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: Wunderground-PWS: >>> Published record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:16 weewx weewx[7220] DEBUG weewx.manager: Daily summary >>> version is 4.0 >>> Mar 4 10:00:16 weewx weewx[7220] INFO weewx.restx: PWSWeather: >>> Published record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:17 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:16 CET (1614848416) >>> Mar 4 10:00:17 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:18 CET (1614848418) >>> Mar 4 10:00:19 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:20 CET (1614848420) >>> Mar 4 10:00:20 weewx weewx[7220] INFO weewx.restx: WeatherCloud: >>> Published record 2021-03-04 10:00:00 CET (1614848400) >>> Mar 4 10:00:21 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:22 CET (1614848422) >>> Mar 4 10:00:24 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:24 CET (1614848424) >>> Mar 4 10:00:25 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:26 CET (1614848426) >>> Mar 4 10:00:27 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:28 CET (1614848428) >>> Mar 4 10:00:29 weewx weewx[7220] INFO weewx.restx: MQTT: Published >>> record 2021-03-04 10:00:30 CET (1614848430) >>> >>> Any ideas how to fix this problem? >>> >>> Regards, Andre >>> >> -- >> 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/6d00a16f-9814-4fc4-9fcb-08e591a14c49n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/6d00a16f-9814-4fc4-9fcb-08e591a14c49n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/7df6f5b4-4d31-4afb-b0e4-200e2d0da60fn%40googlegroups.com.
