Error with python-libpcap installed

Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Initializing weewx version 3.9
.2
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Using Python 2.7.13 (default, 
Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Platform Linux-4.19.66-v7+-
armv7l-with-debian-9.11
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Locale is 'en_US.UTF-8'
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Using configuration file /etc/
weewx/weewx.conf.20200110210428
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Debug is 1
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Initializing engine
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Loading station type 
Interceptor (user.interceptor)
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: driver 
version is 0.49
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: device type: 
observer
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: sensor map: 
None
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: mode is sniff
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: sniff 
iface=wlan0 
promiscuous=0
Jan 12 13:28:07 weewx-pi weewx[3792]: interceptor: MainThread: sniff filter 
'src 
10.3.141.62 and dst port 80'
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Import of driver failed: in 
method 'pcapObject_open_live', argument 2 of type 'char *' (<type 
'exceptions.TypeError'>)
Jan 12 13:28:07 weewx-pi weewx[3792]: engine: Unable to load driver: in 
method 'pcapObject_open_live', argument 2 of type 'char *'
Jan 12 13:28:07 weewx-pi weewx[3792]:     ****  Exiting...


Error with python-pypcap

Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Initializing weewx version 3.9
.2 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Using Python 2.7.13 (default, 
Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516] 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Platform Linux-4.19.66-v7+-
armv7l-with-debian-9.11 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Locale is 'en_US.UTF-8' 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Using configuration file /etc/
weewx/weewx.conf 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Debug is 1 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Initializing engine 
Jan 12 16:23:49 weewx-pi weewx[8674]: engine: Loading station type 
Interceptor (user.interceptor) 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: driver 
version is 0.49 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: device type: 
observer 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: sensor map: 
None 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: mode is 
sniff 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: sniff 
iface=wlan0 
promiscuous=0 
Jan 12 16:23:49 weewx-pi weewx[8674]: interceptor: MainThread: sniff filter 
'src 
10.3.141.62 and dst port 80' 
Jan 12 16:23:50 weewx-pi weewx[8674]: interceptor: MainThread: pypcap (1.1) 
Jan 12 16:23:50 weewx-pi weewx[8674]: interceptor: ServerThread: start 
sniff server 
Jan 12 16:23:50 weewx-pi weewx[8674]: engine: Loading service w 
Jan 12 16:23:50 weewx-pi weewx[8674]: interceptor: MainThread: shutting 
down server thread 
Jan 12 16:23:50 weewx-pi weewx[8674]: interceptor: MainThread: stop sniff 
server 
Jan 12 16:24:07 weewx-pi weewx[8674]: engine: Caught unrecoverable 
exception in engine: 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****  Empty module name 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****  Traceback (most recent call 
last): 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 888, in main 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****      engine = engine_class(
config_dict) 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 78, in __init__ 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****      self.loadServices(
config_dict) 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 142, in loadServices 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****      self.service_obj.append(
weeutil.weeutil._get_object(svc)(self, config_dict)) 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****    File 
"/usr/share/weewx/weeutil/weeutil.py", line 1107, in _get_object 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****      mod = __import__(module) 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****  ValueError: Empty module 
name 
Jan 12 16:24:07 weewx-pi weewx[8674]:     ****  Exiting.




On Sunday, January 12, 2020 at 3:05:53 PM UTC-8, mwall wrote:
>
> On Sunday, January 12, 2020 at 5:47:18 PM UTC-5, Scott Grayban wrote:
>>
>>
>> [StdWXCalculate]
>>     
>>     [[Calculations]]
>>         # Derived quantities are calculated by this service. Possible 
>> values are:
>>         #  hardware        - use the value provided by hardware
>>         #  software        - use the value calculated by weewx
>>         #  prefer_hardware - use value provide by hardware if available,
>>         #                      otherwise use value calculated by weewx
>>         
>>         pressure = prefer_hardware
>>         barometer = prefer_hardware
>>         altimeter = prefer_hardware
>>         windchill = prefer_hardware
>>         heatindex = prefer_hardware
>>         dewpoint = prefer_hardware
>>         inDewpoint = prefer_hardware
>>         rainRate = prefer_hardware
>>         inHumidity = Inside Humidity
>>
>
> probably not relevant to the interceptor, but 'Inside Humidity' is not a 
> valid parameter for the 'Calculations' stanza.
>
> now with debug=1, start up weewx and post the log from startup until 
> failure.
>  
>

-- 
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/672b9b0d-758f-465d-a663-7c7451d92d05%40googlegroups.com.

Reply via email to