AllonKleinLab / SPRING_dev

65 stars 33 forks source link

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

Open AntonJMLarsson opened 4 years ago

AntonJMLarsson commented 4 years ago

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/clonemap.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/PAGAdata.json?=1582543421219 HTTP/1.1" 404 -

calebweinreb commented 4 years ago

Hi,

It's hard to see what's going wrong from the traceback. Can you send me over email (calebsw@gmail.com):

Thanks! Caleb

On Mon, Feb 24, 2020 at 6:30 AM AntonJMLarsson notifications@github.com wrote:

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 -

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllonKleinLab/SPRING_dev/issues/20?email_source=notifications&email_token=ABO45MUOMBQQQNCMS3M66ELREOVT7A5CNFSM4K2GMYN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPWNIUQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO45MQWVUVQZB6V7CTYTGTREOVT7ANCNFSM4K2GMYNQ .