Thursday, June 30, 2016

Re: parallel test running throwing pickleError

Any progress made on this front? I'm seeing this too in a Django 1.9 app using python 2.7

On Monday, February 29, 2016 at 3:24:13 PM UTC-5, girish ramnani wrote:
Sorry i forgot to mention that, i have installed the tblib. this is my pip list output

Django (1.10.dev20160216200705, /home/girish/Documents/Github/django)
fancycompleter (0.4)
ordereddict (1.1)
pdbpp (0.8.3)
pip (8.0.3)
py (1.4.31)
Pygments (2.1.2)
pytest (2.8.7)
setuptools (18.2)
tblib (1.2.0)
wheel (0.24.0)
wmctrl (0.3)


On Monday, February 29, 2016 at 11:07:37 PM UTC+5:30, Simon Charette wrote:
Hi Girish,

I think you didn't to install the `tblib` package[1].

Cheers,
Simon

[1] https://docs.djangoproject.com/en/1.9/ref/django-admin/#cmdoption-test--parallel

Le lundi 29 février 2016 12:13:08 UTC-5, girish ramnani a écrit :
when running the django test in parallel using the runner.py .
_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleImportFailure'>: attribute lookup ModuleImportFailure on unittest.loader failed

error is thrown, and when the runner is run using a single process. the test suite executes.

I am using a new virtualenv with django installed in editable mode.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8eec5343-d145-439d-b210-b317552e9733%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment