Re: apps.populate deadlock

2016-01-27 Thread John Bazik
Following up, the discussion continued on other lists: https://groups.google.com/forum/#!topic/django-cms-developers/CNWHNviqS6Q https://groups.google.com/forum/#!topic/django-developers/YvEzdQU4qUU Problem ultimately resolved by a pending PR: https://github.com/django/django/pull/6044 John --

Re: apps.populate deadlock

2016-01-14 Thread John Bazik
Thanks Shai. I'm waiting for a comment from the django-cms people. John -- 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+unsubscr...@googlegroups.c

Re: apps.populate deadlock

2016-01-13 Thread Shai
Hi, On Wednesday, January 13, 2016 at 12:54:59 AM UTC+2, John Bazik wrote: > > Breaking it down: > >- Django.setup wants to load all apps, and calls apps.populate >- Django-cms plugins register themselves at load time >- Django-cms plugin registration involves loading templates > > I h

Re: apps.populate deadlock

2016-01-12 Thread James Schneider
Have you tried the Django dev mailing list? You're dealing with the deep internals of Django, the black magic of which us lowly end users take for granted. You may have better luck there, since they have a much better understanding of the gears and gizmos behind the scenes. -James On Jan 12, 2016

Re: apps.populate deadlock

2016-01-12 Thread John Bazik
Breaking it down: - Django.setup wants to load all apps, and calls apps.populate - Django-cms plugins register themselves at load time - Django-cms plugin registration involves loading templates - Django-multisite provides a template loader (for per-site templates) - Django-multisit

Re: apps.populate deadlock

2016-01-12 Thread John Bazik
Here's the actual traceback. John -- 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+unsubscr...@googlegroups.com. To post to this group, send email t

apps.populate deadlock

2016-01-12 Thread John Bazik
I'm porting a site from django 1.6 -> 1.8, and getting deadlock (no errors) at load time. The problem is that apps.populate is getting called twice and hanging on the lock. This is from executing "python manage.py help". There are lots of moving parts, but a trace shows something like this: