Skip to content
New issue

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

zk.connect() always return false #18

Open
not-mounam opened this issue Apr 26, 2017 · 11 comments
Open

zk.connect() always return false #18

not-mounam opened this issue Apr 26, 2017 · 11 comments

Comments

@not-mounam
Copy link

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
Copy link

I have the same problem, any solution?

@ghost
Copy link

ghost commented Dec 13, 2017

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

@maysaa
Copy link

maysaa commented Oct 3, 2018

@GauravSahu any solution for this problem plz?

@GauravSahu
Copy link
Owner

GauravSahu commented Oct 3, 2018 via email

@maysaa
Copy link

maysaa commented Oct 3, 2018

@GauravSahu I have tow devices:

  • ZKTeco K30
  • ZKTeco uFace 302

@jardas
Copy link

jardas commented Apr 17, 2019

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

@juanro619
Copy link

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

@Manibandaru
Copy link

Could you people able to solve the issue?

@Ashishkhiunju
Copy link

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

@Ashishkhiunju
Copy link

Could you people able to solve the issue?

sir did you solved this issue??

@rmzprogramming
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants