django-q icon indicating copy to clipboard operation
django-q copied to clipboard

pickle error while running qcluster in macos

Open Javedgouri opened this issue 4 years ago • 4 comments

_pickle.PicklingError: Can't pickle <class 'boto3.resources.factory.sqs.ServiceResource'>: attribute lookup sqs.ServiceResource on boto3.resources.factory failed

Javedgouri avatar Oct 29 '20 15:10 Javedgouri

@Javedgouri What version are you using? Can you please re-test with v1.3.4 if you're using and older version.

ihuk avatar Nov 02 '20 18:11 ihuk

@ihuk using 1.3+ still have this error

r0b1n1sl4m avatar Jun 06 '21 09:06 r0b1n1sl4m

What broker are you using? Any other info (Python version, django-q version etc.) I could use to reproduce the problem?

ihuk avatar Jul 06 '21 14:07 ihuk

Hi there, I'm experiencing a similar issue where I'm getting

_pickle.PicklingError: Can't pickle <class 'unittest.mock.MagicMock'>: it's not the same object as unittest.mock.MagicMock

when passing MagickMock objects (from unittest.mock) as arguments on async_task call.

I'm currently using python 3.6.15, Django 3.1 and Django-Q 1.3.7

Any helps on that matter would be really appreciated

brdacost avatar Jul 26 '22 19:07 brdacost