I've posted a new alpha version of WeeWX V4. Find it at http://weewx.com/downloads/development_versions/
Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.imagegenerator: Generated 28 images for SeasonsReport in 1.46 secondsAug 24 16:00:18 pi4 weewx[17512]/INFO weewx.reportengine: copygenerator: Copied 0 files to /home/weewx/public_html
Aug 24 16:00:18 pi4 weewx[17512]: [WEEWX.INFO] weewx.imagegenerator: Generated 28 images for SeasonsReport in 1.46 seconds
--
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/d60000f3-ef1c-4d38-917e-ff2753abf39b%40googlegroups.com.
The log format surprised me a bit:Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.imagegenerator: Generated 28 images for SeasonsReport in 1.46 secondsAug 24 16:00:18 pi4 weewx[17512]/INFO weewx.reportengine: copygenerator: Copied 0 files to /home/weewx/public_html
--
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/4a679b26-b0cc-4f63-bea0-1f0825518b7c%40googlegroups.com.
Well... *somebody* can research it, but it won't be me. :-)I'll just go with space delimiters. No slashes.
Test, test, test! Especially on devices other than Vantage.
Test, test, test! Especially on devices other than Vantage.-tk
root@weewx-01:/home/weewx# uname -a && cat /etc/debian_version Linux weewx-01 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux10.0
Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Initializing weewx version 4.0.0a7Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Using Python 2.7.16 (default, Apr 6 2019, 01:42:57) #012[GCC 8.3.0]Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Platform Linux-4.19.0-5-amd64-x86_64-with-debian-10.0Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Locale is 'en_US.UTF-8'Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Using configuration file /home/weewx/weewx.confAug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Loading station type SDR (user.sdr)Aug 26 17:09:00 weewx-01 weewxd: sdr: MainThread: driver version is 0.64--
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/07a94cef-3ed3-417d-8b58-dcb3c8354c3b%40googlegroups.com.
Thanks, Andy. Did you try it under python3?
On Mon, Aug 26, 2019 at 5:13 PM Andy <rockl...@gmail.com> wrote:
--
On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote:Test, test, test! Especially on devices other than Vantage.-tkOK this is running with the sdr driver, vmware esxi 6.7root@weewx-01:/home/weewx# uname -a && cat /etc/debian_versionLinux weewx-01 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux10.0Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Initializing weewx version 4.0.0a7Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Using Python 2.7.16 (default, Apr 6 2019, 01:42:57) #012[GCC 8.3.0]Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Platform Linux-4.19.0-5-amd64-x86_64-with-debian-10.0Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Locale is 'en_US.UTF-8'Aug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Using configuration file /home/weewx/weewx.confAug 26 17:09:00 weewx-01 weewx[15780]/INFO weewx.engine: Loading station type SDR (user.sdr)Aug 26 17:09:00 weewx-01 weewxd: sdr: MainThread: driver version is 0.64
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-de...@googlegroups.com.
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/6d1c0865-304a-41dc-9a2c-8f3e8eda6e78%40googlegroups.com.
root@weewx-01:/home/weewx# python3 ./bin/weewxd /home/weewx/weewx.confTraceback (most recent call last): File "./bin/weewxd", line 64, in <module> weewx.engine.main(options, args) File "/home/weewx/bin/weewx/engine.py", line 884, in main engine = engine_class(config_dict) File "/home/weewx/bin/weewx/engine.py", line 77, in __init__ self.setupStation(config_dict) File "/home/weewx/bin/weewx/engine.py", line 100, in setupStation __import__(driver) File "/home/weewx/bin/user/sdr.py", line 179 except (OSError, ValueError), e: ^
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/6d1c0865-304a-41dc-9a2c-8f3e8eda6e78%40googlegroups.com.
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/25b78cba-42b2-48cb-8c08-9d4b78a640a5%40googlegroups.com.
Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Initializing weewx version 4.0.0a7Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Using Python 3.7.3 (default, Apr 3 2019, 05:39:12) #012[GCC 8.3.0]Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Platform Linux-4.19.0-5-amd64-x86_64-with-debian-10.0Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Locale is 'en_US.UTF-8'Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Using configuration file /home/weewx/weewx.conf.20190826170115Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Loading station type Simulator (weewx.drivers.simulator)--
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/e9357fff-2587-433d-940e-2ce45cf5fcd6%40googlegroups.com.
Aug 27 10:15:26 weewx-01 weewx[4188]/INFO weewx.manager: Added record 2019-08-27 10:15:00 PDT (1566926100) to database 'weewx.sdb'Aug 27 10:15:26 weewx-01 weewx[4188]/INFO weewx.manager: Added record 2019-08-27 10:15:00 PDT (1566926100) to daily summary in 'weewx.sdb'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: reportengine: Unable to instantiate generator 'weewx.cheetahgenerator.CheetahGenerator'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** No module named 'Cheetah'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Traceback (most recent call last):Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 185, in runAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** obj = weeutil.weeutil._get_object(generator)(Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/weeutil.py", line 1103, in _get_objectAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** mod = __import__(module)Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 66, in <module>Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** import Cheetah.FiltersAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'Cheetah'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Generator ignoredAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: reportengine: Unable to instantiate generator 'weewx.imagegenerator.ImageGenerator'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** No module named 'Image'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Traceback (most recent call last):Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 18, in <module>Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** from PIL import Image, ImageDrawAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'PIL'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** During handling of the above exception, another exception occurred:Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Traceback (most recent call last):Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 185, in runAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** obj = weeutil.weeutil._get_object(generator)(Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/weeutil.py", line 1103, in _get_objectAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** mod = __import__(module)Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/imagegenerator.py", line 19, in <module>Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** import weeplot.genplotAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 20, in <module>Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** import Image, ImageDrawAug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'Image'Aug 27 10:15:26 weewx-01 weewx[4188]/ERROR weewx.reportengine: **** Generator ignoredAug 27 10:15:26 weewx-01 weewx[4188]/INFO weewx.reportengine: copygenerator: Copied 5 files to /home/weewx/public_html
--
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/35e78ca7-78b4-4588-90b0-b8f03f112f5b%40googlegroups.com.
Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting up weewx version 4.0.0a7Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting main packet loop.Aug 27 06:48:44 weewx-01 systemd[1]: weewx.service: State 'stop-sigterm' timed out. Killing.
[Service]ExecStart=/usr/bin/python3 /home/weewx/bin/weewxd /home/weewx/weewx.confWorkingDirectory=/home/weewx#ExecReload=/bin/kill -HUP $MAINPIDType=simple#PIDFile=/var/run/weewx.pidAug 27 14:21:00 weewx-01 systemd[1]: Reloading weewx weather system.Aug 27 14:21:00 weewx-01 weewx[7063]/INFO weewx.engine: Received signal HUP. Initiating restart.Aug 27 14:21:00 weewx-01 weewx[7063]/INFO weewx.engine: Main loop exiting. Shutting engine down.Aug 27 14:21:00 weewx-01 weewx[7063]/INFO weewx.engine: Shutting down StdReport threadAug 27 14:21:00 weewx-01 weewx[7063]/INFO user.sdr: shutdown process rtl_433 -M utc -F json -GAug 27 14:21:00 weewx-01 systemd[1]: Reloaded weewx weather system.Aug 27 14:21:01 weewx-01 CRON[7142]: (root) CMD (/home/camera/update-image >/dev/null 2>&1)Aug 27 14:21:10 weewx-01 weewx[7063]/INFO user.sdr: timed out waiting for stderr-threadAug 27 14:21:15 weewx-01 weewx[7063]/ERROR user.sdr: process did not respond to kill, shutting down anywayAug 27 14:21:15 weewx-01 weewx[7063]/INFO weewx.engine: Received signal HUP. Restarting.Aug 27 14:21:15 weewx-01 weewx[7063]/INFO weewx.engine: Using configuration file /home/weewx/weewx.confAug 27 14:21:15 weewx-01 weewx[7063]/INFO weewx.engine: Loading station type SDR (user.sdr)Aug 27 14:21:15 weewx-01 weewx[7063]/INFO user.sdr: driver version is 0.70--
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/20cde526-bad0-4554-a05f-42ba6fcc2dcd%40googlegroups.com.
/usr/bin/env: ‘python’: No such file or directory
#!/usr/bin/python3I notice weewxd has a shebang for python3 and runs without an issue when using ./ ... Does setup.py need to be updated?From /home/weewx/bin/weewxd#!/usr/bin/python3
root@weewx-01:~# uptime 05:58:56 up 43 days, 23:57, 1 user, load average: 0.02, 0.01, 0.00root@weewx-01:~# uname -aLinux weewx-01 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linuxroot@weewx-01:~# cat /etc/debian_version 10.0Oct 10 02:24:30 weewx-01 weewx[1808]/INFO weewx.engine: Main loop exiting. Shutting engine down.Oct 10 02:24:30 weewx-01 weewx[1808]/INFO weewx.engine: Shutting down StdReport threadOct 10 02:24:30 weewx-01 weewx[1808]/INFO user.sdr: shutdown process rtl_433 -M utc -F json -GOct 10 02:24:45 weewx-01 weewx[1808]/INFO user.sdr: timed out waiting for stderr-threadOct 10 02:24:53 weewx-01 weewx[1808]/ERROR user.sdr: process did not respond to kill, shutting down anywayOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: Caught unrecoverable exception:Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** 'Logger' object has no attribute 'notice'Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** Traceback (most recent call last):Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 890, in mainOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** engine.run()Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 196, in runOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 229, in dispatchEventOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** callback(event)Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/engine.py", line 426, in new_loop_packetOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** self.qc.apply_qc(event.packet, 'LOOP')Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** File "/home/weewx/bin/weewx/qc.py", line 61, in apply_qcOct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** log.notice("%s: %s %s value '%s' %s outside limits (%s, %s)",Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** AttributeError: 'Logger' object has no attribute 'notice'Oct 10 02:24:53 weewx-01 weewx[1808]/CRITICAL weewx.engine: **** Exiting.
--
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/2b3b1bd0-5d1e-42a1-a7fc-58bf7f946785%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "weewx-development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-development/4q8S6Tje_VI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEC6Zn6Zs9%3DEOvDf%2BZKvhpuBYkPK2zwD_UcOL98botfLsA%40mail.gmail.com.