Getting Error: could not acquired image from webcam feed.
There’s a good chance I don’t have this configured properly. Any idea where to look for the solution?
Web logs show the following:
at Tue 2024-09-24 21:17:01 CDT, ends at Thu 2024-09-26 13:51:28 CDT. –
Sep 26 13:50:59 mycodo python[2661]: File “/home/smguth/Mycodo/mycodo/utils/influx.py”, line 301, in query_string
Sep 26 13:50:59 mycodo python[2661]: ret_value = query_flux(
Sep 26 13:50:59 mycodo python[2661]: File “/home/smguth/Mycodo/mycodo/utils/influx.py”, line 185, in query_flux
Sep 26 13:50:59 mycodo python[2661]: from influxdb_client import InfluxDBClient
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/influxdb_client/init.py”, line 382, in
Sep 26 13:50:59 mycodo python[2661]: from influxdb_client.client.delete_api import DeleteApi
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/influxdb_client/client/delete_api.py”, line 7, in
Sep 26 13:50:59 mycodo python[2661]: from influxdb_client.client._base import _BaseDeleteApi
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/influxdb_client/client/_base.py”, line 22, in
Sep 26 13:50:59 mycodo python[2661]: from influxdb_client.client.write.dataframe_serializer import DataframeSerializer
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/influxdb_client/client/write/dataframe_serializer.py”, line 12, in
Sep 26 13:50:59 mycodo python[2661]: from influxdb_client.client.write.point import _ESCAPE_KEY, _ESCAPE_STRING, _ESCAPE_MEASUREMENT, DEFAULT_WRITE_PRECISION
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/influxdb_client/client/write/point.py”, line 40, in
Sep 26 13:50:59 mycodo python[2661]: import numpy as np
Sep 26 13:50:59 mycodo python[2661]: File “/var/mycodo-root/env/lib/python3.9/site-packages/numpy/init.py”, line 119, in
Sep 26 13:50:59 mycodo python[2661]: raise ImportError(msg) from e
Sep 26 13:50:59 mycodo python[2661]: ImportError: Error importing numpy: you should not try to import numpy from
Sep 26 13:50:59 mycodo python[2661]: its source directory; please exit the numpy source tree, and relaunch
Sep 26 13:50:59 mycodo python[2661]: your python interpreter from there.
Sep 26 13:51:04 mycodo python[4721]: — Opening /dev/video0…
Sep 26 13:51:04 mycodo python[4721]: Trying source module v4l2…
Sep 26 13:51:04 mycodo python[4721]: /dev/video0 opened.
Sep 26 13:51:04 mycodo python[4721]: No input was specified, using the first.
Sep 26 13:51:04 mycodo python[4721]: Setting Brightness to 142 (49%).
Sep 26 13:51:04 mycodo python[4721]: Adjusting resolution from 1024x768 to 1280x720.