mohabusama / pyguacamole

Guacamole Python Client
MIT License
108 stars 34 forks source link

asking for help,thx #4

Closed qchaha closed 4 years ago

qchaha commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

are you going to close this now?

mohabusama commented 4 years ago

Closing as it seems to be resolved.