You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not master of python , modified this now can run under python3 ,
webkit_server.py line124:
raise NodeError, "Unselect not allowed."
changed to
raise NodeError("Unselect not allowed.")
the same line 401:
raise NoX11Error("Cannot connect to X. You can try running with xvfb-run.")
the same line 462:
raise NoResponseError("No response received from server.")
the same line 465:
raise InvalidResponseError(self._read_message())
the same line 484:
raise EndOfStreamError("Unexpected end of stream.")
line 399
self._port = int(re.search("port: (\d+)", output.decode()).group(1))
send bytes
line 454
self._sock.send(bytes(arg,'utf-8'))
line 502
self._sock.send(bytes(line + "\n",'utf-8'))#
recv decode
line 495
c = c.decode('utf-8')#
line 487
return b''.join(result)#
The text was updated successfully, but these errors were encountered:
in fact i am not good at about the transport problem about python2 to
python3. i will do the modification of the raise error part , but last
decode and encode and bytes and str problem , i am a little comfuse about
that so i will not modified.
I am not master of python , modified this now can run under python3 ,
webkit_server.py line124:
raise NodeError, "Unselect not allowed."
changed to
raise NodeError("Unselect not allowed.")
the same line 401:
raise NoX11Error("Cannot connect to X. You can try running with xvfb-run.")
the same line 462:
raise NoResponseError("No response received from server.")
the same line 465:
raise InvalidResponseError(self._read_message())
the same line 484:
raise EndOfStreamError("Unexpected end of stream.")
self._port = int(re.search("port: (\d+)", output.decode()).group(1))
line 454
self._sock.send(bytes(arg,'utf-8'))
line 502
self._sock.send(bytes(line + "\n",'utf-8'))#
line 495
c = c.decode('utf-8')#
return b''.join(result)#
The text was updated successfully, but these errors were encountered: