Skip to content

Howdy returning unknown error 1 when it tries to authenticate user #1008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Wrobel1111 opened this issue Mar 25, 2025 · 0 comments
Open

Howdy returning unknown error 1 when it tries to authenticate user #1008

Wrobel1111 opened this issue Mar 25, 2025 · 0 comments

Comments

@Wrobel1111
Copy link

Wrobel1111 commented Mar 25, 2025

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.

Hello everyone,
I've given up and am raising an issue ticket.
I've installed Howdy, configured it, but can't manage to get it to work. Whenever I run any command with sudo, I get following error:

Traceback (most recent call last):
File "/usr/lib64/security/howdy/compare.py", line 20, in <module>
import snapshot
File "/usr/lib64/security/howdy/snapshot.py", line 6, in <module>
import numpy as np
  File "/usr/lib64/python3.11/site-packages/numpy/__init__.py", line 114, in <module>
    from numpy.__config__ import show_config
  File "/usr/lib64/python3.11/site-packages/numpy/__config__.py", line 4, in <module>
    from numpy._core._multiarray_umath import (
  File "/usr/lib64/python3.11/site-packages/numpy/_core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/usr/lib64/python3.11/site-packages/numpy/_core/multiarray.py", line 1149
    def putmask(a, /, mask, values):
                   ^
SyntaxError: invalid syntax
Unknown error: 1

After that I get normal "enter password" message.

There have been numerous errors while gettint up to this point, all of them including proper libraries (numpy and cv2 from opencv). My current combination works (this is: not fails) best thus far:

Package               Version   Location                                  Installer
--------------------- --------- ----------------------------------------- ---------
dlib                  19.24.6   /usr/local/lib64/python3.11/site-packages
numpy                 2.2.2     /usr/lib64/python3.11/site-packages       pip
opencv-contrib-python 4.11.0.86 /usr/local/lib64/python3.11/site-packages pip
pip                   25.0.1    /usr/local/lib/python3.11/site-packages   pip
pycairo               1.23.0    /usr/lib64/python3.11/site-packages
PyGObject             3.44.1    /usr/lib64/python3.11/site-packages
setuptools            67.7.2    /usr/lib/python3.11/site-packages

numpy or opencv installed from package manager (zypper) won't work or will not include properly. Similar problems have appeared with installing those packages with pip, but in different locations - I've been using target option with pip pointing to those locations - again, this works the best. Also worth noting: opencv-python raises error from numpy about being compiled for version 1.x.x. Using contrib version though gets rid of that problem

I have also applied changes from this walkthrough, which is applicable for my distribution.

I have succesfully added faces with howdy add, howdy snapshot generates good image, howdy test also works (may be important - I am using KDE Plasma 6 with X11, howdy test works when used sudo -E).

Details regarding my camera setup:
I am using Lenovo Performance FHD webcam (Windows Hello compatible)
/dev/video1 shows what "normal" webcam sees
/dev/video3 shows IR version

Thanks

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

Linux distribution (if applicable):
OpenSUSE Leap 15.6

Howdy version (sudo howdy version):
Howdy 2.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant