PennController for IBEX › Forums › Support › running penncontroller locally › Reply To: running penncontroller locally
![](https://www.pcibex.net/wp-content/uploads/2019/04/ibex-2-150x150.png)
Hi Jeremy,
wow, thanks so much for the detailed response! Unfortunately neither of these solutions worked for me. The first one (for mac) keeps spitting out this error in the terminal running the server.py:
127.0.0.1 - - [26/Mar/2019 16:35:10] "GET /picture.jpg HTTP/1.1" 404 -
I don’t know what it means, but it seems to not be able to connect to the local server (I saved all the pictures to /Library/WebServer/Documents/)
The experiment runs fine otherwise and goes through all items, it just doesnt show any of the pictures.
The second solution, working on a windows, seems to be even trickier, since the experiment doesn’t run at all, it gets stuck trying to load the images. the output of server.py shows a lot of stuff that I (again) have no idea what it means:
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /experiment.html HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /jquery.min.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /jquery-ui.min.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /jsDump.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /PluginDetect.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /server.py?include=serverinfo_js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /shuffle.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /json.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /soundmanager2-jsmin.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /backcompatcruft.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /server.py?include=data HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /conf.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:02] "GET /server.py?include=js HTTP/1.1" 200 -
../css_includes127.0.0.1 - - [26/Mar/2019 15:32:03] "GET /server.py?include=main.js HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:03] "GET /server.py?include=css HTTP/1.1" 200 -
127.0.0.1 - - [26/Mar/2019 15:32:03] "GET /util.js HTTP/1.1" 200 -
--------------------------------------------------------------------------------
Exception happened during processing of request fromException happened during processing of request from ( ----------------------------------------'1
27.0.0.(1'Exception happened during processing of request from', 127.0.0.1'50483(', 12----------------------------------------7.0.0.1'
), 50484Exception happened during processing of request from
50485T)raceback (most recent call last):
)
File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
(Traceback (most recent call last):
'T1raceback (most recent call last):
2 7 File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
. 0 File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
. 0 self.finish_request(request, client_address)
. 1 self.finish_request(request, client_address)
' , self.finish_request(request, client_address)
50486 ) File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
self.RequestHandlerClass(request, client_address, self)
Traceback (most recent call last):
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
- File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
---------------------------------------
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
E xception happened during processing of request from SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
( self.finish_request(request, client_address)
'1 2 File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
7 . self.RequestHandlerClass(request, client_address, self)
0 . File "C:\Python27\lib\SocketServer.py", line 655, in __init__
0 . SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
1 ' self.handle()
- ---------------------------------------, File "C:\Python27\lib\SocketServer.py", line 655, in __init__
50487 File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
E xception happened during processing of request from File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
() self.RequestHandlerClass(request, client_address, self)
' 1 self.handle()
2 SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
7 . self.handle_one_request()
0 . File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
0 . File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
1T'raceback (most recent call last):
, 50488 self.handle_one_request()
)
File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
Traceback (most recent call last):
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 599, in process_request_thread
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
self.finish_request(request, client_address)
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
File "C:\Python27\lib\SocketServer.py", line 655, in __init__
File "C:\Python27\lib\SocketServer.py", line 655, in __init__
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
method()
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1829, in do_GET
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
File "C:\Python27\lib\SocketServer.py", line 655, in __init__
self.handle()
self.RequestHandlerClass(request, client_address, self)
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1829, in do_GET
self.do_either('GET')
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1813, in do_either
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1775, in __init__
self.do_either('GET')
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
assert response_type[0]
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "D:\ADMIN_Experiments\Ibex\ibex-master\www\server.py", line 1813, in do_either
self.handle()
File "C:\Python27\lib\SocketServer.py", line 655, in __init__
AssertionError
----------------------------------------
self.handle_one_request()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
assert response_type[0]
method()
self.handle()
File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
- method()
(This is just the first part of the output)
I really have no idea how to make this work, any help would be immensly appreciated!