ERPNext Conference 2019* ERPNext.com Blog

Bio-metric implementation for Fingerprint device has shows error

erpnext

#1

While installing configuration for Biometric implementation for fingerprint device, an error occurs when running the script python push_to_erpnext.py

The errors are,
Traceback (most recent call last):
File “push_to_erpnext.py”, line 222, in
error_logger = setup_logger(‘error_logger’, ‘/’.join([config.LOGS_DIRECTORY, ‘error.log’]), logging.ERROR)
File “push_to_erpnext.py”, line 204, in setup_logger
if logger.hasHandler():
AttributeError: ‘Logger’ object has no attribute ‘hasHandler’


How to integrate biometric device in ERP Next attendance
#2

@Ragulanvm, Please use Python3. I think you are using Python2, which is not supported. Thanks.

This exact issue has been reported in github issues as well.


How to integrate biometric device in ERP Next attendance
#3

But the attendance is not added automatically, it created employee check-in but auto attendance is not working?


#4

I figured it out. Auto attendance is working now. so, we need to run python script daily to get the check in details or it itself added check in details automatically