Skip to content

Commit 7b44a18

Browse files
authored
os: Upgrade python3-libcamera to fix issue on bookworm (#551)
See raspberrypi/picamera2#1229 (comment)
1 parent 790290f commit 7b44a18

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

documentation/docs/community/contribute/tips-and-tricks.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Start by [installing WSL (Ubuntu)](https://learn.microsoft.com/en-us/windows/wsl
5555
Because of a small incompatibilty between Windows and Linux; we recommend cloning the repo "in WSL" but if you prefer keeping your git clone "in Windows", here are other options:
5656
* [Git line endings](https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git#git-line-endings)
5757
* [Visual Studio Code WSL extension](https://code.visualstudio.com/docs/remote/wsl)
58-
*
58+
5959
Then follow the Ubuntu instructions below.
6060
</details>
6161

@@ -83,6 +83,7 @@ poetry install --no-root
8383
Run live previewer:
8484

8585
```sh
86+
cd documentation
8687
poetry run poe preview
8788
```
8889

software/distro/setup/ci-record-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -eu
22
# This script records OS installation versioning information in the same way as the
3-
# install.planktoscope.community/distro.sh script does. To invnoke it, you must set the following
3+
# install.planktoscope.community/distro.sh script does. To invoke it, you must set the following
44
# environment variables:
55
# REPO (the repo used for setup, e.g. github.com/PlanktoScope/PlanktoScope)
66
# VERSION_QUERY (the version query, e.g. a commit hash)

software/distro/setup/planktoscope-app-env/python-hardware-controller/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ esac
2121
sudo -E apt-get install -y -o Dpkg::Progress-Fancy=0 \
2222
git python3-pip python3-venv
2323

24+
## Upgrade python3-libcamera to solve an issue in Raspberry Pi OS bookworm-2024-11-19
25+
## https://github.com/raspberrypi/picamera2/issues/1229#issuecomment-2772493538
26+
sudo -E apt-get install -y -o Dpkg::Progress-Fancy=0 --only-upgrade \
27+
python3-libcamera
28+
2429
# Suppress keyring dialogs when setting up the PlanktoScope distro on a graphical desktop
2530
# (see https://github.com/pypa/pip/issues/7883)
2631
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

0 commit comments

Comments
 (0)