Regarding the segfault it's likely related to this: https://code.djangoproject.com/ticket/24080
A bug in sqlite. On Thursday, 1 December 2016 20:39:26 UTC+11, Vimarsh Chaturvedi wrote: > > Hey guys, > > My first time posting here. > I downloaded the Django source code and I was going through the > instructions given in "Writing your first patch for Django" > <https://docs.djangoproject.com/en/1.10/intro/contributing/#writing-your-first-patch-for-django> > . > I am working with Python 2. So, I installed packages via the py2.txt in > the requirements directory. > > So, first with the possible bug. > So, the documentation says, after your done with the installation run: > > ./runtests.py > > which gave me the following error: > *ImportError: No module named django* > > The README inside the tests directory says to run: > > PYTHONPATH=..:$PYTHONPATH ./runtests.py > > This command didn't give any error and the tests started running. > So, Is this a bug in the documentation, or is there something I'm missing? > > Moving on to the segmentation. > I run the test suite thrice. The first time it gave a seg fault w/o > running any tests the other two times it gave the same error after running > about 3k - 4k tests. > The exact error is: > > *16858 segmentation fault PYTHONPATH=..:$PYTHONPATH ./runtests.py* > > Can any one help with this? > Is this because I'm running Python 2.x and not Python 3? > > > Thanks > > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/817d5562-fc05-4654-9976-634baef76b42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.