Jump to content

Talk:Lenovo ThinkPad T480s

From ArchWiki

Fingerprint reader not detected with python-validity

Title: I get prompted with list_devices failed when running fprintd-enroll. I also got an error when I ran yay -Syu python-validity with the dependency open-fprintd. I then ran yay -Syu open-fprintd and yay -Syu python-validity again. I'm still a newbie with Arch so any help is appreciated Arnaud1404 (talk) 11:14, 5 November 2024 (UTC)Reply

I get the following error message when running this command as suggested on the project's github page https://github.com/uunicorn/python-validity
sudo systemctl status python3-validity
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:   File "/usr/lib/python3.12/site-packages/validitysensor/init.py", line 34, in open_common
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:     tls.open()
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:   File "/usr/lib/python3.12/site-packages/validitysensor/tls.py", line 137, in open
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:     self.make_keys()
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:   File "/usr/lib/python3.12/site-packages/validitysensor/tls.py", line 160, in make_keys
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:     pre_master_secret = skey.exchange(ec.ECDH(), self.ecdh_q)
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]:                                                  ^^^^^^^^^^^
nov. 05 12:19:06 arnaud-t480s dbus-service[25594]: AttributeError: 'Tls' object has no attribute 'ecdh_q'
nov. 05 12:19:07 arnaud-t480s systemd[1]: python3-validity.service: Main process exited, code=exited, status=1/FAILURE
nov. 05 12:19:07 arnaud-t480s systemd[1]: python3-validity.service: Failed with result 'exit-code'. Arnaud1404 (talk) 11:23, 5 November 2024 (UTC)Reply
Well I just ran the code in the 'errors on startup'section of the readme and it works like a charm now, I leave this here just in case Arnaud1404 (talk) 11:27, 5 November 2024 (UTC)Reply