On Saturday, January 11, 2020 at 4:51:30 PM UTC-5, Scott Grayban wrote:
>
> I tried pycap and that did run for a few seconds.
>
> Jan 11 00:39:13 weewx-pi weewx[3942]: engine: Loading station type 
> Interceptor (user.interceptor)
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: driver 
> version is 0.49
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: device 
> type: observer
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: sensor map: 
> None
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: mode is 
> sniff
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: sniff 
> iface=wlan0 promiscuous=0
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: sniff 
> filter 'src 10.3.141.62 and dst port 80'
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: MainThread: pypcap 
> (1.2.2)
> Jan 11 00:39:13 weewx-pi weewx[3942]: interceptor: ServerThread: start 
> sniff server
>

this is actually running just fine - when you ran it this time, there was 
no exception at pcapObject_open_live

so one time when you started weewxd, you got a type error for argument 2 of 
pcapObject_open_live.  we do not know what caused that.

another time when you started weewxd, you got a failure because of a bogus 
service configuration in your weewx configuration file.

and one time when you ran interceptor directly, it worked.

you did an apt update, which might have updated your pcap library

you updated the interceptor driver

the pcap initialization code in the interceptor driver has not changed 
since january 2019.

so without more information, i'd guess that the failures are due to changes 
that you are making in your weewx configuration file.

if it is true that running interceptor directly works, but running weewxd 
fails, with absolutely no other changes, then run those two different ways 
to figure out what is different.

m

-- 
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/52edaf4f-afaf-4b02-b752-022d7efbd44e%40googlegroups.com.

Reply via email to