howdy: Camera path is not configured correctly,

Hello, I’ve installed Howdy on my Manjaro today. It was bit unconventional way as I couldn’t used the AUR version (it was outdated). Anyway I used PKGBUILD from here https://github.com/boltgolt/howdy/blob/22891a1a1b5ffc8a6311199141a85fd3aa00df0d/archlinux/howdy/PKGBUILD. After adding missing dependency the installation worked, but now I can’t use it. When I run sudo howdy test it gives me following error,

[ WARN:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_gstreamer.cpp (711) open OpenCV | GStreamer warning: Error opening bin: no element “none” [ WARN:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created [ERROR:0] global /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap.cpp (116) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.1.2) /build/opencv/src/opencv-4.1.2/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can’t find starting number (in the name of file): none in function ‘icvExtractPattern’

Opening a window with a test feed

Press ctrl+C in this terminal to quit

Click on the image to enable or disable slow mode

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’

Unknown camera, please check your ‘device_path’ config value.

Traceback (most recent call last): File “/usr/bin/howdy”, line 101, in <module> import cli.test File “/usr/lib/security/howdy/cli/test.py”, line 117, in <module> frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(4.1.2) /build/opencv/src/opencv-4.1.2/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function ‘cvtColor’


I’ve searched for similar issues already, and my issue has not been reported yet.

My media UID is: /dev/vedio0 My WebCam is: HP HD WebCam

Linux distribution (if applicable): Manjaro KDE based on Arch Linux

Howdy version: 2.5.1

I’d really appreciate you help on this. Thank you.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 49 (4 by maintainers)

Most upvoted comments

Ok I just set my device_path = /dev/vedio0 and now it’s working. Thanks. But really wish there is a easier way to install it in Manjaro. Thank you for everything

Yes it work for me too after changing the device path to /dev/video0 But I would like suggest to install v4l-utils before installing howdy so that we could identify the camera device path by performing v4l2-ctl --list-devices

Try running sudo howdy config

Did you edit the ‘device_path’ config value?

When I run this command after changing the config_path I got this error: Adding face model for the user garv Enter a label for this new model [Initial model] (max 24 characters): Facelock Camera path is not configured correctly, please edit the ‘device_path’ config value. Exception ignored in: <bound method VideoCapture.del of <recorders.video_capture.VideoCapture object at 0x7f36c737d4a8>> Traceback (most recent call last): File “/lib/security/howdy/recorders/video_capture.py”, line 55, in del self.internal.release() AttributeError: ‘VideoCapture’ object has no attribute ‘internal’ Please Help me!!

Have you correctly spelled the device path? Make sure you spell correct device path to your preffered video device You can check the correct device path by installing v4l-utils And perform v4l2-ctl – list-devices

How I install v4l-utils

sudo apt-get install v4l-utils

When I run this command after changing the config_path I got this error: Adding face model for the user garv Enter a label for this new model [Initial model] (max 24 characters): Facelock Camera path is not configured correctly, please edit the ‘device_path’ config value. Exception ignored in: <bound method VideoCapture.del of <recorders.video_capture.VideoCapture object at 0x7f36c737d4a8>> Traceback (most recent call last): File “/lib/security/howdy/recorders/video_capture.py”, line 55, in del self.internal.release() AttributeError: ‘VideoCapture’ object has no attribute ‘internal’

Please Help me!!

Have you correctly spelled the device path? Make sure you spell correct device path to your preffered video device You can check the correct device path by installing v4l-utils And perform v4l2-ctl – list-devices