wee_database --drop-columns=soilMoist2
$month.outTemp.series(aggregate_type='max', aggregate_interval='day').json
[[1614585600, 1614672000, 58.2], [1614672000, 1614758400, 55.8], [1614758400, 1614844800, 59.6], ... ]
<snippage>
Handling utf-8 letter is broken in the installer. If I set Description to Kyrölä, new install fails with:
Traceback (most recent call last):
File "/home/weewx/bin/wee_config", line 123, in <module>
main()
File "/home/weewx/bin/wee_config", line 117, in main
config_mgr.run(args, options)
File "/home/weewx/bin/weecfg/config.py", line 126, in run
backup_path = weecfg.save(config_dict, output_path, not options.no_backup)
File "/home/weewx/bin/weecfg/__init__.py", line 215, in save
config_dict.write(fd)
File "/usr/lib/python3/dist-packages/configobj.py", line 2119, in write
'ascii')
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 953-954: surrogates not allowed
However, if I make initial config with 4.4.0, seems to work fine, even reconfigure with 4.5.x goes without errors.
--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/b333a1f6-8f9c-4ebc-8ebe-bb1d6d73a8e2n%40googlegroups.com.
Handling utf-8 letter is broken in the installer. If I set Description to Kyrölä, new install fails with:
Traceback (most recent call last):
File "/home/weewx/bin/wee_config", line 123, in <module>
main()
File "/home/weewx/bin/wee_config", line 117, in main
config_mgr.run(args, options)
File "/home/weewx/bin/weecfg/config.py", line 126, in run
backup_path = weecfg.save(config_dict, output_path, not options.no_backup)
File "/home/weewx/bin/weecfg/__init__.py", line 215, in save
config_dict.write(fd)
File "/usr/lib/python3/dist-packages/configobj.py", line 2119, in write
'ascii')
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 953-954: surrogates not allowed
However, if I make initial config with 4.4.0, seems to work fine, even reconfigure with 4.5.x goes without errors.
lauantai 3. huhtikuuta 2021 klo 17.43.44 UTC+3 pravee...@gmail.com kirjoitti:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/bf8a324d-cef3-4f1b-bc5f-b5b68c4ba2ben%40googlegroups.com.