Skip to content

BrokenPipeError from /cgi-bin/load_counts.py  #20

@AntonJMLarsson

Description

@AntonJMLarsson

Hi,

I'm trying to get the SPRING web interface to work offline. But when I try to load the gene counts I come across a BrokenPipeError. What can be the cause of this? Using python2.7 and MacOS.

Regards,

Anton

python2.7 -m CGIHTTPServer 8000
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /springViewer_1_6_dev.html?datasets/pbmc4k/full HTTP/1.1” 200 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /scripts_1_6_dev/text_annotations.js HTTP/1.1" 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /datasets/pbmc4k/full/mutability.txt HTTP/1.1” 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] “POST /cgi-bin/load_counts.py HTTP/1.1" 200 -
Exception ignored in: <_io.TextIOWrapper name=‘’ mode=‘w’ encoding=‘UTF-8’>
BrokenPipeError: [Errno 32] Broken pipe

Exception happened during processing of request from (‘127.0.0.1’, 60592)
Traceback (most recent call last):
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py”, line 295, in _handle_request_noblock
self.process_request(request, client_address)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py”, line 321, in process_request
self.finish_request(request, client_address)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py”, line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py”, line 655, in init
self.handle()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py”, line 340, in handle
self.handle_one_request()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py”, line 328, in handle_one_request
method()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/CGIHTTPServer.py”, line 62, in do_POST
self.run_cgi()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/CGIHTTPServer.py”, line 239, in run_cgi
if not self.rfile.read(1):
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py”, line 384, in read
data = self._sock.recv(left)
error: [Errno 54] Connection reset by peer

127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /stuff/colorpicker_images/custom_hsb_b.png HTTP/1.1" 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /stuff/colorpicker_images/custom_hsb_s.png HTTP/1.1” 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /stuff/colorpicker_images/custom_hsb_h.png HTTP/1.1" 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /datasets/pbmc4k/full/animation.txt HTTP/1.1” 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /datasets/pbmc4k/full/clone_map.json?=1582543421216 HTTP/1.1" 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /datasets/pbmc4k/full/sticky_notes_data.json HTTP/1.1” 404 -
127.0.0.1 - - [24/Feb/2020 12:23:41] code 404, message File not found
127.0.0.1 - - [24/Feb/2020 12:23:41] “GET /datasets/pbmc4k/full/PAGA_data.json?
=1582543421219 HTTP/1.1" 404 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions