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 run mcpi-scratch.py on my windows 10 computer,and got this error
if message = '\r\n'.join(message_parts)
if add str to message = '\r\n'.join(str(message_parts))
i could not get it work either, i love you project and your work and want to help, i do not know how soon you could see my question
`D:\MinecraftServer>py -2 mcpi-scratch.py
INFO:main:Namespace(host=None)
INFO:main:Starting server, use to stop
DEBUG:main:poll: 1
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13
Exception happened during processing of request from ('127.0.0.1', 58809)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 655, in init
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "mcpi-scratch.py", line 296, in do_GET
message = '\r\n'.join(message_parts)
TypeError: sequence item 1: expected string, int found
DEBUG:main:poll: 2
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13
Exception happened during processing of request from ('127.0.0.1', 58811)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 655, in init
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "mcpi-scratch.py", line 296, in do_GET
message = '\r\n'.join(message_parts)
TypeError: sequence item 1: expected string, int found
DEBUG:main:poll: 3
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13`
The text was updated successfully, but these errors were encountered:
i run mcpi-scratch.py on my windows 10 computer,and got this error
if
message = '\r\n'.join(message_parts)
if add str to
message = '\r\n'.join(str(message_parts))
i could not get it work either, i love you project and your work and want to help, i do not know how soon you could see my question
`D:\MinecraftServer>py -2 mcpi-scratch.py
INFO:main:Namespace(host=None)
INFO:main:Starting server, use to stop
DEBUG:main:poll: 1
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13
Exception happened during processing of request from ('127.0.0.1', 58809)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 655, in init
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "mcpi-scratch.py", line 296, in do_GET
message = '\r\n'.join(message_parts)
TypeError: sequence item 1: expected string, int found
DEBUG:main:poll: 2
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13
Exception happened during processing of request from ('127.0.0.1', 58811)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 655, in init
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "mcpi-scratch.py", line 296, in do_GET
message = '\r\n'.join(message_parts)
TypeError: sequence item 1: expected string, int found
DEBUG:main:poll: 3
DEBUG:main:call mc
DEBUG:main:Vec3(13,4,1)
DEBUG:main:pollResp: 13`
The text was updated successfully, but these errors were encountered: