|
Hi guys,
I built the RaspClaws and tried to start the webserver. Unfortunately, I got an error as shown below a section of the bash. It seems something wrong with the camera, but when using the command libcamera-hello the camera has been working fine. Has anybody an idea to solve the problem?
Bash section:
Robo@raspberrypi:~ $ sudo python3 Adeept_RaspClaws/server/webServer.py
mpu6050 connected, PT MODE ON
......................pause..........................
Starting camera thread.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Failed to allocate required memory.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/Robo/Adeept_RaspClaws/server/base_camera.py", line 94, in _thread
for frame in frames_iterator:
File "/home/Robo/Adeept_RaspClaws/server/camera_opencv.py", line 421, in frames
if img.all is None:
AttributeError: 'NoneType' object has no attribute 'all'
Kind regards,
Mima |
|