Skip to content
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

Big Python Update today - "No dlib" #978

Open
Hamster1962 opened this issue Dec 22, 2024 · 10 comments
Open

Big Python Update today - "No dlib" #978

Hamster1962 opened this issue Dec 22, 2024 · 10 comments

Comments

@Hamster1962
Copy link

Hamster1962 commented Dec 22, 2024

My Howdy was working perfectly until a large update last night. Lots of Python programs and Camera type updates.
Now when I try and use Howdy i get the error :-

Traceback (most recent call last):
File "/lib/security/howdy/compare.py", line 18, in
import dlib
ModuleNotFoundError: No module named 'dlib'
Exact same error as 18 Months ago which was fixed by a further update.
Restoring a Snapshot solves the issue until the next update is run

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

Linux distribution = Garuda Linux based on Arch with KDE Desktop Kernel 6.6.63-1-cachyos-lts

Howdy version (sudo howdy version): Howdy 3.0.0 BETA

Thanks for any help in advance.

@gguman
Copy link

gguman commented Dec 22, 2024

If you are an Arch user with yay: yay -S --rebuildtree howdy-beta-git

@L-28
Copy link

L-28 commented Dec 22, 2024

At least with me that didn't work. sudo howdy test still results in:

Traceback (most recent call last):
  File "/usr/lib/howdy/cli.py", line 117, in <module>
    import cli.test
  File "/usr/lib/howdy/cli/test.py", line 10, in <module>
    import dlib
ModuleNotFoundError: No module named 'dlib'

@Hamster1962
Copy link
Author

No sadly. I run all the updates. Howdy returns the above error. My install of yay won't accept the argument --rebuildtree.
I did remove and re-install dlib (a reinstall won't & didn't work). A new install of dlib works but returns an error -

Exception ignored in: <_io.BufferedWriter name=4> 
BrokenPipeError: [Errno 32] Broken pipe

So Howdy works but with an error, there is a problem somewhere.

@gguman
Copy link

gguman commented Dec 22, 2024

I confirm that there is an exception arise, but the howdy works.

@L-28
Copy link

L-28 commented Dec 22, 2024

In my case howdy doesn't work, it simply exits after the error/let's the next available unlock method take over

I seem to have a different error. Opening a new issue

@Hamster1962
Copy link
Author

Hamster1962 commented Dec 23, 2024

Both the ideas above fix the dlib Python errors but an error still exists, The ignore error appears but Howdy works OK.

Exception ignored in: <_io.BufferedWriter name=4> 
BrokenPipeError: [Errno 32] Broken pipe

@gguman
Copy link

gguman commented Dec 24, 2024

The error text contains information that the exception was ignored, so it should not break the script. But it is very annoying to see it every time, but I can not find the error location in the source files

where is the developer? it seems like he abandoned the project. May be there are any fresh fork?

@connor-belli
Copy link

Rebuilding python-dlib fixed the issue for me

@mj1911
Copy link

mj1911 commented Dec 29, 2024

Arch / Manjaro / Mabox recently bumped up their system python version, which broke many things, including old builds of howdy. Solution is to pamac remove howdy && pamac install howdy which will purge everything and rebuild it, which then results in AttributeError: 'VideoCapture' object has no attribute 'internal' due to /lib/security/howdy/config.ini being reset. Must then edit and set your video source, see https://wiki.archlinux.org/title/Howdy for more info. I also had to manually define frame_width and height for a webcam. So if you haven't tried (complete) rebuild/reinstall/reconfig yet, give that a shot.

@Hamster1962
Copy link
Author

Just an idea, the developer of Howdy seems to be not maintaining it anymore. But another Distro, Deepin Linux, comes pre-built with facial recognition, maybe someone could take a look at Deepin and see how the facial recognition works and separate it out into a stand-alone app?

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

5 participants