Fixed it by removing accented char ( à ) from comment in weewx.conf file. On Saturday, January 16, 2021 at 12:07:59 PM UTC+1 sbar...@gmail.com wrote:
> Ok, > > I tried running as app and not as daemon, and I got the following stack > trace error : > Exception in thread ReportThread: > Traceback (most recent call last): > File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner > self.run() > File "/usr/share/weewx/weewx/reportengine.py", line 141, in run > skin_dict = self._build_skin_dict(report) > File "/usr/share/weewx/weewx/reportengine.py", line 249, in > _build_skin_dict > merge_dict = > weeutil.config.deep_copy(self.config_dict)['StdReport']['Defaults'] > File "/usr/share/weewx/weeutil/config.py", line 251, in deep_copy > new_value = deep_copy(old_value, new_dict, new_dict.depth+1, > new_dict.main) > File "/usr/share/weewx/weeutil/config.py", line 251, in deep_copy > new_value = deep_copy(old_value, new_dict, new_dict.depth+1, > new_dict.main) > File "/usr/share/weewx/weeutil/config.py", line 262, in deep_copy > new_dict.comments[entry] = [str(x) for x in old_dict.comments[entry]] > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in > position 9: ordinal not in range(128) > > Any idea where I should look to get this fixed? > > Thank you, > > On Saturday, January 16, 2021 at 10:24:31 AM UTC+1 sbar...@gmail.com > wrote: > >> Hello, >> >> I decided to upgrade my weewx this morning from 3.9.1 to 4.3. >> I upgraded via webmin and resulted a in a default conf. >> >> I manually reapplied the conf from a backup, and now: >> - data aquisition from SDR seems OK >> - Wunderground reporting is OK >> - Station registry is OK >> >> But there does not seem to be any generated report. >> My local website does not get updated >> My remote website that was updated via FTP does not get updated either >> >> I set debug=1, and see it in the log startup that it should be taken >> into account: >> >> However I see no error in the log, not any DEBUG message. >> >> Running on rapsbian 9.9 I used the pyhton2 package. >> >> Any hint as to were I may have messed up? >> >> Regards, >> >> Below is a part of the weewx log from start-up: >> Jan 16 09:40:48 weatherpi weewx[2920] INFO __main__: Initializing weewx >> version 4.3.0 >> Jan 16 09:40:48 weatherpi weewx[2920] INFO __main__: Using Python 2.7.13 >> (default, Aug 22 2020, 10:03:02) #012[GCC 6.3.0 20170516] >> Jan 16 09:40:48 weatherpi weewx[2920] INFO __main__: Platform >> Linux-4.19.66-v7+-armv7l-with-debian-9.13 >> Jan 16 09:40:48 weatherpi weewx[2920] INFO __main__: Locale is >> 'en_GB.UTF-8' >> Jan 16 09:40:48 weatherpi weewx[2920] INFO __main__: PID file is >> /var/run/weewx.pid >> Jan 16 09:40:49 weatherpi weewx[2934] INFO __main__: Using configuration >> file /etc/weewx/weewx.conf >> Jan 16 09:40:49 weatherpi weewx[2934] INFO __main__: Debug is 1 >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Loading station >> type SDR (user.sdr) >> Jan 16 09:40:49 weatherpi weewxd: sdr: MainThread: driver version is >> 0.14rc1 >> Jan 16 09:40:49 weatherpi weewxd: sdr: MainThread: sensor map is >> {u'windGust': u'wind_gust.0:*.OSWGR800Packet', u'windSpeed': >> u'wind_speed.0:*.OSWGR800Packet', u'windBatteryStatus': >> u'battery.0:*.OSWGR800Packet', u'windDir': u'wind_dir.0:*.OSWGR800Packet', >> u'outHumidity': u'humidity.1:*.OSTHGR810Packet', u'outTemp': >> u'temperature.1:*.OSTHGR810Packet', u'outTempBatteryStatus': >> u'battery.1:*.OSTHGR810Packet', u'rain_total': >> u'rain_total.0:*.OSPCR800Packet', u'rainBatteryStatus': >> u'battery.0:*.OSPCR800Packet', u'extraTemp1': >> u'temperature.1:14.RubicsonTempPacket', u'UV': >> u'uv_index.1:*.OSUV800Packet', u'pressure': >> u'pressure.1:*.OSBTHGN129Packet', u'inTemp': >> u'temperature.1:*.OSBTHGN129Packet', u'inHumidity': >> u'humidity.1:*.OSBTHGN129Packet', u'inTempBatteryStatus': >> u'battery.1:*.OSBTHGN129Packet'} >> Jan 16 09:40:49 weatherpi weewxd: sdr: MainThread: deltas is {'strikes': >> 'strikes_total', 'rain': 'rain_total'} >> Jan 16 09:40:49 weatherpi weewxd: sdr: MainThread: startup process >> '/usr/local/bin/rtl_433 -q -U' >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: StdConvert >> target unit is 0x1 >> Jan 16 09:40:49 weatherpi kernel: [40068.515685] r820t 4-001a: destroying >> instance >> Jan 16 09:40:49 weatherpi kernel: [40068.520517] dvb_usb_v2: 'Realtek >> RTL2832U reference design:1-1.4' successfully deinitialized and disconnected >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Archive will use >> data binding wx_binding >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Record >> generation will be attempted in 'hardware' >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Using archive >> interval of 60 seconds (specified in weewx configuration) >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: StationRegistry: >> Station will be registered. >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: Wunderground-PWS: >> Data for station IRHNEALP38 will be posted >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: PWSweather: >> Posting not enabled. >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: CWOP: Posting not >> enabled. >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: WOW: Posting not >> enabled. >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.restx: AWEKAS: Posting >> not enabled. >> Jan 16 09:40:49 weatherpi weewx[2934] INFO __main__: Starting up weewx >> version 4.3.0 >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Using binding >> 'wx_binding' to database 'weewx' >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.manager: Starting >> backfill of daily summaries >> Jan 16 09:40:49 weatherpi weewx[2934] INFO weewx.engine: Starting main >> packet loop. >> Jan 16 09:40:52 weatherpi weewxd: sdr: MainThread: unparsed: [] >> >> >> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4801c72e-6bbe-4480-80fe-ba1357232f9bn%40googlegroups.com.