Howdy: Ubuntu server 20 LTS - Howdy add fails. 'VideoCapture' object has no attribute 'internal'

Created on 31 Oct 2020  路  3Comments  路  Source: boltgolt/howdy

_Please describe the issue in as much detail as possible, including any errors and traces._
_If your issue is a camera issue, be sure to also post the image generated by running sudo howdy snapshot._

kanaida@kanaida-laptop:~/Downloads$ sudo howdy add
Adding face model for the user kanaida
Enter a label for this new model [Initial model] (max 24 characters): kanaida
Camera path is not configured correctly, please edit the 'device_path' config value.
Exception ignored in:
Traceback (most recent call last):
File "/usr/lib/security/howdy/recorders/video_capture.py", line 55, in __del__
self.internal.release()
AttributeError: 'VideoCapture' object has no attribute 'internal'

kanaida@kanaida-laptop:~/Downloads$ sudo howdy snapshot
Camera path is not configured correctly, please edit the 'device_path' config value.
Exception ignored in:
Traceback (most recent call last):
File "/usr/lib/security/howdy/recorders/video_capture.py", line 55, in __del__
self.internal.release()
AttributeError: 'VideoCapture' object has no attribute 'internal'


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

Linux distribution (if applicable):

Howdy version (sudo howdy version):

wontfix

Most helpful comment

Missing config path was the problem.
It should probably say that when i try to add, or try to set the default to /dev/video0 if one isn't provided by the distro.

sudo howdy config
changed device path to /dev/video0

All 3 comments

Missing config path was the problem.
It should probably say that when i try to add, or try to set the default to /dev/video0 if one isn't provided by the distro.

sudo howdy config
changed device path to /dev/video0

The error you've posted _does_ say:

 Camera path is not configured correctly, please edit the 'device_path' config value.

The ubuntu installer configures the device path automatically on installation. I'm guessing you're not using Ubuntu yourself but you haven't filled in your distro in the issue.

I had this issue as well with elementary OS 5.1.7. Configuring the device path manually (/dev/video0) fixed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

klascano picture klascano  路  9Comments

Doomsdayrs picture Doomsdayrs  路  3Comments

NICHOLAS85 picture NICHOLAS85  路  7Comments

gabrielspadon picture gabrielspadon  路  6Comments

VanishingTacos picture VanishingTacos  路  8Comments