Open narayanapk opened 6 years ago
It looks to be older version (and possibly files from two different versions mixed up?). Can you update to latest release (4.8.7) and try?
Nope. Not caused by Version mixup. Here is what I have found out. The instance lost its attribute ( while pickling and unpickling I guess) cause it never included in "getstate" function of class "DispyJob"
class _DispyJob_(object):
"""Internal use only.
"""
.....
def __getstate__(self):
state = {'uid': self.uid, 'hash': self.hash, 'compute_id': self.compute_id,
'_args': self._args if isinstance(self._args, str) else serialize(self._args),
'_kwargs': self._kwargs if isinstance(self._kwargs, str)
else serialize(self._kwargs),
'xfer_files': self.xfer_files, 'code': self.code, 'pinned': self.pinned}
return state
....
This actually resolved the issue.