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

FIXME: TypeError: md5() argument 1 must be string or read-only buffer, not bytearray #18

Open
ld opened this issue Mar 27, 2013 · 2 comments

Comments

@ld
Copy link

ld commented Mar 27, 2013

QQ:******
PASSWD:
Traceback (most recent call last):
File "xfdown.py", line 114, in
xf = XF()
File "/home/ldong/xfdown/xfdown_api.py", line 171, in init
self.__Login(True)
File "/home/ldong/xfdown/xfdown_api.py", line 374, in __Login
self.__verifycode
File "/home/ldong/xfdown/xfdown_api.py", line 142, in __preprocess
H = self.__md5(I + verifycode[2])
File "/home/ldong/xfdown/xfdown_api.py", line 153, in __md5
return hashlib.md5(item).hexdigest().upper()
TypeError: md5() argument 1 must be string or read-only buffer, not bytearray

@ld
Copy link
Author

ld commented Mar 27, 2013

Running Environment: PYTHON2.6
Urwid is installed.

@ld ld closed this as completed Mar 27, 2013
@ld ld reopened this Mar 27, 2013
@shinvdu
Copy link

shinvdu commented Apr 17, 2013

是上面的环境也有这个问题

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