RE: [weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-28 Thread 'Scott Weis' via weewx-user
I run weewx on a Raspberry Pi model B (512Mb ram and 700  
<https://en.wikipedia.org/wiki/Hertz> MHz single-core  
<https://en.wikipedia.org/wiki/ARM11> ARM1176JZF-S, running since 2013)  Since 
the Pi Zero has a 1 GHz single-core  <https://en.wikipedia.org/wiki/ARM11> 
ARM1176JZF-S and 512Mb Ram it should be fine.

 

From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On 
Behalf Of Douglas Krug
Sent: Monday, May 28, 2018 11:39 AM
To: weewx-user@googlegroups.com
Subject: Re: [weewx-user] Re: Exceptions attribute error - Interceptor driver 
for Acurite bridge

 

Hi Mathew,

 

Thanks again. I'm not at a fluent in python. I've spent more time trying to get 
this running on Mac OS than it's worth. Going to order a Raspberry Pi 3 and try 
from there. So many more people running that, and support will be easier for 
everyone if I run into trouble.

 

I do have a RPi Zero W on hand. What your opinion on using that, would it be 
sufficient, or under powered for the task?

 

On Sun, May 27, 2018 at 8:36 PM, mwall mailto:goo...@lancet.mit.edu> > wrote:

On Saturday, May 26, 2018 at 12:33:54 PM UTC-4, Douglas Krug wrote:

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

 

nope - you'll be better of working with the latest

 

are you certain that you installed the pylibpcap bindings properly?  did you 
test by starting a python shell and doing the imports directly?

 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/0cdl5rIPFCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
weewx-user+unsubscr...@googlegroups.com 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

 

-- 
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 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
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.


[weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-27 Thread mwall
On Saturday, May 26, 2018 at 12:33:54 PM UTC-4, Douglas Krug wrote:
>
> Hi Matthew, is there an older version of the weewx-interceptor code before 
> the pylibpcap binding change I might be able to try?
>

nope - you'll be better of working with the latest

are you certain that you installed the pylibpcap bindings properly?  did 
you test by starting a python shell and doing the imports directly?

-- 
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.


[weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-26 Thread Douglas Krug
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.


[weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-24 Thread Douglas Krug
Thanks so much for that helpful reply Matthew. I found the pylibpcap 
bindings here , 
but unfortunately I still get the same result. Tried rebooting for good 
measure, but no change. Tried uninstalling pypcap as well, but still no 
change in result.

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.


[weewx-user] Re: Exceptions attribute error - Interceptor driver for Acurite bridge

2018-05-24 Thread mwall
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.