Joblib crashes on the Parallel call line and this is the two last traces in the stack trace (other lines are just the call to Parallel and Main):
File "/home/zed/anaconda/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 519, in __call__
self.retrieve()
File "/home/zed/anaconda/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 450, in retrieve
raise exception_type(report)
TypeError: function takes exactly 5 arguments (1 given)
This happens after a while, the function that is being 'delayed' does indeed require 5 arguments and they are all supplied, since several jobs are executed successfully...
What could cause this/ how to debug this?