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
frommcipc.queryimportClientdeftest(ip, Qport):
withClient(str(ip), int(Qport), timeout=1) ass:
stat=s.stats(full=True)
print(stat)
test("The Ip Address", "The Qport")
I get this error:
Traceback (most recent call last):
File "/home/###/Desktop/server/client.py", line 9, in<module>test()
File "/home/###/Desktop/server/client.py", line 4, intest
with Client("###", ###, timeout=1) as s:
File "/home/###/.local/lib/python3.9/site-packages/mcipc/query/client.py", line 59, in __enter__
self.connect()
File "/home/###/.local/lib/python3.9/site-packages/mcipc/query/client.py", line 51, in connect
self.challenge_token = self.handshake()
File "/home/###/.local/lib/python3.9/site-packages/mcipc/query/client.py", line 87, in handshake
response = Response.read(file)
File "/usr/local/lib/python3.9/typing.py", line 693, in __getattr__
return getattr(self.__origin__, attr)
AttributeError: '_SpecialForm' object has no attribute 'read'
But this doesn't happend on windows 10 (pro).. Python instal is 3.9
The text was updated successfully, but these errors were encountered:
Every time i use mcipc on ubuntu:
I get this error:
But this doesn't happend on windows 10 (pro).. Python instal is 3.9
The text was updated successfully, but these errors were encountered: