We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i setup all config and run biometric-attendance-sync-tool i get this error. Please help Notice that i have ZKTeco MB560-VL
2025-01-13 15:33:30,846 ERROR 192.168.1.201 exception when fetching from device... Traceback (most recent call last): File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 248, in __send_command self.__sock.send(top) BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 140, in get_all_attendance_from_device conn = zk.connect() File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 373, in connect cmd_response = self.__send_command(const.CMD_CONNECT) File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 260, in __send_command raise ZKNetworkError(str(e)) zk.exception.ZKNetworkError: [Errno 32] Broken pipe 2025-01-13 15:33:30,847 ERROR exception when calling pull_process_and_push_data function for device{"device_id": "Usine", "ip": "192.168.1.201", "punch_direction": null, "clear_from_device_on_fetch": false} Traceback (most recent call last): File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 248, in __send_command self.__sock.send(top) BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last): File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 140, in get_all_attendance_from_device conn = zk.connect() File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 373, in connect cmd_response = self.__send_command(const.CMD_CONNECT) File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 260, in __send_command raise ZKNetworkError(str(e)) zk.exception.ZKNetworkError: [Errno 32] Broken pipe
Traceback (most recent call last): File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 53, in main pull_process_and_push_data(device, device_attendance_logs) File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 80, in pull_process_and_push_data device_attendance_logs = get_all_attendance_from_device(device['ip'], device_id=device['device_id'], clear_from_device_on_fetch=device['clear_from_device_on_fetch']) File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 161, in get_all_attendance_from_device raise Exception('Device fetch failed.') Exception: Device fetch failed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when i setup all config and run biometric-attendance-sync-tool i get this error. Please help
Notice that i have ZKTeco MB560-VL
2025-01-13 15:33:30,846 ERROR 192.168.1.201 exception when fetching from device...
Traceback (most recent call last):
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 248, in __send_command
self.__sock.send(top)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 140, in get_all_attendance_from_device
conn = zk.connect()
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 373, in connect
cmd_response = self.__send_command(const.CMD_CONNECT)
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 260, in __send_command
raise ZKNetworkError(str(e))
zk.exception.ZKNetworkError: [Errno 32] Broken pipe
2025-01-13 15:33:30,847 ERROR exception when calling pull_process_and_push_data function for device{"device_id": "Usine", "ip": "192.168.1.201", "punch_direction": null, "clear_from_device_on_fetch": false}
Traceback (most recent call last):
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 248, in __send_command
self.__sock.send(top)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 140, in get_all_attendance_from_device
conn = zk.connect()
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 373, in connect
cmd_response = self.__send_command(const.CMD_CONNECT)
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/venv/lib/python3.10/site-packages/zk/base.py", line 260, in __send_command
raise ZKNetworkError(str(e))
zk.exception.ZKNetworkError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 53, in main
pull_process_and_push_data(device, device_attendance_logs)
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 80, in pull_process_and_push_data
device_attendance_logs = get_all_attendance_from_device(device['ip'], device_id=device['device_id'], clear_from_device_on_fetch=device['clear_from_device_on_fetch'])
File "/opt/bench/frappe-bench/biometric-attendance-sync-tool/erpnext_sync.py", line 161, in get_all_attendance_from_device
raise Exception('Device fetch failed.')
Exception: Device fetch failed.
The text was updated successfully, but these errors were encountered: