Re: parallel test running throwing pickleError

2019-01-08 Thread komu wairagu
This can also occur if - you are running your tests in parallel (eg; python manage.py test --parallel=3`) - and there's an import error. In such a case; your test runner is unable to report the import error and instead reports a _pickle.PicklingError. This happens because of this bug(https://bu

Re: parallel test running throwing pickleError

2016-08-04 Thread Jonas Trappenberg
You can debug by adding code like this to django/test/runner.py just after it determined the args (around line 315 in django 1.9): import pickle for arg in args: print(arg) pickle.dumps(arg) I found that pickle raises the same exceptions as cPickle, but, since it's all Python, lets you

Re: parallel test running throwing pickleError

2016-07-01 Thread Tim Graham
A sample project to reproduce would be helpful. On Thursday, June 30, 2016 at 5:53:25 PM UTC-4, Harry Moreno wrote: > > 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: >> >> Sor

Re: parallel test running throwing pickleError

2016-06-30 Thread Harry Moreno
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

Re: parallel test running throwing pickleError

2016-02-29 Thread girish ramnani
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)

Re: parallel test running throwing pickleError

2016-02-29 Thread Simon Charette
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