Dear Galaxy Team.
I installed Galaxy on company server for integrating with our services. And
I found some problem in uploading files via API.
I tried to upload file from local folder and it works well. But, then I
tried to upload file from remote server it throws next exception:
194.226.177.176 - - [21/May/2012:12:38:51 +0200] "POST
/api/user/adm/upload?key=71edcbdb2b91c9b2c1125775804d2093 HT
TP/1.1" 500 - "-" "Python-urllib/2.6"
----------------------------------------
Exception happened during processing of request from ('194.226.177.176',
29682)
Traceback (most recent call last):
File
"/data/dat0/galaxy-dist-back/eggs/Paste-1.6-py2.6.egg/paste/httpserver.py", line
1053, in process_request_in
_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.6/SocketServer.py", line 322, in
finish_request
self.RequestHandlerClass(request, client_address,
self)
File "/usr/lib/python2.6/SocketServer.py", line 618, in
__init__
self.finish()
File "/usr/lib/python2.6/SocketServer.py", line 661, in finish
self.wfile.flush()
File "/usr/lib/python2.6/socket.py", line 297, in flush
self._sock.sendall(buffer(data, write_offset,
buffer_size))
error: [Errno 32] Broken pipe
----------------------------------------
Browsing libraries from remote server works well.
Please help me to resolve this problem.
In attach: archive with debug message, controller class for processing
uploading, buidapp.py, wsgi config file and script for request upload
file.
Server A contains: uploading file, upload_file.py and Galaxy api
Server B contains: Galaxy service, upload.py, buildapp.py, wsgi config
file
Best regards,
Nikolay