1,362 questions
0
votes
1
answer
104
views
dockerized rust application shrank [closed]
I have the following dockerfile:
# Build stage
FROM rust:1.90-bookworm AS builder
# Install build dependencies
RUN apt-get update && \
apt-get install --no-install-recommends -y pkg-config=...
1
vote
1
answer
75
views
ModuleNotFoundError: No module named 'pandas' on Raspberry Pi even after installing from requirements.txt
I’m running a Python project on a Raspberry Pi (Debian / Raspberry Pi OS, Python 3.9.2).
The project has its own virtual environment (.venv), and I launch it with a script (alsv4) that starts multiple ...
0
votes
0
answers
93
views
AArch64 RPi4b bare-metal OS hangs after MMU enable
I am currently writing a small bare-metal OS for Raspberry Pi 4b for the AArch64/Arm64 architecture.
Unfortunately the OS hangs after enabling the MMU on real hardware. When testing the OS in QEMU ...
0
votes
0
answers
63
views
Got this error just after booting my raspberrypi 4 with raspberrypi no desktop environment while starting bluetooth service
Got this error just after booting my raspberrypi 4 with raspberrypi no desktop environment while starting bluetooth service.
Now this one Jun 21 20:22:27 rpi systemd[1]: Started bluetooth.service - ...
0
votes
0
answers
24
views
Start up .service issues on Raspberry Pi4 running LED function embedded in a larger script, but not the rest of the script
I am trying to get a .service file to run on start up, I have an LED function to ensure it is running, the led function runs on start up but the other raspberry pis are not receiving my connection. Im ...
0
votes
1
answer
61
views
Python Script will not run in crontab -e and script has errors Missing X server or $DISPLAY
I have a Raspberry Pi 4 that I use at different locations to run a digital display. I use this script to run at reboot so that I don't have to determine the IP address each time and just start ...
0
votes
0
answers
31
views
Problems with using VisPy to visualize the orientation of an IMU sensor, with RaspberryPi 4B
I have a project where I need to visualize the orientation of an IMU sensor as a 3D cube using VisPy, however, I keep getting the OSError: [Errno 5] Input/output error. I had another code using ...
1
vote
0
answers
45
views
Installation of FIWARE Orion Context Broker (OCB) in Raspberry Pi model 4 (RP4)
The instructions at
https://github.com/telefonicaid/fiware-orion/blob/master/docker/raspberry_pi.md
have allowed us to install the OCB and mongoDB on a raspbery pi 4, although we have had to modify ...
-1
votes
1
answer
67
views
Background threads stoping
i have a python application, that contains functions to be called by interval.
def call_repeatedly(interval, func, *args, **kwargs):
stopped = threading.Event()
lock = threading.Lock() # Lock ...
0
votes
0
answers
162
views
Bluepy scan for devices and connect to them
My task is to search for some devices with Bluetooth with a Raspberry PI 4B and to connect to send some commands and disconnect. For this, I started using bluepy package and I was able to do the two ...
0
votes
0
answers
64
views
Serial/uart configuration on RPi 4
Quick question
I'm recovering from breakdown on my RPi 4. Old RPi was scrapped and copying all setup on new RPi. Unfortunatelly setap which use to work now does not respond. I have noticed settings of ...
1
vote
1
answer
114
views
Raspberry Pi 4 bare metal GPIO set/clear issue
I'm trying to get going on bare metal programming with my rapsberry pi 4b and I'm encountering an issue when trying to run it on 64bits. Whenever I try to write to the GPIO SET0 register, the program ...
0
votes
0
answers
160
views
Chromium Kiosk Mode on Raspberry Pi 4 Crashes.. shows "Aw Snap..."
I’m running a Raspberry Pi 4 with Debian and Chromium in kiosk mode. The Pi handles a significant amount of data through Modbus/MQTT via another controller that has an energy meter connected to it. ...
0
votes
0
answers
47
views
Scap tool for raspberry pi
I am trying to run DOD scap tool(https://public.cyber.mil/stigs/scap/) for raspberry pi 11 (Bulls eye) but it asking for specific perl library is any one have faced same issues
error:
root@root:/opt/...
2
votes
0
answers
80
views
QT show the same content on multiple monitors
I have this kind of info app that is supposed to show some info content. It's written in QT / QML. Qt version is 5.12.
It runs on Raspberry Pi 4 - Lite image, no X, OpenGLES. Now what if I wanted to ...
-1
votes
2
answers
283
views
Python Pydantic Module not found in Docker Container (Raspberry Pi)
I'm trying to transfer a Flask web app to a Raspberry Pi 4b using Docker. The container runs flawlessly on AMD architecture. The ARM architecture is to be tested on the Raspberry. The creation of the ...
0
votes
1
answer
352
views
Autorun script in Raspberry Pi 4
I am trying to autorun my Python script whenever my Raspberry Pi 4 boots up or when I start connecting it to a power source, but I already tried different methods but didn't work.
By the way, my ...
0
votes
1
answer
74
views
JavaFX not rendering properly on Raspberry Pi (aarch64)
We are trying to port a library of jars using JavaFX from Windows, where they currently run, to linux / aarch64.
Goal:
is to get them running on off the shelf ARM hardware, i.e. Raspberry Pi. (ideally ...
0
votes
0
answers
82
views
python code running as a service to record and play audio
i have a python code running as a service on Raspberry Pi 4. The app is basically to record some audio in a certain language using a microphone, save the audio to a .wav file, then use ...
0
votes
0
answers
106
views
Raspberry PI 4, Java, Pi4j: Unable to load libgpiod.so
I am trying to get Java and Pi4j to work on my new Rasperry Pi 4 B.
I followed pi4j's instructions exactly. With jbang or maven I have same problem.
The pi4j-example-minimal ist compiled and packaged ...
3
votes
0
answers
436
views
Problem installing the rpi-rgb-led-matrix library
I'm creating my first Python program using a Respberry Pi 4 to connect to a 16x32 LED Hub75 board. From what I've researched, this rpi-rgb-led-matrix library is the only one compatible with this board....
-1
votes
1
answer
103
views
Need to Understand Why Docker Stopped Working?
I have several Docker containers running on a Raspberry Pi 4b, they have all suddenly stopped working and I don't know why... If I try to update my containers I get this error
Cannot connect to the ...
1
vote
2
answers
118
views
How do I ensure that my Python script and its child processes handle Ctrl-C properly?
System:
A Raspberry Pi-4 running Buster using Python 3.7 with an Adafruit 128x32 2.23" OLED Bonnet connected to the GPIO pins. Ref: https://learn.adafruit.com/adafruit-2-23-monochrome-oled-...
0
votes
1
answer
195
views
gpiozero combining button events in event driven code
I'm pretty new to the Python and Raspberry business and am currently working on my first major application. I like gpiozero and the ability to work with events throughout.
I would like to make my code ...
1
vote
0
answers
318
views
How best to capture a long exposure image on PiCamera2
I am trying to use a PiCamera to analyse the intensity of a light source. I have written some very simple code to image it. The light source is not very bright but I don't want any problems from ...