Skip to content

Setup Script not running following removal of CW_Beacon #6

Description

@ScottALawson

The provided setup script no longer runs to completion following removal of the CW Beacon API. Typing in the instructions:

git clone https://github.com/SensorsIot/Universal-Embedded-Workbench.git cd Universal-Embedded-Workbench/pi sudo bash install.sh

Results in the following behavior:

=== Installing RFC2217 Portal ===
Installing system packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-libgpiod is already the newest version (1.6.3-1+b3).
dnsmasq-base is already the newest version (2.90-4~deb12u1).
dnsmasq-base set to manually installed.
curl is already the newest version (7.88.1-10+deb12u14).
bluez is already the newest version (5.66-1+rpt1+deb12u2).
bluez set to manually installed.
The following additional packages will be installed:
javascript-common libcjson1 libdlt2 libexpat1-dev libip6tc2 libjs-jquery
libjs-sphinxdoc libjs-underscore libmosquitto1 libpython3-dev
libpython3.11-dev python3-dev python3-setuptools python3-wheel
python3.11-dev zlib1g-dev
Suggested packages:
bluez-cups bluez-obexd bluez-meshd firewalld apache2 | lighttpd | httpd
python3-wxgtk3.0 | python3-wxgtk python-setuptools-doc
The following NEW packages will be installed:
bluetooth hostapd iptables javascript-common libcjson1 libdlt2 libexpat1-dev
libip6tc2 libjs-jquery libjs-sphinxdoc libjs-underscore libmosquitto1
libpython3-dev libpython3.11-dev mosquitto mosquitto-clients python3-dev
python3-pip python3-serial python3-setuptools python3-wheel python3.11-dev
zlib1g-dev
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.5 MB of archives.
After this operation, 51.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 hostapd arm64 2:2.10-12+eb12u3 [797 kB]
Get:2 http://archive.raspberrypi.com/debian bookworm/main arm64 bluetooth all 566-1+rpt1+deb12u2 [39.7 kB]
Get:3 http://archive.raspberrypi.com/debian bookworm/main arm64 zlib1g-dev arm6 1:1.2.13.dfsg-1+rpt1 [944 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 libip6tc2 arm64 1.8.9-2 18.7 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 iptables arm64 1.8.9-2 [52 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 javascript-common all 11nmu1 [6,260 B]
Get:7 http://deb.debian.org/debian bookworm/main arm64 libcjson1 arm64 1.7.15-1deb12u4 [22.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main arm64 libdlt2 arm64 2.18.8-6 [4.4 kB]
Get:9 http://deb.debian.org/debian bookworm/main arm64 libexpat1-dev arm64 2.5.-1+deb12u2 [136 kB]
Get:10 http://deb.debian.org/debian bookworm/main arm64 libjs-jquery all 3.6.1+fsg+3.5.14-1 [326 kB]
Get:11 http://deb.debian.org/debian bookworm/main arm64 libjs-underscore all 1.3.4
dfsg+~1.11.4-3 [116 kB]
Get:12 http://deb.debian.org/debian bookworm/main arm64 libjs-sphinxdoc all 5.30-4 [130 kB]
Get:13 http://archive.raspberrypi.com/debian bookworm/main arm64 python3-pip al 23.0.1+dfsg-1+rpt1 [1,325 kB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 libmosquitto1 arm64 2.011-1.2+deb12u2 [86.2 kB]
Get:15 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-dev arm643.11.2-6+deb12u6 [4,390 kB]
Get:16 http://deb.debian.org/debian bookworm/main arm64 libpython3-dev arm64 3.1.2-1+b1 [9,564 B]
Get:17 http://deb.debian.org/debian bookworm/main arm64 mosquitto arm64 2.0.11-.2+deb12u2 [385 kB]
Get:18 http://deb.debian.org/debian bookworm/main arm64 mosquitto-clients arm642.0.11-1.2+deb12u2 [109 kB]
Get:19 http://deb.debian.org/debian bookworm/main arm64 python3.11-dev arm64 3.1.2-6+deb12u6 [617 kB]
Get:20 http://deb.debian.org/debian bookworm/main arm64 python3-dev arm64 3.11.-1+b1 [26.2 kB]
Get:21 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools all 6.1.1-1+deb12u2 [522 kB]
Get:22 http://deb.debian.org/debian bookworm/main arm64 python3-wheel all 0.38.-2 [30.8 kB]
Get:23 http://deb.debian.org/debian bookworm/main arm64 python3-serial all 3.5-.1 [89.4 kB]
Fetched 10.5 MB in 4s (2,861 kB/s)
Selecting previously unselected package hostapd.
(Reading database ... 57538 files and directories currently installed.)
Preparing to unpack .../00-hostapd_2%3a2.10-12+deb12u3_arm64.deb ...
Unpacking hostapd (2:2.10-12+deb12u3) ...
Selecting previously unselected package bluetooth.
Preparing to unpack .../01-bluetooth_5.66-1+rpt1+deb12u2_all.deb ...
Unpacking bluetooth (5.66-1+rpt1+deb12u2) ...
Selecting previously unselected package libip6tc2:arm64.
Preparing to unpack .../02-libip6tc2_1.8.9-2_arm64.deb ...
Unpacking libip6tc2:arm64 (1.8.9-2) ...
Selecting previously unselected package iptables.
Preparing to unpack .../03-iptables_1.8.9-2_arm64.deb ...
Unpacking iptables (1.8.9-2) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../04-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libcjson1:arm64.
Preparing to unpack .../05-libcjson1_1.7.15-1+deb12u4_arm64.deb ...
Unpacking libcjson1:arm64 (1.7.15-1+deb12u4) ...
Selecting previously unselected package libdlt2:arm64.
Preparing to unpack .../06-libdlt2_2.18.8-6_arm64.deb ...
Unpacking libdlt2:arm64 (2.18.8-6) ...
Selecting previously unselected package libexpat1-dev:arm64.
Preparing to unpack .../07-libexpat1-dev_2.5.0-1+deb12u2_arm64.deb ...
Unpacking libexpat1-dev:arm64 (2.5.0-1+deb12u2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../08-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../09-libjs-underscore_1.13.4
dfsg+1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4
dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../10-libjs-sphinxdoc_5.3.0-4_all.deb ...
Unpacking libjs-sphinxdoc (5.3.0-4) ...
Selecting previously unselected package libmosquitto1:arm64.
Preparing to unpack .../11-libmosquitto1_2.0.11-1.2+deb12u2_arm64.deb ...
Unpacking libmosquitto1:arm64 (2.0.11-1.2+deb12u2) ...
Selecting previously unselected package zlib1g-dev:arm64.
Preparing to unpack .../12-zlib1g-dev_1%3a1.2.13.dfsg-1+rpt1_arm64.deb ...
Unpacking zlib1g-dev:arm64 (1:1.2.13.dfsg-1+rpt1) ...
Selecting previously unselected package libpython3.11-dev:arm64.
Preparing to unpack .../13-libpython3.11-dev_3.11.2-6+deb12u6_arm64.deb ...
Unpacking libpython3.11-dev:arm64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package libpython3-dev:arm64.
Preparing to unpack .../14-libpython3-dev_3.11.2-1+b1_arm64.deb ...
Unpacking libpython3-dev:arm64 (3.11.2-1+b1) ...
Selecting previously unselected package mosquitto.
Preparing to unpack .../15-mosquitto_2.0.11-1.2+deb12u2_arm64.deb ...
Unpacking mosquitto (2.0.11-1.2+deb12u2) ...
Selecting previously unselected package mosquitto-clients.
Preparing to unpack .../16-mosquitto-clients_2.0.11-1.2+deb12u2_arm64.deb ...
Unpacking mosquitto-clients (2.0.11-1.2+deb12u2) ...
Selecting previously unselected package python3.11-dev.
Preparing to unpack .../17-python3.11-dev_3.11.2-6+deb12u6_arm64.deb ...
Unpacking python3.11-dev (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../18-python3-dev_3.11.2-1+b1_arm64.deb ...
Unpacking python3-dev (3.11.2-1+b1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../19-python3-setuptools_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools (66.1.1-1+deb12u2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../20-python3-wheel_0.38.4-2_all.deb ...
Unpacking python3-wheel (0.38.4-2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../21-python3-pip_23.0.1+dfsg-1+rpt1_all.deb ...
Unpacking python3-pip (23.0.1+dfsg-1+rpt1) ...
Selecting previously unselected package python3-serial.
Preparing to unpack .../22-python3-serial_3.5-1.1_all.deb ...
Unpacking python3-serial (3.5-1.1) ...
Setting up javascript-common (11+nmu1) ...
Setting up python3-setuptools (66.1.1-1+deb12u2) ...
Setting up libip6tc2:arm64 (1.8.9-2) ...
Setting up libmosquitto1:arm64 (2.0.11-1.2+deb12u2) ...
Setting up libcjson1:arm64 (1.7.15-1+deb12u4) ...
Setting up python3-wheel (0.38.4-2) ...
Setting up python3-serial (3.5-1.1) ...
Setting up mosquitto-clients (2.0.11-1.2+deb12u2) ...
Setting up hostapd (2:2.10-12+deb12u3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service → /ib/systemd/system/hostapd.service.
Created symlink /etc/systemd/system/hostapd.service → /dev/null.
Setting up libexpat1-dev:arm64 (2.5.0-1+deb12u2) ...
Setting up python3-pip (23.0.1+dfsg-1+rpt1) ...
Setting up zlib1g-dev:arm64 (1:1.2.13.dfsg-1+rpt1) ...
Setting up libdlt2:arm64 (2.18.8-6) ...
Setting up libjs-jquery (3.6.1+dfsg+3.5.14-1) ...
Setting up bluetooth (5.66-1+rpt1+deb12u2) ...
Setting up libjs-underscore (1.13.4
dfsg+1.11.4-3) ...
Setting up iptables (1.8.9-2) ...
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptabes (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tbles (ip6tables) in auto mode
update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables(iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tabls (ip6tables) in auto mode
update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptabls (arptables) in auto mode
update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables(ebtables) in auto mode
Setting up libpython3.11-dev:arm64 (3.11.2-6+deb12u6) ...
Setting up libjs-sphinxdoc (5.3.0-4) ...
Setting up mosquitto (2.0.11-1.2+deb12u2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service →/lib/systemd/system/mosquitto.service.
Setting up libpython3-dev:arm64 (3.11.2-1+b1) ...
Setting up python3.11-dev (3.11.2-6+deb12u6) ...
Setting up python3-dev (3.11.2-1+b1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u13) ...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting esptool
Downloading https://www.piwheels.org/simple/esptool/esptool-5.2.0-py3-none-an.whl (613 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 613.1/613.1 kB 1.6 MB/s eta 0:00:0
Collecting bleak
Downloading https://www.piwheels.org/simple/bleak/bleak-3.0.1-py3-none-any.wh (144 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.7/144.7 kB 1.5 MB/s eta 0:00:0
Requirement already satisfied: smbus2 in /usr/lib/python3/dist-packages (0.4.2)
Collecting bitstring!=4.2.0,>=3.1.6
Downloading https://www.piwheels.org/simple/bitstring/bitstring-4.4.0-py3-non-any.whl (76 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.8/76.8 kB 1.6 MB/s eta 0:00:00
Collecting cryptography>=43.0.0
Downloading cryptography-47.0.0-cp311-abi3-manylinux_2_34_aarch64.whl (4.7 MB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 1.9 MB/s eta 0:00:00
Requirement already satisfied: pyserial>=3.3 in /usr/lib/python3/dist-packages from esptool) (3.5)
Collecting reedsolo<1.8,>=1.5.3
Downloading https://www.piwheels.org/simple/reedsolo/reedsolo-1.7.0-py3-none-ny.whl (32 kB)
Collecting PyYAML>=5.1
Downloading pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarh64.manylinux_2_28_aarch64.whl (775 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 775.6/775.6 kB 2.6 MB/s eta 0:00:0
Collecting intelhex
Downloading https://www.piwheels.org/simple/intelhex/intelhex-2.3.0-py2.py3-nne-any.whl (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB 778.8 kB/s eta 0:00:0
Collecting rich_click<2
Downloading https://www.piwheels.org/simple/rich-click/rich_click-1.9.7-py3-nne-any.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 kB 1.0 MB/s eta 0:00:00
Collecting click<9
Downloading https://www.piwheels.org/simple/click/click-8.3.3-py3-none-any.wh (110 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.5/110.5 kB 361.0 kB/s eta 0:00:0
Collecting dbus-fast>=1.83.0
Downloading dbus_fast-4.0.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_arch64.manylinux_2_28_aarch64.whl (829 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 830.0/830.0 kB 2.1 MB/s eta 0:00:0
Collecting typing-extensions>=4.7.0
Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensios-4.15.0-py3-none-any.whl (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 634.4 kB/s eta 0:00:0
Collecting bitarray<4.0,>=3.0.0
Downloading bitarray-3.8.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_arch64.manylinux_2_28_aarch64.whl (333 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 333.0/333.0 kB 1.8 MB/s eta 0:00:0
Collecting tibs<0.6,>=0.5.6
Downloading tibs-0.5.7-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64whl (416 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 416.3/416.3 kB 2.2 MB/s eta 0:00:0
Collecting cffi>=2.0.0
Downloading cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch4.whl (216 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.5/216.5 kB 1.8 MB/s eta 0:00:0
Collecting rich>=12
Downloading https://www.piwheels.org/simple/rich/rich-15.0.0-py3-none-any.whl(310 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.7/310.7 kB 1.4 MB/s eta 0:00:0
Collecting pycparser
Downloading https://www.piwheels.org/simple/pycparser/pycparser-3.0-py3-none-ny.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.2/48.2 kB 1.8 MB/s eta 0:00:00
Collecting markdown-it-py>=2.2.0
Downloading https://www.piwheels.org/simple/markdown-it-py/markdown_it_py-4.00-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.3/87.3 kB 1.8 MB/s eta 0:00:00
Collecting pygments<3.0.0,>=2.13.0
Downloading https://www.piwheels.org/simple/pygments/pygments-2.20.0-py3-noneany.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.7 MB/s eta 0:00:00
Collecting mdurl
=0.1
Downloading https://www.piwheels.org/simple/mdurl/mdurl-0.1.2-py3-none-any.wh (10.0 kB)
Installing collected packages: reedsolo, intelhex, bitarray, typing-extensions,tibs, PyYAML, pygments, pycparser, mdurl, dbus-fast, click, markdown-it-py, cff, bleak, bitstring, rich, cryptography, rich_click, esptool
Successfully installed PyYAML-6.0.3 bitarray-3.8.1 bitstring-4.4.0 bleak-3.0.1 ffi-2.0.0 click-8.3.3 cryptography-47.0.0 dbus-fast-4.0.4 esptool-5.2.0 intelhe-2.3.0 markdown-it-py-4.0.0 mdurl-0.1.2 pycparser-3.0 pygments-2.20.0 reedsolo-.7.0 rich-15.0.0 rich_click-1.9.7 tibs-0.5.7 typing-extensions-4.15.0
Installing openocd-esp32...
openocd-esp32 installed: Open On-Chip Debugger v0.12.0-esp32-20260304 (2026-03-4-20:06)
Configuring managed services...
Creating directories...
Installing scripts...
cp: cannot stat '[INSTALL PATH]/Universal-Embedded-Workbench/pi/cw_bacon.py': No such file or directory

Note I have obfuscated the install path on my device as '[INSTALL PATH]'.

Looks like the setup script may be out of sync with the changes made in yesterdays commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions