Have installed weeWX on MacOS 10.11.6 and I think my install is correct.
I'm able to launch with Simulator configured, but I get the following error
when I try to run configured with Interceptor for an Acurite bridge.
I also installed libcap as instructed.
*From wee_debug*
Using configuration file /Users/Shared/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database
'archive_sqlite'
System info
Platform: Darwin-15.6.0-x86_64-i386-64bit
Python Version: 2.7.10
Load Information
1 minute load average: 1.12
5 minute load average: 1.22
15 minute load average: 1.17
General Weewx info
Weewx version 3.8.0 detected.
Station info
Station type: Interceptor
Driver: user.interceptor
Driver info
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use:
driver = user.interceptor
# Specify the hardware device to capture. Options include:
# acurite-bridge - acurite internet bridge
# observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
# lw30x - oregon scientific LW301/LW302
# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
device_type = acurite-bridge
mode = sniff
iface = en0
pcap_filter = src 192.168.0.125 and dst port 80
Currently installed extensions
Extension Name Version Description
Traceback (most recent call last):
File "/Users/Shared/weewx/bin/wee_debug", line 427, in <module>
main()
File "/Users/Shared/weewx/bin/wee_debug", line 160, in main
options.verbosity)
File "/Users/Shared/weewx/bin/wee_debug", line 227, in generateDebugInfo
ext.enumerate_extensions()
File "/Users/Shared/weewx/bin/weecfg/extension.py", line 81, in
enumerate_extensions
info = self.get_extension_info(f)
File "/Users/Shared/weewx/bin/weecfg/extension.py", line 93, in
get_extension_info
_, installer = weecfg.get_extension_installer(ext_cache_dir)
File "/Users/Shared/weewx/bin/weecfg/__init__.py", line 1296, in
get_extension_installer
raise ExtensionError("Cannot find 'install' module in %s" %
extension_installer_dir)
weecfg.ExtensionError: Cannot find 'install' module in
/Users/Shared/weewx/bin/user/installer/.DS_Store
Not sure if this last error is typical on Mac OS when using wee_debug, but
I don't get an error when I install the Interceptor driver.
*Output from Mac OS console*
5/24/18 1:12:59.654 AM weewx[677]: import of driver failed: 'module' object
has no attribute 'pcapObject' (<type 'exceptions.AttributeError'>)
5/24/18 1:12:59.655 AM weewx[677]: engine: Unable to load driver: 'module'
object has no attribute 'pcapObject'
5/24/18 1:12:59.655 AM weewx[677]: **** Exiting...
*From my conf file*
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use: driver = user.interceptor # Specify the hardware device to
capture. Options include: # acurite-bridge - acurite internet bridge # observer
- fine offset WH2600/HP1000/HP1003, aka 'observer' # lw30x - oregon scientific
LW301/LW302 # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
device_type = acurite-bridge mode = sniff iface = eth1 pcap_filter = src
192.168.0.125 and dst port 80
# The driver to use:
driver = user.interceptor
# Specify the hardware device to capture. Options include:
# acurite-bridge - acurite internet bridge
# observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
# lw30x - oregon scientific LW301/LW302
# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
device_type = acurite-bridge
mode = sniff
iface = eth1
pcap_filter = src 192.168.0.125 and dst port 80
Not sure where to go from here. I know nothing about python. Any guidance
would be helpful and much appreciated.
--
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].
For more options, visit https://groups.google.com/d/optout.