Reply To: running penncontroller locally

PennController for IBEX Forums Support running penncontroller locally Reply To: running penncontroller locally

#8199
suleymanyaman
Participant

Hello,

Sorry for resurrecting an old thread. Is there anyone who is able to run their experiments with the current version of PciBex? I followed the instructions of mat646, and got the following python error in the terminal (Windows10). I only get the usual black loading screen when I go to http://localhost:3000/experiment.html after running server.py. Is there a solution for this?

—————————————-
Exception happened during processing of request from (‘127.0.0.1’, 62154)
Traceback (most recent call last):
File “C:\Python27\lib\SocketServer.py”, line 599, in process_request_thread
self.finish_request(request, client_address)
File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “server.py”, line 1770, in __init__
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
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 “server.py”, line 1824, in do_GET
self.do_either(‘GET’)
File “server.py”, line 1807, in do_either
body = control(env, start_response)
File “server.py”, line 1599, in control
return [dict_to_json(jsondict)]
File “C:\Python27\lib\json\__init__.py”, line 244, in dumps
return _default_encoder.encode(obj)
File “C:\Python27\lib\json\encoder.py”, line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File “C:\Python27\lib\json\encoder.py”, line 270, in iterencode
return _iterencode(o, 0)
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0x89 in position 0: invalid start byte

Has an