I'm working on a script that uploads files and launchs workflows on
them, but I keep getting errors that appear more or less randomly when
the display() and submit() functions are called. In a nutshell, there is
a 1/3 chance the calls fail this way.
Nevertheless, the actions are properly triggered in Galaxy, surprisingly.
Here is an example:
When I launch a workflow, I get the following traceback even though the
workflow is properly executed:
File "automated_preprocessing.py", line 61, in expandFile
result = submit( api_key, api_url + 'workflows', wf_data,
File "common.py", line 100, in submit
r = post( api_key, url, data )
File "common.py", line 44, in post
return simplejson.loads( urllib2.urlopen( req ).read() )
line 329, in read
data = self._sock.recv(rbufsize)
line 518, in read
line 561, in _read_chunked
Failed to expand file A:
Type: <class 'httplib.IncompleteRead'>
IncompleteRead(118 bytes read)
Therefore, I cannot get the results within the script.
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at: