Git Product home page Git Product logo

Comments (5)

l3ifk avatar l3ifk commented on June 13, 2024 4

I have the same problem. Everything works fine except that the system does not try to even use howdy, although it is activated in PAM. I install howdy with the apt-repository and did a sudo apt install howdy. Additionally I tried installing dlib through different ways but that did not make any difference.

from howdy.

mikeywoll avatar mikeywoll commented on June 13, 2024 1

This fixed the issue for me.

#799

from howdy.

andygev35 avatar andygev35 commented on June 13, 2024 1

Thanks that fixed it! But there is a new warning:

lib/security/howdy/compare.py:57: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  "Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),

But I'll look into that if there is already a fix for it

A quick and dirty fix:

in /lib/security/howdy/compare.py, after
from recorders.video_capture import VideoCapture
add:
from datetime import datetime, timezone
edit:
"Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),
into:
"Date: " + datetime.now(timezone.utc).strftime("%Y/%m/%d %H:%M:%S UTC"),

from howdy.

ssljr avatar ssljr commented on June 13, 2024

I have the same problem

from howdy.

l3ifk avatar l3ifk commented on June 13, 2024

Thanks that fixed it! But there is a new warning:

lib/security/howdy/compare.py:57: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  "Date: " + datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S UTC"),

But I'll look into that if there is already a fix for it

from howdy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.