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

asking for help,thx #4

Closed
qchaha opened this issue Mar 13, 2018 · 3 comments
Closed

asking for help,thx #4

qchaha opened this issue Mar 13, 2018 · 3 comments
Labels

Comments

@qchaha
Copy link

qchaha commented Mar 13, 2018

hello,when i according to tutor,
client.handshake(protocol='rdp', hostname='localhost', port=3389)
it returns an error:
AttributeError: 'NoneType' object has no attribute 'endswith'

all logs output:

from guacamole.client import GuacamoleClient
client = GuacamoleClient('127.0.0.1', 4822)
client.handshake(protocol='rdp', hostname='localhost', port=3389)
Traceback (most recent call last):
File "", line 1, in
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/client.py", line 159, in handshake
instruction = self.read_instruction()
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/client.py", line 127, in read_instruction
return Instruction.load(self.receive())
File "/root/py/integrate-server/flask/lib/python3.6/site-packages/guacamole/instruction.py", line 69, in load
if not instruction.endswith(INST_TERM):
AttributeError: 'NoneType' object has no attribute 'endswith'


thx for your help.

@qchaha
Copy link
Author

qchaha commented Mar 14, 2018

oh,i am figure out that,i met that error due to guacamole's version,and i am updating to lastest,it's ok! thx !

@nyakase
Copy link

nyakase commented Jun 26, 2019

are you going to close this now?

@mohabusama
Copy link
Owner

Closing as it seems to be resolved.

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

No branches or pull requests

3 participants