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

TypeError: 'in <string>' requires string as left operand, not bytes #5

Open
JoffreyN opened this issue Jan 3, 2019 · 0 comments
Open

Comments

@JoffreyN
Copy link

JoffreyN commented Jan 3, 2019

Traceback (most recent call last):
File "<pyshell#1>", line 1, in
print(conn.invoke(interface, method, param.encode('ascii')))
File "D:\Program Files\Python36\lib\site-packages\dubbo_telnet-1.0.1b3-py3.6.egg\dubbo_telnet_init_.py", line 84, in invoke
return self.do(cmd)
File "D:\Program Files\Python36\lib\site-packages\dubbo_telnet-1.0.1b3-py3.6.egg\dubbo_telnet_init_.py", line 65, in do
tn.write('\n')
File "D:\Program Files\Python36\lib\telnetlib.py", line 287, in write
if IAC in buffer:
TypeError: 'in ' requires string as left operand, not bytes

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

1 participant