I am trying to install WeeWx on my Raspi with Interceptor with a WU-Client coming from 192.168.50.9. So far I am ending up with the following error message when trying to run the driver directly and no results in WeeWx.
Activateing packet capture failed. Error returned by packet capture library was b'socket: Operation not permitted'
Below is the full text of me attempting to install WeeWx and the Interceptor. I could not get pypcap to install and from googling showed that I needed to install libpcap0.8-dev after which pypcap installed fine.
Conf file:
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2022 Tom Keffer <
tke...@gmail.com>
# See the file LICENSE.txt for your rights.
##############################################################################
# This section is for general configuration information.
# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0
# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /
# Whether to log successful operations. May get overridden below.
log_success = True
# Whether to log unsuccessful operations. May get overridden below.
log_failure = True
# Do not modify this. It is used when installing and updating weewx.
version = 4.10.2
##############################################################################
# This section is for information about the station.
[Station]
# Description of the station location
location = "Tucson, AZ"
# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 30.00
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -110.00
# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 1000, meter
# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = Interceptor
# If you have a website, you may specify an URL. This is required if you
# intend to register your station.
#station_url =
http://www.example.com # The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0=Monday, 6=Sunday)
week_start = 6
##############################################################################
[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, smarthub, or access
# observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
# lw30x - oregon scientific LW301/LW302
# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
# ecowitt-client - any hardware that uses the ecowitt protocol
# wu-client - any hardware that uses the weather underground protocol
device_type = wu-client
mode = sniff
iface = eth0
pcap_filter = src 192.168.50.9 and dst port 80
##############################################################################
[Simulator]
# This section is for the weewx weather station simulator
# The time (in seconds) between LOOP packets.
loop_interval = 2.5
# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each LOOP packet.
mode = simulator
# Generator. Emit LOOP packets as fast as possible (useful for testing).
#mode = generator
# The start time. Format is YYYY-mm-ddTHH:MM. If not specified, the default
# is to use the present time.
#start = 2011-01-01T00:00
# The driver to use:
driver = weewx.drivers.simulator
##############################################################################
# This section is for uploading data to Internet sites
[StdRESTful]
# Uncomment and change to override logging for uploading services.
# log_success = True
# log_failure = True
[[StationRegistry]]
# To register this weather station with weewx, set this to true,
# then fill out option 'station_url', located in the [Station] section above.
register_this_station = false
[[AWEKAS]]
# This section is for configuring posts to AWEKAS.
# If you wish to post to AWEKAS, set the option 'enable' to true, then specify a username
# and password. To guard against parsing errors, put the password in quotes.
enable = false
username = replace_me
password = replace_me
[[CWOP]]
# This section is for configuring posts to CWOP.
# If you wish to post to CWOP, set the option 'enable' to true,
# then specify the station ID (e.g., CW1234).
enable = false
station = replace_me
# If this is an APRS (radio amateur) station, specify the
# passcode (e.g., 12345). Otherwise, ignore.
passcode = replace_me
[[PWSweather]]
# This section is for configuring posts to PWSweather.com.
# If you wish to post to PWSweather.com, set the option 'enable' to true, then specify a
# station and password. To guard against parsing errors, put the password in quotes.
enable = false
station = replace_me
password = replace_me
[[WOW]]
# This section is for configuring posts to WOW.
# If you wish to post to WOW, set the option 'enable' to true, then specify a station and
# password. To guard against parsing errors, put the password in quotes.
enable = false
station = replace_me
password = replace_me
[[Wunderground]]
# This section is for configuring posts to the Weather Underground.
# If you wish to post to the Weather Underground, set the option 'enable' to true, then
# specify a station (e.g., 'KORHOODR3') and password. To guard against parsing errors, put
# the password in quotes.
enable = false
station = replace_me
password = replace_me
# If you plan on using wunderfixer, set the following
# to your API key:
api_key = replace_me
# Set the following to True to have weewx use the WU "Rapidfire"
# protocol. Not all hardware can support it. See the User's Guide.
rapidfire = False
##############################################################################
# This section specifies what reports, using which skins, to generate.
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = /etc/weewx/skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = /var/www/html/weewx
# Uncomment and change to override logging for reports
# log_success = True
# log_failure = True
# The database binding indicates which data should be used in reports.
data_binding = wx_binding
# Each of the following subsections defines a report that will be run.
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and other
# customizations. Many of those changes can be made here by overriding
# parameters, or by modifying templates within the skin itself.
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
skin = Seasons
enable = true
[[SmartphoneReport]]
# The SmartphoneReport uses the 'Smartphone' skin, and the images and
# files are placed in a dedicated subdirectory.
skin = Smartphone
enable = false
HTML_ROOT = /var/www/html/weewx/smartphone
[[MobileReport]]
# The MobileReport uses the 'Mobile' skin, and the images and files
# are placed in a dedicated subdirectory.
skin = Mobile
enable = false
HTML_ROOT = /var/www/html/weewx/mobile
[[StandardReport]]
# This is the old "Standard" skin. By default, it is not enabled.
skin = Standard
enable = false
[[FTP]]
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
skin = Ftp
# If you wish to use FTP, set "enable" to "true", then
# fill out the next four lines.
# Use quotes around passwords to guard against parsing errors.
enable = false
user = replace_me
password = replace_me
server = replace_me # The ftp server name, e.g,
www.myserver.org path = replace_me # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = /var/www/html/weewx
# Most FTP servers use port 21
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1
[[RSYNC]]
# rsync'ing to a webserver is treated as just another report
skin = Rsync
# If you wish to use rsync, you must configure passwordless ssh using
# public/private key authentication from the user account that weewx
# runs to the user account on the remote machine where the files
# will be copied.
#
# If you wish to use rsync, set "enable" to "true", then
# fill out server, user, and path.
# The server should appear in your .ssh/config file.
# The user is the username used in the identity file.
# The path is the destination directory, such as /var/www/html/weather.
# Be sure that the user has write permissions on the destination!
enable = false
server = replace_me
user = replace_me
path = replace_me
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = /var/www/html/weewx
# Rsync can be configured to remove files from the remote server if
# they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
# make a mistake in the remote path, you could could unintentionally
# cause unrelated files to be deleted. Set to 1 to enable remote file
# deletion, zero to allow files to accumulate remotely.
delete = 0
# Options in the [[Defaults]] section below will apply to all reports.
# What follows are a few of the more popular options you may want to
# uncomment, then change.
[[Defaults]]
# Which language to use for all reports. Not all skins support all languages.
# You can override this for individual reports.
lang = en
# Which unit system to use for all reports. Choices are 'us', 'metric', or 'metricwx'.
# You can override this for individual reports.
unit_system = us
[[[Units]]]
# Option "unit_system" above sets the general unit system, but overriding specific unit
# groups is possible. These are popular choices. Uncomment and set as appropriate.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'
[[[[Groups]]]]
# group_altitude = meter # Options are 'foot' or 'meter'
# group_pressure = mbar # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
# group_rain = mm # Options are 'inch', 'cm', or 'mm'
# group_rainrate = mm_per_hour # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
# group_temperature = degree_C # Options are 'degree_C', 'degree_F', or 'degree_K'
# The following line is used to keep the above lines indented properly.
# It can be ignored.
unused = unused
# Uncommenting the following section frequently results in more
# attractive formatting of times and dates, but may not work in
# your locale.
[[[[TimeFormats]]]]
# day = %H:%M
# week = %H:%M on %A
# month = %d-%b-%Y %H:%M
# year = %d-%b-%Y %H:%M
# rainyear = %d-%b-%Y %H:%M
# current = %d-%b-%Y %H:%M
# ephem_day = %H:%M
# ephem_year = %d-%b-%Y %H:%M
# The following line is used to keep the above lines indented properly.
# It can be ignored.
unused = unused
[[[Labels]]]
# Users frequently change the labels for these observation types
[[[[Generic]]]]
# inHumidity = Inside Humidity
# inTemp = Inside Temperature
# outHumidity = Outside Humidity
# outTemp = Outside Temperature
# extraTemp1 = Temperature1
# extraTemp2 = Temperature2
# extraTemp3 = Temperature3
# The following line is used to keep the above lines indented properly.
# It can be ignored.
unused = unused
##############################################################################
# This service acts as a filter, converting the unit system coming from
# the hardware to a unit system in the database.
[StdConvert]
# The target_unit affects only the unit system in the database. Once
# chosen it cannot be changed without converting the entire database.
# Modification of target_unit after starting weewx will result in
# corrupt data - the database will contain a mix of US and METRIC data.
#
# The value of target_unit does not affect the unit system for
# reporting - reports can display US, Metric, or any combination of units.
#
# In most cases, target_unit should be left as the default: US
#
# In particular, those migrating from a standard wview installation
# should use US since that is what the wview database contains.
# DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
##############################################################################
# This section can adjust data using calibration expressions.
[StdCalibrate]
[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
##############################################################################
# This section is for quality control checks. If units are not specified,
# values must be in the units defined in the StdConvert section.
[StdQC]
[[MinMax]]
barometer = 26, 32.5, inHg
pressure = 24, 34.5, inHg
outTemp = -40, 120, degree_F
inTemp = 10, 120, degree_F
outHumidity = 0, 100
inHumidity = 0, 100
windSpeed = 0, 120, mile_per_hour
rain = 0, 10, inch
##############################################################################
# This section controls the origin of derived values.
[StdWXCalculate]
[[Calculations]]
# How to calculate derived quantities. 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
altimeter = prefer_hardware
appTemp = prefer_hardware
barometer = prefer_hardware
cloudbase = prefer_hardware
dewpoint = prefer_hardware
ET = prefer_hardware
heatindex = prefer_hardware
humidex = prefer_hardware
inDewpoint = prefer_hardware
maxSolarRad = prefer_hardware
rainRate = prefer_hardware
windchill = prefer_hardware
windrun = prefer_hardware
##############################################################################
# For hardware that supports it, this section controls how often the
# onboard clock gets updated.
[StdTimeSynch]
# How often to check the weather station clock for drift (in seconds)
clock_check = 14400
# How much it can drift before we will correct it (in seconds)
max_drift = 5
##############################################################################
# This section is for configuring the archive service.
[StdArchive]
# If the station hardware supports data logging then the archive interval
# will be downloaded from the station. Otherwise, specify it (in seconds).
archive_interval = 300
# If possible, new archive records are downloaded from the station
# hardware. If the hardware does not support this, then new archive
# records will be generated in software.
# Set the following to "software" to force software record generation.
record_generation = hardware
# Whether to include LOOP data in hi/low statistics
loop_hilo = True
# Uncomment and change to override logging for archive operations
# log_success = True
# log_failure = True
# The data binding used to save archive records
data_binding = wx_binding
##############################################################################
# This section binds a data store to a database.
[DataBindings]
[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.manager.DaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview_extended.schema
##############################################################################
# This section defines various databases.
[Databases]
# A SQLite database is simply a single file
[[archive_sqlite]]
database_name = weewx.sdb
database_type = SQLite
# MySQL
[[archive_mysql]]
database_name = weewx
database_type = MySQL
##############################################################################
# This section defines defaults for the different types of databases.
[DatabaseTypes]
# Defaults for SQLite databases
[[SQLite]]
driver = weedb.sqlite
# Directory in which the database files are located
SQLITE_ROOT = /var/lib/weewx
# Defaults for MySQL databases
[[MySQL]]
driver = weedb.mysql
# The host where the database is located
host = localhost
# The user name for logging in to the host
user = weewx
# The password (use quotes to guard against parsing errors)
password = weewx
##############################################################################
# This section configures the internal weewx engine.
[Engine]
# The following section specifies which services should be run and in what order.
[[Services]]
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
xtype_services = weewx.wxxtypes.StdWXXTypes, weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater, weewx.wxxtypes.StdDelta
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport
Full install effort:
login as: weewx
we...@192.168.50.200's password:
Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
weewx@raspberrypi:~ $ sudo apt-get update
[sudo] password for weewx:
Hit:1
http://deb.debian.org/debian bullseye InRelease
Hit:2
http://deb.debian.org/debian bullseye-updates InRelease
Hit:3
http://security.debian.org/debian-security bullseye-security InRelease
Hit:4
http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5
https://download.docker.com/linux/debian bullseye InRelease
Reading package lists... Done
weewx@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up docker-ce (5:23.0.4-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-04-24 08:44:21 MST; 942ms ago
TriggeredBy: ● docker.socket
Docs:
https://docs.docker.com Process: 20766 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 20766 (code=exited, status=1/FAILURE)
CPU: 1.230s
Apr 24 08:44:22 raspberrypi dockerd[20766]: time="2023-04-24T08:44:21.866249229-07:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=moby
Apr 24 08:44:22 raspberrypi dockerd[20766]: time="2023-04-24T08:44:21.866791676-07:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
Apr 24 08:44:22 raspberrypi dockerd[20766]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables/1.8.7 Failed to initialize nft: Protocol not supported
Apr 24 08:44:22 raspberrypi dockerd[20766]: (exit status 1)
Apr 24 08:44:21 raspberrypi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Apr 24 08:44:21 raspberrypi systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 24 08:44:21 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Apr 24 08:44:21 raspberrypi systemd[1]: docker.service: Consumed 1.230s CPU time.
Apr 24 08:44:24 raspberrypi systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
Apr 24 08:44:24 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Apr 24 08:44:24 raspberrypi systemd[1]: docker.service: Consumed 1.230s CPU time.
Apr 24 08:44:24 raspberrypi systemd[1]: Starting Docker Application Container Engine...
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
weewx@raspberrypi:~ $ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
geoip-database libgeoip1 libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip nginx-common
nginx-core
Suggested packages:
geoip-bin fcgiwrap nginx-doc
The following NEW packages will be installed:
geoip-database libgeoip1 libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip nginx
nginx-common nginx-core
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4,507 kB of archives.
After this operation, 13.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://deb.debian.org/debian bullseye/main arm64 geoip-database all 20191224-3 [3,032 kB]
Get:2
http://deb.debian.org/debian bullseye/main arm64 libgeoip1 arm64 1.6.12-7 [90.7 kB]
Get:3
http://deb.debian.org/debian bullseye/main arm64 nginx-common all 1.18.0-6.1+deb11u3 [126 kB]
Get:4
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-http-geoip arm64 1.18.0-6.1+deb11u3 [98.3 kB]
Get:5
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-http-image-filter arm64 1.18.0-6.1+deb11u3 [102 kB]
Get:6
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-http-xslt-filter arm64 1.18.0-6.1+deb11u3 [100 kB]
Get:7
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-mail arm64 1.18.0-6.1+deb11u3 [127 kB]
Get:8
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-stream arm64 1.18.0-6.1+deb11u3 [151 kB]
Get:9
http://deb.debian.org/debian bullseye/main arm64 libnginx-mod-stream-geoip arm64 1.18.0-6.1+deb11u3 [97.5 kB]
Get:10
http://deb.debian.org/debian bullseye/main arm64 nginx-core arm64 1.18.0-6.1+deb11u3 [490 kB]
Get:11
http://deb.debian.org/debian bullseye/main arm64 nginx all 1.18.0-6.1+deb11u3 [92.9 kB]
Fetched 4,507 kB in 2s (2,227 kB/s)
Preconfiguring packages ...
Selecting previously unselected package geoip-database.
(Reading database ... 97617 files and directories currently installed.)
Preparing to unpack .../00-geoip-database_20191224-3_all.deb ...
Unpacking geoip-database (20191224-3) ...
Selecting previously unselected package libgeoip1:arm64.
Preparing to unpack .../01-libgeoip1_1.6.12-7_arm64.deb ...
Unpacking libgeoip1:arm64 (1.6.12-7) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../02-nginx-common_1.18.0-6.1+deb11u3_all.deb ...
Unpacking nginx-common (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-http-geoip.
Preparing to unpack .../03-libnginx-mod-http-geoip_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-http-geoip (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-http-image-filter.
Preparing to unpack .../04-libnginx-mod-http-image-filter_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-http-image-filter (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-http-xslt-filter.
Preparing to unpack .../05-libnginx-mod-http-xslt-filter_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../06-libnginx-mod-mail_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-mail (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../07-libnginx-mod-stream_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-stream (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package libnginx-mod-stream-geoip.
Preparing to unpack .../08-libnginx-mod-stream-geoip_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking libnginx-mod-stream-geoip (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../09-nginx-core_1.18.0-6.1+deb11u3_arm64.deb ...
Unpacking nginx-core (1.18.0-6.1+deb11u3) ...
Selecting previously unselected package nginx.
Preparing to unpack .../10-nginx_1.18.0-6.1+deb11u3_all.deb ...
Unpacking nginx (1.18.0-6.1+deb11u3) ...
Setting up nginx-common (1.18.0-6.1+deb11u3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
Setting up libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u3) ...
Setting up docker-ce (5:23.0.4-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-04-24 08:45:16 MST; 57ms ago
TriggeredBy: ● docker.socket
Docs:
https://docs.docker.com Process: 21225 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 21225 (code=exited, status=1/FAILURE)
CPU: 1.129s
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Setting up libgeoip1:arm64 (1.6.12-7) ...
Setting up geoip-database (20191224-3) ...
Setting up libnginx-mod-mail (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-stream (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-stream-geoip (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-http-geoip (1.18.0-6.1+deb11u3) ...
Setting up nginx-core (1.18.0-6.1+deb11u3) ...
Upgrading binary: nginx.
Setting up nginx (1.18.0-6.1+deb11u3) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
weewx@raspberrypi:~ $ wget -qO -
https://weewx.com/keys.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
weewx@raspberrypi:~ $ wget -qO -
https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
deb [arch=all]
http://weewx.com/apt/python3 buster main
weewx@raspberrypi:~ $ sudo apt-get update
Get:1
http://weewx.com/apt/python3 buster InRelease [3,907 B]
Hit:2
http://security.debian.org/debian-security bullseye-security InRelease
Hit:3
http://deb.debian.org/debian bullseye InRelease
Hit:4
http://deb.debian.org/debian bullseye-updates InRelease
Hit:5
http://archive.raspberrypi.org/debian bullseye InRelease
Hit:6
https://download.docker.com/linux/debian bullseye InRelease
Get:7
http://weewx.com/apt/python3 buster/main all Packages [3,908 B]
Fetched 7,815 B in 6s (1,361 B/s)
Reading package lists... Done
weewx@raspberrypi:~ $ sudo apt-get install weewx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
python3-cheetah python3-configobj python3-usb
Suggested packages:
python-cheetah-doc python3-markdown python3-memcache python-configobj-doc
sqlite ftp
The following NEW packages will be installed:
python3-cheetah python3-configobj python3-usb weewx
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,054 kB of archives.
After this operation, 7,331 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://deb.debian.org/debian bullseye/main arm64 python3-configobj all 5.0.6-4 [35.8 kB]
Get:2
http://weewx.com/apt/python3 buster/main all weewx all 4.10.2-1 [1,836 kB]
Get:3
http://deb.debian.org/debian bullseye/main arm64 python3-cheetah arm64 3.2.6-1+b1 [143 kB]
Get:4
http://deb.debian.org/debian bullseye/main arm64 python3-usb all 1.0.2-2 [38.9 kB]
Fetched 2,054 kB in 1s (1,478 kB/s)
Preconfiguring packages ...
Selecting previously unselected package python3-configobj.
(Reading database ... 97729 files and directories currently installed.)
Preparing to unpack .../python3-configobj_5.0.6-4_all.deb ...
Unpacking python3-configobj (5.0.6-4) ...
Selecting previously unselected package python3-cheetah.
Preparing to unpack .../python3-cheetah_3.2.6-1+b1_arm64.deb ...
Unpacking python3-cheetah (3.2.6-1+b1) ...
Selecting previously unselected package python3-usb.
Preparing to unpack .../python3-usb_1.0.2-2_all.deb ...
Unpacking python3-usb (1.0.2-2) ...
Selecting previously unselected package weewx.
Preparing to unpack .../weewx_4.10.2-1_all.deb ...
Unpacking weewx (4.10.2-1) ...
Setting up python3-usb (1.0.2-2) ...
Setting up python3-cheetah (3.2.6-1+b1) ...
Setting up python3-configobj (5.0.6-4) ...
Setting up docker-ce (5:23.0.4-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-04-24 08:47:56 MST; 58ms ago
TriggeredBy: ● docker.socket
Docs:
https://docs.docker.com Process: 22164 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 22164 (code=exited, status=1/FAILURE)
CPU: 1.123s
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Setting up weewx (4.10.2-1) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
weewx@raspberrypi:~ $ sudo tail -f /var/log/syslog
Apr 24 08:48:11 raspberrypi dockerd[22535]: (exit status 1)
Apr 24 08:48:11 raspberrypi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Apr 24 08:48:11 raspberrypi systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 24 08:48:11 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Apr 24 08:48:13 raspberrypi systemd[1]: docker.service: Scheduled restart job, restart counter is at 5.
Apr 24 08:48:13 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Apr 24 08:48:13 raspberrypi systemd[1]: docker.service: Start request repeated too quickly.
Apr 24 08:48:13 raspberrypi systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 24 08:48:13 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Apr 24 08:48:13 raspberrypi systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
Apr 24 08:48:20 raspberrypi kernel: [126615.820862] hwmon hwmon1: Voltage normalised
^Z
[1]+ Stopped sudo tail -f /var/log/syslog
weewx@raspberrypi:~ $ sudo /etc/init.d/weewx start
Starting weewx (via systemctl): weewx.service.
weewx@raspberrypi:~ $ sudo pip install pypcap
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simpleCollecting pypcap
Downloading pypcap-1.3.0.tar.gz (140 kB)
|████████████████████████████████| 140 kB 621 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_4f34ff8a827846d0ae7377335edae29b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_4f34ff8a827846d0ae7377335edae29b/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-zfyha0yb
cwd: /tmp/pip-install-pu1x9zv2/pypcap_4f34ff8a827846d0ae7377335edae29b/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/db/4f/419ad9b163f3e86c32ae3b1e2937709520e24dce589897a26fb875189520/pypcap-1.3.0.tar.gz#sha256=669976786b2b4c43869c0ecf6228cbbb70336d1d8eb8d4fe2a3a81df395f45b5 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.3.tar.gz (136 kB)
|████████████████████████████████| 136 kB 3.2 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_f002ffcecd954c85aaba28739a85e079/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_f002ffcecd954c85aaba28739a85e079/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pdttz372
cwd: /tmp/pip-install-pu1x9zv2/pypcap_f002ffcecd954c85aaba28739a85e079/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/12/71/a689ca8c6ef4570e105efdc6b46d4ac16cdef7af36a8fbfaff0f6fa2b754/pypcap-1.2.3.tar.gz#sha256=ad87fa22fe05f46b5dc602724958f1025af82ba3116694eddf5cb3035f3ab1f0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.2.tar.gz (130 kB)
|████████████████████████████████| 130 kB 4.6 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_8b45378968584910a3be7a4d1e0a0a70/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_8b45378968584910a3be7a4d1e0a0a70/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-tc2n3c0g
cwd: /tmp/pip-install-pu1x9zv2/pypcap_8b45378968584910a3be7a4d1e0a0a70/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/33/21/d1f24d8a93e4e11bf604d77e04080c05ecb0308a5606936a051bd2b2b5da/pypcap-1.2.2.tar.gz#sha256=a32322f45d63ff6196e33004c568b9f5019202a40aa2b16008b7f94e7e119c1f (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.1.tar.gz (130 kB)
|████████████████████████████████| 130 kB 3.3 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_134a7ff6197f473ca2f00c6a430a2e4d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_134a7ff6197f473ca2f00c6a430a2e4d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-k42vcbmc
cwd: /tmp/pip-install-pu1x9zv2/pypcap_134a7ff6197f473ca2f00c6a430a2e4d/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/cd/b5/8b5ff59d1702c10a9a4ebbf61b8ae3185435b222f1efd1419b178d68bbe9/pypcap-1.2.1.tar.gz#sha256=9ca9f79ca839fdc8fd37393509e2cb06be70f8db03f8cfe1857ca40cac1149f0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.0.tar.gz (123 kB)
|████████████████████████████████| 123 kB 3.6 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_c41747962f0a4cf48f866a166caf9fd2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_c41747962f0a4cf48f866a166caf9fd2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-srfovrch
cwd: /tmp/pip-install-pu1x9zv2/pypcap_c41747962f0a4cf48f866a166caf9fd2/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#sha256=6981b95a975cb964806899735319ca71cfd0b5a4e9f9a45970b558f49eec0158 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.6.tar.gz (50 kB)
|████████████████████████████████| 50 kB 788 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_02461f2ada3545538d3c457261efb262/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_02461f2ada3545538d3c457261efb262/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6jzg7rmz
cwd: /tmp/pip-install-pu1x9zv2/pypcap_02461f2ada3545538d3c457261efb262/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/ba/60/e724203144e2afbbc921f62152ece8bff792a173fd8104ff003ff571a4ce/pypcap-1.1.6.tar.gz#sha256=d1eb3194a2e242ff782666d18620c8b3a1053ea7758e897e792129c141c5a7b3 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.5.tar.gz (44 kB)
|████████████████████████████████| 44 kB 436 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_840fba13666d41dbbdc8cbe0a7b6a849/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_840fba13666d41dbbdc8cbe0a7b6a849/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ez_awiq6
cwd: /tmp/pip-install-pu1x9zv2/pypcap_840fba13666d41dbbdc8cbe0a7b6a849/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_840fba13666d41dbbdc8cbe0a7b6a849/setup.py", line 36
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/83/25/dab6b3fda95a5699503c91bf722abf9d9a5c960a4480208e4bad8747dd0c/pypcap-1.1.5.tar.gz#sha256=4b60d331e83c5bff3e25c7d99e902ea0910027fe9ce7986f0eecf5e0af6e8274 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.4.1.tar.gz (41 kB)
|████████████████████████████████| 41 kB 109 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_37ae4253b04348ed84b768e084ae39e0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_37ae4253b04348ed84b768e084ae39e0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3exjccqe
cwd: /tmp/pip-install-pu1x9zv2/pypcap_37ae4253b04348ed84b768e084ae39e0/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz#sha256=dbe24ecbaa5d684f91e59c78c2a2ee28b4ff082032c192ebbecdd34c53138244 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.4.tar.gz (41 kB)
|████████████████████████████████| 41 kB 22 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_7fcbd3aacffc4c40be7f753e36f0c6ec/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_7fcbd3aacffc4c40be7f753e36f0c6ec/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-b94gwdqo
cwd: /tmp/pip-install-pu1x9zv2/pypcap_7fcbd3aacffc4c40be7f753e36f0c6ec/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_7fcbd3aacffc4c40be7f753e36f0c6ec/setup.py", line 37
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/05/db/cebe323a8fed23f191460f61582ab3e42dffc709ea13d6433b2dea87e61f/pypcap-1.1.4.tar.gz#sha256=294d92a36ece9a09369b9b9dc1bfb81fdd4a9d3b38cf96fb4638ca52f7f0c647 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.3.tar.gz (44 kB)
|████████████████████████████████| 44 kB 417 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_0f11e527844d4a388bab1809ffdc95d6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_0f11e527844d4a388bab1809ffdc95d6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-0rc8n_15
cwd: /tmp/pip-install-pu1x9zv2/pypcap_0f11e527844d4a388bab1809ffdc95d6/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_0f11e527844d4a388bab1809ffdc95d6/setup.py", line 40
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/f2/7a/150d4a9eff36433e0f61524286fd30f9b734ecd0bf7ea0758175df7b958b/pypcap-1.1.3.tar.gz#sha256=cc0786efd527f16c5f0d08accf3cbd9ff8971ddc284a445cdabf2e47b458a377 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.2.tar.gz (44 kB)
|████████████████████████████████| 44 kB 450 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_90611670689843ab8135d41c8bcbd441/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_90611670689843ab8135d41c8bcbd441/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-uogo9htd
cwd: /tmp/pip-install-pu1x9zv2/pypcap_90611670689843ab8135d41c8bcbd441/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_90611670689843ab8135d41c8bcbd441/setup.py", line 40
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/f3/2d/5569e041903c452a6d83e0ca6058682a5539612e02b7fe01f83900b26155/pypcap-1.1.2.tar.gz#sha256=4401737fbbfbe06edaeeeab43287987af27b97d367d42e882c091d887f78f3b0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.1.tar.gz (44 kB)
|████████████████████████████████| 44 kB 453 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_8feb7b096d36467aaa41b9b89f7b0fd0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_8feb7b096d36467aaa41b9b89f7b0fd0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-c97c2pj5
cwd: /tmp/pip-install-pu1x9zv2/pypcap_8feb7b096d36467aaa41b9b89f7b0fd0/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_8feb7b096d36467aaa41b9b89f7b0fd0/setup.py", line 39
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/c0/3d/27291dbe583eee995a4b3f07ce7615b7fd1851eceae1d69635bb5b02519b/pypcap-1.1.1.tar.gz#sha256=b310d5af36f5d68ef4217fda68086ffce56345b415eaac15ad618f94057b017b (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.tar.gz (8.7 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pu1x9zv2/pypcap_bad4de7c0e7f4f768cefb562138a5adb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pu1x9zv2/pypcap_bad4de7c0e7f4f768cefb562138a5adb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-5tw48jg_
cwd: /tmp/pip-install-pu1x9zv2/pypcap_bad4de7c0e7f4f768cefb562138a5adb/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pu1x9zv2/pypcap_bad4de7c0e7f4f768cefb562138a5adb/setup.py", line 59
print "No pcap-int.h found"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No pcap-int.h found")?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/44/18/2400db640fb5a52bdb3f2ad5790ec823f198b5a5fad15814fe676ee11260/pypcap-1.1.tar.gz#sha256=888494c9291abbeece104870723fac68db5740e3cd91a72f1317b86009e5cff0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pypcap
ERROR: No matching distribution found for pypcap
weewx@raspberrypi:~ $ pip3 install pypcap --user
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simpleCollecting pypcap
Downloading pypcap-1.3.0.tar.gz (140 kB)
|████████████████████████████████| 140 kB 638 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_21e2f84167d14a83930874e8e1d69437/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_21e2f84167d14a83930874e8e1d69437/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-mhkah09x
cwd: /tmp/pip-install-j2v_np9e/pypcap_21e2f84167d14a83930874e8e1d69437/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/db/4f/419ad9b163f3e86c32ae3b1e2937709520e24dce589897a26fb875189520/pypcap-1.3.0.tar.gz#sha256=669976786b2b4c43869c0ecf6228cbbb70336d1d8eb8d4fe2a3a81df395f45b5 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.3.tar.gz (136 kB)
|████████████████████████████████| 136 kB 3.3 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_a2aeb72a6369428db200218eede72271/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_a2aeb72a6369428db200218eede72271/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-39o1u8i4
cwd: /tmp/pip-install-j2v_np9e/pypcap_a2aeb72a6369428db200218eede72271/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/12/71/a689ca8c6ef4570e105efdc6b46d4ac16cdef7af36a8fbfaff0f6fa2b754/pypcap-1.2.3.tar.gz#sha256=ad87fa22fe05f46b5dc602724958f1025af82ba3116694eddf5cb3035f3ab1f0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.2.tar.gz (130 kB)
|████████████████████████████████| 130 kB 3.7 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_107983245331493cb32cdf0b49aff758/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_107983245331493cb32cdf0b49aff758/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bfbnqx87
cwd: /tmp/pip-install-j2v_np9e/pypcap_107983245331493cb32cdf0b49aff758/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/33/21/d1f24d8a93e4e11bf604d77e04080c05ecb0308a5606936a051bd2b2b5da/pypcap-1.2.2.tar.gz#sha256=a32322f45d63ff6196e33004c568b9f5019202a40aa2b16008b7f94e7e119c1f (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.1.tar.gz (130 kB)
|████████████████████████████████| 130 kB 3.4 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_8fd56db4724b4241aaf8ebfd669d598f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_8fd56db4724b4241aaf8ebfd669d598f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fokjovpw
cwd: /tmp/pip-install-j2v_np9e/pypcap_8fd56db4724b4241aaf8ebfd669d598f/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/cd/b5/8b5ff59d1702c10a9a4ebbf61b8ae3185435b222f1efd1419b178d68bbe9/pypcap-1.2.1.tar.gz#sha256=9ca9f79ca839fdc8fd37393509e2cb06be70f8db03f8cfe1857ca40cac1149f0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.2.0.tar.gz (123 kB)
|████████████████████████████████| 123 kB 3.6 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_4228ec9c7d68424a8cf94743641339d7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_4228ec9c7d68424a8cf94743641339d7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-w6audko8
cwd: /tmp/pip-install-j2v_np9e/pypcap_4228ec9c7d68424a8cf94743641339d7/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#sha256=6981b95a975cb964806899735319ca71cfd0b5a4e9f9a45970b558f49eec0158 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.6.tar.gz (50 kB)
|████████████████████████████████| 50 kB 427 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_c2e4598e02e041509a92db4a73d5f133/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_c2e4598e02e041509a92db4a73d5f133/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jeaettif
cwd: /tmp/pip-install-j2v_np9e/pypcap_c2e4598e02e041509a92db4a73d5f133/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/ba/60/e724203144e2afbbc921f62152ece8bff792a173fd8104ff003ff571a4ce/pypcap-1.1.6.tar.gz#sha256=d1eb3194a2e242ff782666d18620c8b3a1053ea7758e897e792129c141c5a7b3 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.5.tar.gz (44 kB)
|████████████████████████████████| 44 kB 407 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_c594e48533c8442abfb3f5e51ece624a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_c594e48533c8442abfb3f5e51ece624a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-msb52lry
cwd: /tmp/pip-install-j2v_np9e/pypcap_c594e48533c8442abfb3f5e51ece624a/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_c594e48533c8442abfb3f5e51ece624a/setup.py", line 36
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/83/25/dab6b3fda95a5699503c91bf722abf9d9a5c960a4480208e4bad8747dd0c/pypcap-1.1.5.tar.gz#sha256=4b60d331e83c5bff3e25c7d99e902ea0910027fe9ce7986f0eecf5e0af6e8274 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.4.1.tar.gz (41 kB)
|████████████████████████████████| 41 kB 118 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_1109a9d576fd4d6cb4a7e2c13db04f34/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_1109a9d576fd4d6cb4a7e2c13db04f34/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jd0i0maj
cwd: /tmp/pip-install-j2v_np9e/pypcap_1109a9d576fd4d6cb4a7e2c13db04f34/
Complete output (1 lines):
pcap.h not found
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz#sha256=dbe24ecbaa5d684f91e59c78c2a2ee28b4ff082032c192ebbecdd34c53138244 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.4.tar.gz (41 kB)
|████████████████████████████████| 41 kB 64 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_25df204be3414cf69f363f4c90955cda/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_25df204be3414cf69f363f4c90955cda/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-eh1ld9eb
cwd: /tmp/pip-install-j2v_np9e/pypcap_25df204be3414cf69f363f4c90955cda/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_25df204be3414cf69f363f4c90955cda/setup.py", line 37
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/05/db/cebe323a8fed23f191460f61582ab3e42dffc709ea13d6433b2dea87e61f/pypcap-1.1.4.tar.gz#sha256=294d92a36ece9a09369b9b9dc1bfb81fdd4a9d3b38cf96fb4638ca52f7f0c647 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.3.tar.gz (44 kB)
|████████████████████████████████| 44 kB 428 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_684d3925585d4b509a9d9b67cf043142/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_684d3925585d4b509a9d9b67cf043142/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-j_65booo
cwd: /tmp/pip-install-j2v_np9e/pypcap_684d3925585d4b509a9d9b67cf043142/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_684d3925585d4b509a9d9b67cf043142/setup.py", line 40
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/f2/7a/150d4a9eff36433e0f61524286fd30f9b734ecd0bf7ea0758175df7b958b/pypcap-1.1.3.tar.gz#sha256=cc0786efd527f16c5f0d08accf3cbd9ff8971ddc284a445cdabf2e47b458a377 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.2.tar.gz (44 kB)
|████████████████████████████████| 44 kB 428 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_6a0b250d85894a9fb9c543b12def9b71/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_6a0b250d85894a9fb9c543b12def9b71/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-rxwx893q
cwd: /tmp/pip-install-j2v_np9e/pypcap_6a0b250d85894a9fb9c543b12def9b71/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_6a0b250d85894a9fb9c543b12def9b71/setup.py", line 40
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/f3/2d/5569e041903c452a6d83e0ca6058682a5539612e02b7fe01f83900b26155/pypcap-1.1.2.tar.gz#sha256=4401737fbbfbe06edaeeeab43287987af27b97d367d42e882c091d887f78f3b0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.1.tar.gz (44 kB)
|████████████████████████████████| 44 kB 451 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_538913fc251348439e8b081ae8a51e11/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_538913fc251348439e8b081ae8a51e11/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qual6cmy
cwd: /tmp/pip-install-j2v_np9e/pypcap_538913fc251348439e8b081ae8a51e11/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_538913fc251348439e8b081ae8a51e11/setup.py", line 39
print "Found pcap headers in %s" % pcap_h
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Found pcap headers in %s" % pcap_h)?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/c0/3d/27291dbe583eee995a4b3f07ce7615b7fd1851eceae1d69635bb5b02519b/pypcap-1.1.1.tar.gz#sha256=b310d5af36f5d68ef4217fda68086ffce56345b415eaac15ad618f94057b017b (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pypcap-1.1.tar.gz (8.7 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j2v_np9e/pypcap_2925f2fb34b1433dbcaba3a6d5afb646/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j2v_np9e/pypcap_2925f2fb34b1433dbcaba3a6d5afb646/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6hyjvp6g
cwd: /tmp/pip-install-j2v_np9e/pypcap_2925f2fb34b1433dbcaba3a6d5afb646/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-j2v_np9e/pypcap_2925f2fb34b1433dbcaba3a6d5afb646/setup.py", line 59
print "No pcap-int.h found"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No pcap-int.h found")?
----------------------------------------
WARNING: Discarding
https://files.pythonhosted.org/packages/44/18/2400db640fb5a52bdb3f2ad5790ec823f198b5a5fad15814fe676ee11260/pypcap-1.1.tar.gz#sha256=888494c9291abbeece104870723fac68db5740e3cd91a72f1317b86009e5cff0 (from
https://pypi.org/simple/pypcap/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pypcap
ERROR: No matching distribution found for pypcap
weewx@raspberrypi:~ $ sudo apt-get update
Hit:1
http://weewx.com/apt/python3 buster InRelease
Hit:2
http://deb.debian.org/debian bullseye InRelease
Hit:3
http://deb.debian.org/debian bullseye-updates InRelease
Hit:4
http://security.debian.org/debian-security bullseye-security InRelease
Hit:5
http://archive.raspberrypi.org/debian bullseye InRelease
Hit:6
https://download.docker.com/linux/debian bullseye InRelease
Reading package lists... Done
weewx@raspberrypi:~ $ sudo apt-get install libpcap0.8-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libdbus-1-dev
The following NEW packages will be installed:
libdbus-1-dev libpcap0.8-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 530 kB of archives.
After this operation, 1,871 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://deb.debian.org/debian bullseye/main arm64 libdbus-1-dev arm64 1.12.24-0+deb11u1 [258 kB]
Get:2
http://deb.debian.org/debian bullseye/main arm64 libpcap0.8-dev arm64 1.10.0-2 [272 kB]
Fetched 530 kB in 1s (513 kB/s)
Selecting previously unselected package libdbus-1-dev:arm64.
(Reading database ... 98263 files and directories currently installed.)
Preparing to unpack .../libdbus-1-dev_1.12.24-0+deb11u1_arm64.deb ...
Unpacking libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ...
Selecting previously unselected package libpcap0.8-dev:arm64.
Preparing to unpack .../libpcap0.8-dev_1.10.0-2_arm64.deb ...
Unpacking libpcap0.8-dev:arm64 (1.10.0-2) ...
Setting up libdbus-1-dev:arm64 (1.12.24-0+deb11u1) ...
Setting up docker-ce (5:23.0.4-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-04-24 09:02:02 MST; 68ms ago
TriggeredBy: ● docker.socket
Docs:
https://docs.docker.com Process: 23291 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 23291 (code=exited, status=1/FAILURE)
CPU: 1.488s
Apr 24 09:02:02 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Apr 24 09:02:02 raspberrypi systemd[1]: docker.service: Consumed 1.488s CPU time.
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for sgml-base (1.30) ...
Setting up libpcap0.8-dev:arm64 (1.10.0-2) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
weewx@raspberrypi:~ $ pip3 install pypcap
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simpleCollecting pypcap
Using cached pypcap-1.3.0.tar.gz (140 kB)
Building wheels for collected packages: pypcap
Building wheel for pypcap (setup.py) ... done
Created wheel for pypcap: filename=pypcap-1.3.0-cp39-cp39-linux_aarch64.whl size=429390 sha256=9518b4a7995ae893c438017a17dbf0d5722b7e338063ba1c94c9187b4c80551a
Stored in directory: /home/weewx/.cache/pip/wheels/dd/3f/d4/51ab4f449c379dc65a12d7451f302cc9b388ff44bbc4a61530
Successfully built pypcap
Installing collected packages: pypcap
Successfully installed pypcap-1.3.0
weewx@raspberrypi:~ $ wget -O weewx-interceptor.zip
https://github.com/matthewwall/weewx-interceptor/archive/master.zip--2023-04-24 09:08:58--
https://github.com/matthewwall/weewx-interceptor/archive/master.zipResolving
github.com (
github.com)... 140.82.114.4
Connecting to
github.com (
github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location:
https://codeload.github.com/matthewwall/weewx-interceptor/zip/refs/heads/master [following]
--2023-04-24 09:08:58--
https://codeload.github.com/matthewwall/weewx-interceptor/zip/refs/heads/masterResolving
codeload.github.com (
codeload.github.com)... 140.82.113.10
Connecting to
codeload.github.com (
codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘weewx-interceptor.zip’
weewx-interceptor.z [ <=> ] 128.53K 505KB/s in 0.3s
2023-04-24 09:08:59 (505 KB/s) - ‘weewx-interceptor.zip’ saved [131617]
weewx@raspberrypi:~ $ sudo wee_extension --install weewx-interceptor.zip
Request to install 'weewx-interceptor.zip'
Extracting from zip archive weewx-interceptor.zip
Saving installer file to /usr/share/weewx/user/installer/interceptor
Finished installing extension 'weewx-interceptor.zip'
weewx@raspberrypi:~ $ sudo wee_config --reconfigure --driver=user.interceptor --no-prompt
Using configuration file /etc/weewx/weewx.conf
Saved backup to /etc/weewx/weewx.conf.20230424090923
weewx@raspberrypi:~ $ sudo /etc/init.d/weewx start
Starting weewx (via systemctl): weewx.service.
weewx@raspberrypi:~ $ sudo /etc/init.d/weewx stop
Stopping weewx (via systemctl): weewx.service^[[A.
weewx@raspberrypi:~ $ sudo /etc/init.d/weewx start
Starting weewx (via systemctl): weewx.service.
weewx@raspberrypi:~ $ cd /usr/share/weewx/user/
weewx@raspberrypi:/usr/share/weewx/user $ ls
extensions.py __init__.py installer interceptor.py __pycache__
weewx@raspberrypi:/usr/share/weewx/user $ PYTHONPATH=bin python interceptor.py --device=wu-client --mode=sniff --iface=eth0 --filter="src 192.168.50.9 and dst port 80"
Traceback (most recent call last):
File "/usr/share/weewx/user/interceptor.py", line 302, in <module>
import weewx.drivers
ModuleNotFoundError: No module named 'weewx'
weewx@raspberrypi:/usr/share/weewx/user $ PYTHONPATH=/usr/share/weewx python interceptor.py --device=wu-client --mode=sniff --iface=eth0 --filter="src 192.168.50.9 and dst port 80"
Traceback (most recent call last):
File "/usr/share/weewx/user/interceptor.py", line 469, in __init__
self.sniffer = pcap.pcapObject()
AttributeError: module 'pcap' has no attribute 'pcapObject'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/weewx/user/interceptor.py", line 2671, in <module>
device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
File "/usr/share/weewx/user/interceptor.py", line 728, in __init__
super(WUClient, self).__init__(
File "/usr/share/weewx/user/interceptor.py", line 427, in __init__
self._server = Consumer.SniffServer(
File "/usr/share/weewx/user/interceptor.py", line 475, in __init__
self.sniffer = pcap.pcap(iface, snaplen, pval)
File "pcap.pyx", line 264, in pcap.pcap.__init__
OSError: Activateing packet capture failed. Error returned by packet capture library was b'socket: Operation not permitted'