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

PC上生成ipk时出错 #61

Closed
pangys opened this issue Jun 7, 2016 · 1 comment
Closed

PC上生成ipk时出错 #61

pangys opened this issue Jun 7, 2016 · 1 comment

Comments

@pangys
Copy link

pangys commented Jun 7, 2016

python 3.5.1,Win7 SP1 64bit,执行“python swjsq.py”后出现以下错误

Warning: pycrypto not found, use pure-python implemention
Traceback (most recent call last):
File "swjsq.py", line 559, in
fast_d1ck(uid, hashlib.md5(pwd).hexdigest(), TYPE_NORMAL_ACCOUNT)
File "swjsq.py", line 260, in fast_d1ck
dt, _payload = login_xunlei(uname, pwd, login_type)
File "swjsq.py", line 176, in login_xunlei
fake_device_id = hashlib.md5("%s23333" % pwd_md5).hexdigest() # just generate a 32bit string
TypeError: Unicode-objects must be encoded before hashing

fffonion added a commit that referenced this issue Jun 7, 2016
@fffonion
Copy link
Owner

fffonion commented Jun 7, 2016

感谢汇报问题,请尝试 223719c

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

2 participants