Own Driver

521 views
Skip to first unread message

michae...@gmail.com

unread,
Apr 18, 2024, 12:05:57 PM4/18/24
to weewx-user
Hello, I have my own driver based on Filepraser. Now I keep getting the following error message. The function is not created. 1: Do you need them in the driver? 2: if yes: what should the task be?

Apr 18 18:00:43 raspberrypi weewxd[16522]: Exception ignored in: <generator object ByowsRpi.genLoopPackets at 0x75bf6b18>
Apr 18 18:00:43 raspberrypi weewxd[16522]: Traceback (most recent call last):
Apr 18 18:00:43 raspberrypi weewxd[16522]:   File "/usr/share/weewx/weewx/engine.py", line 210, in run
Apr 18 18:00:43 raspberrypi weewxd[16522]:     self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Apr 18 18:00:43 raspberrypi weewxd[16522]: RuntimeError: generator ignored GeneratorExit

Best regards michael

Tom Keffer

unread,
Apr 18, 2024, 1:09:07 PM4/18/24
to weewx...@googlegroups.com
I am not sure if I am understanding correctly, but yes, you absolutely need the function genLoopPackets(). See the documentation on writing a driver

--
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/fc354ad5-0543-4391-bd73-7dc6483a439dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages