GauravSahu / hr_biometric_machine

Biometric Device Integration - Odoo
62 stars 113 forks source link

zk.connect() always return false #18

Open not-mounam opened 7 years ago

not-mounam commented 7 years ago

after installing zklib with (pip install zklib), connect() always return false .even when I ping 192.168.1.201 I receive replies

import sys import time from zklib import zklib, zkconst zk=zklib.ZKLib("192.168.1.201", 4370) print zk.connect() False

and also when I tried version()

import sys import time
from zklib import zklib, zkconst zk=zklib.ZKLib("192.168.1.201", 4370) print zk.version() Traceback (most recent call last): File "", line 1, in File "build/bdist.linux-i686/egg/zklib/zklib.py", line 102, in version File "build/bdist.linux-i686/egg/zklib/zkversion.py", line 12, in zkversion AttributeError: ZKLib instance has no attribute 'data_recv'

Daya8912 commented 7 years ago

I have the same problem, any solution?

ghost commented 6 years ago

Same problem, i cannot connect yo my zk through python, but i can by using the original software

maysaa commented 5 years ago

@GauravSahu any solution for this problem plz?

GauravSahu commented 5 years ago

Could you please share your device model no.

Gaurav

On Wed, 3 Oct 2018 at 12:18 PM, MaysaaSafadi notifications@github.com wrote:

@GauravSahu https://github.com/GauravSahu any solution for this problem plz?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/GauravSahu/hr_biometric_machine/issues/18#issuecomment-426529619, or mute the thread https://github.com/notifications/unsubscribe-auth/AFH9YGIl8bEAoE5kZAMVNp99llsxx_1nks5uhF3VgaJpZM4NI7wu .

-- Gaurav Sahu Phone : +919873617377

maysaa commented 5 years ago

@GauravSahu I have tow devices:

jardas commented 5 years ago

I have the same problem with ZKTeco C3-400, always only False after zk.connect()

juanro619 commented 5 years ago

same problem with zteco sf200, Could be a protocol problem?

Manibandaru commented 4 years ago

Could you people able to solve the issue?

Ashishkhiunju commented 1 year ago

having same issue for k40 ..please can any one help

Ashishkhiunju commented 1 year ago

Could you people able to solve the issue?

sir did you solved this issue??

rmzprogramming commented 1 year ago

the problem because of the library wrote on Python2 not Python3.