Ran the quick install. It errored out with
tinypilot to install and restart the rpi.
...
+ tee --append /var/tmp/tmp.MFI5mvlHQc.yml
ustreamer_format: jpeg
+ add_setting_if_undefined ustreamer_resolution 1920x1080
+ local key=ustreamer_resolution
+ local value=1920x1080
+ grep --silent '^ustreamer_resolution:' /var/tmp/tmp.MFI5mvlHQc.yml
+ tee --append /var/tmp/tmp.MFI5mvlHQc.yml
+ echo 'ustreamer_resolution: 1920x1080'
ustreamer_resolution: 1920x1080
+ echo 'Final install settings:'
Final install settings:
+ cat /var/tmp/tmp.MFI5mvlHQc.yml
ustreamer_port: 8001
ustreamer_persistent: true
ustreamer_encoder: hw
ustreamer_format: jpeg
ustreamer_resolution: 1920x1080
+ HAS_PRO_INSTALLED=0
++ dirname bash
+ SCRIPT_DIR=.
+ '[' . = . ']'
+ SCRIPT_DIR=/opt/tinypilot
+ TINYPILOT_README=/opt/tinypilot/README.md
+ '[' -f /opt/tinypilot/README.md ']'
+ '[' 0 = 1 ']'
+ sudo apt-get update --allow-releaseinfo-change-suite
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
+ sudo apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.30.2-1).
libffi-dev is already the newest version (3.3-6).
libssl-dev is already the newest version (1.1.1n-0+deb11u2+rpt1).
The following additional packages will be installed:
javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-distutils python3-lib2to3 python3.9-dev python3.9-venv
Suggested packages:
apache2 | lighttpd | httpd
The following NEW packages will be installed:
javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-venv python3.9-dev python3.9-venv
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,380 kB of archives.
After this operation, 19.4 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf python-pip-whl all 20.3.4-4+rpt1 [2,002 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf javascript-common all 11+nmu1 [6,260 B]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-underscore all 1.9.1~dfsg-3 [100 kB]
Get:5 http://mirror.umd.edu/raspbian/raspbian bullseye/main armhf libjs-sphinxdoc all 3.4.3-2 [127 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3.9-dev armhf 3.9.2-1+rpi1 [3,055 kB]
Get:7 http://mirror.umd.edu/raspbian/raspbian bullseye/main armhf libpython3-dev armhf 3.9.2-3 [21.7 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-dev armhf 3.9.2-1+rpi1 [501 kB]
Get:9 http://mirror.umd.edu/raspbian/raspbian bullseye/main armhf python3-lib2to3 all 3.9.2-1 [77.8 kB]
Get:10 http://mirror.umd.edu/raspbian/raspbian bullseye/main armhf python3-distutils all 3.9.2-1 [143 kB]
Get:11 http://mirror.umd.edu/raspbian/raspbian bullseye/main armhf python3-dev armhf 3.9.2-3 [24.8 kB]
Get:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-venv armhf 3.9.2-1+rpi1 [5,400 B]
Get:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-venv armhf 3.9.2-3 [1,188 B]
Fetched 6,380 kB in 4s (1,551 kB/s)
Selecting previously unselected package javascript-common.
(Reading database ... 61121 files and directories currently installed.)
Preparing to unpack .../00-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../01-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ...
Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../02-libjs-underscore_1.9.1~dfsg-3_all.deb ...
Unpacking libjs-underscore (1.9.1~dfsg-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../03-libjs-sphinxdoc_3.4.3-2_all.deb ...
Unpacking libjs-sphinxdoc (3.4.3-2) ...
Selecting previously unselected package libpython3.9-dev:armhf.
Preparing to unpack .../04-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../05-libpython3-dev_3.9.2-3_armhf.deb ...
Unpacking libpython3-dev:armhf (3.9.2-3) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../06-python-pip-whl_20.3.4-4+rpt1_all.deb ...
Unpacking python-pip-whl (20.3.4-4+rpt1) ...
Selecting previously unselected package python3.9-dev.
Preparing to unpack .../07-python3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9-dev (3.9.2-1+rpi1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../08-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../09-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../10-python3-dev_3.9.2-3_armhf.deb ...
Unpacking python3-dev (3.9.2-3) ...
Selecting previously unselected package python3.9-venv.
Preparing to unpack .../11-python3.9-venv_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9-venv (3.9.2-1+rpi1) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../12-python3-venv_3.9.2-3_armhf.deb ...
Unpacking python3-venv (3.9.2-3) ...
Setting up javascript-common (11+nmu1) ...
Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Setting up python3.9-dev (3.9.2-1+rpi1) ...
Setting up python-pip-whl (20.3.4-4+rpt1) ...
Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Setting up python3-lib2to3 (3.9.2-1) ...
Setting up libjs-underscore (1.9.1~dfsg-3) ...
Setting up python3-distutils (3.9.2-1) ...
Setting up libpython3-dev:armhf (3.9.2-3) ...
Setting up libjs-sphinxdoc (3.4.3-2) ...
Setting up python3.9-venv (3.9.2-1+rpi1) ...
Setting up python3-venv (3.9.2-3) ...
Setting up python3-dev (3.9.2-3) ...
Processing triggers for man-db (2.9.4-2) ...
+ INSTALLER_DIR=/opt/tinypilot-updater
+ sudo mkdir -p /opt/tinypilot-updater
++ whoami
++ whoami
+ sudo chown pi:pi --recursive /opt/tinypilot-updater
+ pushd /opt/tinypilot-updater
/opt/tinypilot-updater ~
+ python3 -m venv venv
+ . venv/bin/activate
++ deactivate nondestructive
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n /usr/bin/bash -o -n '' ']'
++ hash -r
++ '[' -n '' ']'
++ unset VIRTUAL_ENV
++ unset VIRTUAL_ENV_PROMPT
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/opt/tinypilot-updater/venv
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/home/pi/.pyenv/plugins/pyenv-virtualenv/shims:/home/pi/.pyenv/shims:/home/pi/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
++ PATH=/opt/tinypilot-updater/venv/bin:/home/pi/.pyenv/plugins/pyenv-virtualenv/shims:/home/pi/.pyenv/shims:/home/pi/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
++ export PATH
++ '[' -n '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ PS1='(venv) '
++ export PS1
++ VIRTUAL_ENV_PROMPT='(venv) '
++ export VIRTUAL_ENV_PROMPT
++ '[' -n /usr/bin/bash -o -n '' ']'
++ hash -r
+ pip install pip==21.3.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip==21.3.1
Downloading https://www.piwheels.org/simple/pip/pip-21.3.1-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 836.5 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.0.4
Uninstalling pip-22.0.4:
Successfully uninstalled pip-22.0.4
Successfully installed pip-21.3.1
+ echo 'ansible==2.9.10
cffi==1.14.4
cryptography==35.0.0
Jinja2==2.11.2
MarkupSafe==1.1.1
pkg-resources==0.0.0
pycparser==2.20
pyOpenSSL==20.0.1
PyYAML==5.3.1
six==1.15.0'
+ pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting ansible==2.9.10
Downloading https://www.piwheels.org/simple/ansible/ansible-2.9.10-py3-none-any.whl (16.2 MB)
|████████████████████████████████| 16.2 MB 22 kB/s
Collecting cffi==1.14.4
Downloading cffi-1.14.4.tar.gz (471 kB)
|████████████████████████████████| 471 kB 778 kB/s
Preparing metadata (setup.py) ... done
Collecting cryptography==35.0.0
Downloading cryptography-35.0.0.tar.gz (559 kB)
|████████████████████████████████| 559 kB 1.2 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Jinja2==2.11.2
Downloading https://www.piwheels.org/simple/jinja2/Jinja2-2.11.2-py2.py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 365 kB/s
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/ma
rkupsafe/
Collecting MarkupSafe==1.1.1
Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from versions: none)
ERROR: No matching distribution found for pkg-resources==0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.1.2 is available.
You should consider upgrading via the '/opt/tinypilot-updater/venv/bin/python3 -m pip install --upgrade pip' command.
Description
Ran the quick install. It errored out with
What's the behavior that you expect?
tinypilot to install and restart the rpi.
What's happening instead?
quick-install errored out with
What are the steps to reproduce this behavior?
Screenshots
Logs