Starting Indi server failure #81
Replies: 3 comments
-
The "execlp" error comes when the indiserver does not find the driver. Have you really installed it according to the instructions in the
Please note that the driver name has no |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip – after a complete reinstallation of Raspberry Pi OS Bookworm (instead of Bullseye), it’s working now. The crucial tip is: use indi_pylibcamera without .py – in other words, do not follow the installation instructions in the Wiki, but only the instructions in the README.md! This was my mistake. |
Beta Was this translation helpful? Give feedback.
-
Oh, you are right: the Wiki is not uptodate. I will remove the installation instructions from the Wiki. The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that I have installed everything mentioned in the README.md, but I still get the following error when trying to start the server:
Driver ./indi_pylibcamera.py: execlp: No such file or directory
Any idea what I might be missing?
cd ~/Projects/indi_pylibcamera
indiserver -v ./indi_pylibcamera.py
2025-05-16T20:31:06: startup: indiserver -v ./indi_pylibcamera.py
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: pid=7689 rfd=3 wfd=6 efd=7
2025-05-16T20:31:06: listening to port 7624 on fd 4
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: 2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: execlp: No such file or directory
Child process 7689 died
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: stderr EOF
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: restart #1
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: pid=7690 rfd=0 wfd=6 efd=7
2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: 2025-05-16T20:31:06: Driver ./indi_pylibcamera.py: execlp: No such file or directory
pi@indiCam:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@indiCam:~ $ uname -a
Linux indiCam 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
pi@indiCam:~ $ apt list --installed | grep numpy
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
python3-numpy/oldstable,now 1:1.19.5-1 armhf [installed]
pi@indiCam:~ $ apt list --installed | grep astropy
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
python3-astropy/oldstable,now 4.2-6 armhf [installed]
python3-pytest-astropy-header/oldstable,now 0.1.2-3 all [installed,automatic]
python3-pytest-astropy/oldstable,now 0.8.0-1 all [installed,automatic]
pi@indiCam:~ $ apt list --installed | grep libcamera
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libcamera-apps/oldstable,now 1.2.1-1 armhf [installed]
libcamera0/oldstable,now 0
git20230720+bde9b04f-1 armhf [installed,automatic]git20230720+bde9b04f-1 armhf [installed,automa tic]python3-libcamera/oldstable,now 0
pi@indiCam:~ $ apt list --installed | grep picamera
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
python3-picamera2/oldstable,now 0.3.12-2 all [installed]
pi@indiCam:~ $ libcamera-hello --list-cameras
Available cameras
0 : imx477 [4056x3040] (/base/soc/i2c0mux/i2c@1/imx477@1a)
Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]
pi@indiCam:~ $ indi_pylibcamera_print_camera_information
Testing numpy:
numpy 1.19.5
Testing astropy:
astropy 4.2
[5:15:22.417077314] [7500] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+ 83-bde9b04f
[5:15:22.474827082] [7501] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c 0mux/i2c@1/imx477@1a to Unicam device /dev/media0 and ISP device /dev/media1
[5:15:22.475018383] [7501] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Found 1 cameras.
Camera 0:
{'Id': '/base/soc/i2c0mux/i2c@1/imx477@1a',
'Location': 2,
'Model': 'imx477',
'Rotation': 0}
[5:15:22.479489691] [7500] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+ 83-bde9b04f
[5:15:22.534963545] [7504] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c 0mux/i2c@1/imx477@1a to Unicam device /dev/media0 and ISP device /dev/media1
[5:15:22.535161564] [7504] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Camera properties:
{'ColorFilterArrangement': 0,
'Location': 2,
'Model': 'imx477',
'PixelArrayActiveAreas': [(8, 16, 4056, 3040)],
'PixelArraySize': (4056, 3040),
'Rotation': 0,
'ScalerCropMaximum': (0, 0, 0, 0),
'SystemDevices': (20749, 20750, 20738, 20739, 20740),
'UnitCellSize': (1550, 1550)}
Raw sensor modes:
[5:15:22.557817268] [7500] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1332x990-SBGGR10_CSI2P
[5:15:22.558605333] [7504] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1 /imx477@1a - Selected sensor format: 1332x990-SBGGR10_1X10 - Selected unicam for mat: 1332x990-pBAA
[5:15:22.580723646] [7500] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 2028x1080-SBGGR12_CSI2P
[5:15:22.581478378] [7504] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1 /imx477@1a - Selected sensor format: 2028x1080-SBGGR12_1X12 - Selected unicam fo rmat: 2028x1080-pBCC
[5:15:22.611233331] [7500] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 2028x1520-SBGGR12_CSI2P
[5:15:22.611996657] [7504] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1 /imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam fo rmat: 2028x1520-pBCC
[5:15:22.650065951] [7500] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 4056x3040-SBGGR12_CSI2P
[5:15:22.650829225] [7504] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1 /imx477@1a - Selected sensor format: 4056x3040-SBGGR12_1X12 - Selected unicam fo rmat: 4056x3040-pBCC
[{'bit_depth': 10,
'crop_limits': (696, 528, 2664, 1980),
'exposure_limits': (31, None),
'format': SRGGB10_CSI2P,
'fps': 120.05,
'size': (1332, 990),
'unpacked': 'SRGGB10'},
{'bit_depth': 12,
'crop_limits': (0, 440, 4056, 2160),
'exposure_limits': (60, 667244877, None),
'format': SRGGB12_CSI2P,
'fps': 50.03,
'size': (2028, 1080),
'unpacked': 'SRGGB12'},
{'bit_depth': 12,
'crop_limits': (0, 0, 4056, 3040),
'exposure_limits': (60, 674181621, None),
'format': SRGGB12_CSI2P,
'fps': 40.01,
'size': (2028, 1520),
'unpacked': 'SRGGB12'},
{'bit_depth': 12,
'crop_limits': (0, 0, 4056, 3040),
'exposure_limits': (114, 674191602, None),
'format': SRGGB12_CSI2P,
'fps': 10.0,
'size': (4056, 3040),
'unpacked': 'SRGGB12'}]
Camera configuration:
{'buffer_count': 4,
'colour_space': <libcamera.ColorSpace 'sYCC'>,
'controls': {'FrameDurationLimits': (100, 83333),
'NoiseReductionMode': <NoiseReductionModeEnum.Minimal: 3>},
'display': 'main',
'encode': 'main',
'lores': None,
'main': {'format': 'XBGR8888',
'framesize': 1228800,
'size': (640, 480),
'stride': 2560},
'queue': True,
'raw': {'format': 'SBGGR12_CSI2P',
'framesize': 18580480,
'size': (4056, 3040),
'stride': 6112},
'transform': <libcamera.Transform 'identity'>,
'use_case': 'preview'}
Camera controls:
{'AeConstraintMode': (0, 3, 0),
'AeEnable': (False, True, None),
'AeExposureMode': (0, 3, 0),
'AeMeteringMode': (0, 3, 0),
'AnalogueGain': (1.0, 22.2608699798584, None),
'AwbEnable': (False, True, None),
'AwbMode': (0, 7, 0),
'Brightness': (-1.0, 1.0, 0.0),
'ColourGains': (0.0, 32.0, None),
'Contrast': (0.0, 32.0, 1.0),
'ExposureTime': (114, 674191602, None),
'ExposureValue': (-8.0, 8.0, 0.0),
'FrameDurationLimits': (100000, 694434742, None),
'NoiseReductionMode': (0, 4, 0),
'Saturation': (0.0, 32.0, 1.0),
'ScalerCrop': ((0, 0, 64, 64), (0, 0, 4056, 3040), (2, 0, 4053, 3040)),
'Sharpness': (0.0, 16.0, 1.0)}
Exposure time:
min: 114, max: 674191602, default: None
AnalogGain:
min: 1.0, max: 22.2608699798584, default: None
Beta Was this translation helpful? Give feedback.
All reactions