Continuing the discussion from [TRACKING] Fingerprint scanner compatibility with linux (ubuntu, fedora, etc):
Hello Devyn,
Thank you for sharing this AppImage, I am experiencing issues with registering fprints and noticed this stopped working.
$ sudo ./fprint-clear-storage-0.0.1-x86_64.AppImage
** (process:74884): WARNING **: 23:11:24.039: Failed to load shared library 'libfprint-2.so.2' referenced by the typelib: /lib64/libgudev-1.0.so.0: undefined symbol: g_once_init_enter_pointer
/tmp/.mount_fprintwwEV5s//opt/fprint_clear_storage.py:7: Warning: cannot retrieve class for invalid (unclassed) type 'void'
ctx = FPrint.Context()
Traceback (most recent call last):
File "/tmp/.mount_fprintwwEV5s//opt/fprint_clear_storage.py", line 7, in <module>
ctx = FPrint.Context()
TypeError: could not get a reference to type class
I suspect the newer libraries on my system could be causing the issue:
libfprint-1.94.6
:/lib64/libfprint-2.so.2
libgudev-238-5
:/lib64/libgudev-1.0.so.0
Aside from being inside an app image, is the script the same as the original python script?
The original Python script seemingly ran successfully and fprint shows that I have no registered fingerprints.
$ fprintd-list $USER
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
User mikey has no fingers enrolled for Goodix MOC Fingerprint Sensor.
When I try to register I do not get an error, it just never completes.
Interestingly there is no error when enrolling, and am already at the correct firmware version?
fwupdmgr get-devices 1e8c8470-a49c-571a-82fd-19c9fa32b8c3 | grep Current
Current version: 01000248
Edit:
Turns out there is no problem registering a fingerprint, its just that I have to keep tapping several times to train it to my finger.