Hi Matthew, is there an older version of the weewx-interceptor code before 
the pylibpcap binding change I might be able to try?

On Thursday, May 24, 2018 at 11:55:21 AM UTC-4, mwall wrote:
>
> douglas,
>
> this looks like a pcap library issue.  i think there are two python 
> bindings for pcap:  pypcap and pylibpcap.  apparently pylibpcap has the 
> pcapObject, but pypcap does not.
>
>
> https://stackoverflow.com/questions/2501138/module-object-has-no-attribute-pcapobject
>
> when i did the development of weewx-interceptor, the 'pip install pypcap' 
> gave me the pylibpcap bindings.  but more recently i have been using the 
> debian-based python-libpcap package, which seems to have pylibpcap bindings 
> as well.  if you did the 'pip install pypcap' you might have gotten the 
> pypcap bindings.
>
> so what do we do?
>
> option 1: figure out how to install the pylibpcap bindings on your system. 
>  you might be able to do this with 'pip install pylibpcap'
>
> option 2: adjust the weewx-interceptor code so that it works with either 
> pypcap or pylibpcap bindings.  i'm happy to support whichever pcap bindings 
> are more prevalent/modern/available.  the APIs are not compatible, but they 
> are used in only less than 10 lines of code. 
>
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to