Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-30 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
-+-
 Reporter:  wide-awake   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.9b1
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by collinanderson):

 We could maybe print the traceback yet still have the program continue (in
 case there's a more specific error message later).

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.7e90f185dafcaa005272360556288f16%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-30 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
-+-
 Reporter:  wide-awake   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Management |  Version:  1.9b1
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * status:  closed => new
 * resolution:  invalid =>
 * type:  Uncategorized => Bug
 * component:  Uncategorized => Core (Management commands)
 * stage:  Unreviewed => Accepted


Comment:

 I've had this same error in one of my projects, and I'd like to reopen it
 because I think there is an exception swallowing which masks real errors.
 (was related to django-reversion in my case).
 With `runserver --noreload`, I'm getting the proper traceback which
 reveals the real problem, but without the `--noreload`, I'm getting the
 useless traceback mentioned by the reporter.

 The problem is with this exception catching:
 
https://github.com/django/django/blob/stable/1.9.x/django/core/management/__init__.py#L315-L317

 Frankly, I'd rather live with an autoreloader not restarting in case of
 syntax errors (#24704) than with exception swallowing.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.7df64a0927d4c1fae12e938cea78cd65%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * resolution:  needsinfo => invalid


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.0abd7c7606d7d7f8ec20711cb75fc4b6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by wide-awake):

 It's specifically Wagtail CMS package problem.
 Installing wagtail dev versions from github solved this error.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.9b168ac2ac932fa573aec495b8204c38%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by wide-awake):

 All my third part apps:

 {{{
 THIRD_PARTY_APPS = (
 'gunicorn',
 'opbeat.contrib.django',
 # Wagtail CMS
 'taggit',
 'compressor',
 'modelcluster',

 'wagtail.contrib.wagtailstyleguide',
 'wagtail.wagtailcore',
 'wagtail.wagtailadmin',
 'wagtail.wagtailsearch',
 'wagtail.wagtailimages',
 'wagtail.wagtaildocs',
 'wagtail.wagtailsnippets',
 'wagtail.wagtailusers',
 'wagtail.wagtailsites',
 'wagtail.wagtailembeds',
 'wagtail.wagtailredirects',
 'wagtail.wagtailforms',

 'wagtailforums',
 'wagtailmodeladmin',
 )
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.762f6d23c2aae1e930fb0dfdabcd2223%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by DheerendraRathor):

 I usually switch back and forth between 1.8.5 and 1.9b1 and never got this
 error. Is there any third party app you're using?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.5f9aab34290f31674e79a2cedb81910a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9 (was: AppRegistryNotReady Error)

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error upgrading from Django 1.8 to 1.9
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 The only thing that comes to mind is #25477 but that doesn't look relevant
 here.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.ae1fa2a23b76ba52f5c6f428c6492ebc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by wide-awake):

 Traceback is poor on details, so i just back to 1.8.5.
 Even if i could share project it won't work standalone.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.6fb94dd18ff7b4d4605ab2d9f91300b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 We'll need a sample project to reproduce the problem. It's not possible to
 help given what you provided so far. Thanks.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.2f4fec26155f538868749801c815476e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25634: AppRegistryNotReady Error

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error
---+--
 Reporter:  wide-awake |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Uncategorized  |  Version:  1.9b1
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by wide-awake):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> Migrating my project from 1.8.5 to 1.9b1 cause next traceback:
>

> {{{
> Traceback (most recent call last):
>   File "/Users/.../manage.py", line 10, in 
> execute_from_command_line(sys.argv)
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/core/management/__init__.py", line 350, in
> execute_from_command_line
> utility.execute()
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/core/management/__init__.py", line 342, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/core/management/__init__.py", line 176, in fetch_command
> commands = get_commands()
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/core/management/__init__.py", line 71, in get_commands
> for app_config in reversed(list(apps.get_app_configs())):
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/apps/registry.py", line 137, in get_app_configs
> self.check_apps_ready()
>   File "/Users/.../env3/lib/python3.5/site-
> packages/django/apps/registry.py", line 124, in check_apps_ready
> raise AppRegistryNotReady("Apps aren't loaded yet.")
> django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
>
> Process finished with exit code 1
>
> }}}

New description:

 Migrating my project from 1.8.5 to 1.9b1 cause next traceback, when
 running server:

 {{{
 Traceback (most recent call last):
   File "/Users/.../manage.py", line 10, in 
 execute_from_command_line(sys.argv)
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 350, in
 execute_from_command_line
 utility.execute()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 342, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 176, in fetch_command
 commands = get_commands()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 71, in get_commands
 for app_config in reversed(list(apps.get_app_configs())):
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/apps/registry.py", line 137, in get_app_configs
 self.check_apps_ready()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/apps/registry.py", line 124, in check_apps_ready
 raise AppRegistryNotReady("Apps aren't loaded yet.")
 django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

 Process finished with exit code 1

 }}}

 And my manage.py is pretty simple:

 {{{
 #!/usr/bin/env python
 import os
 import sys

 if __name__ == "__main__":
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.base")

 from django.core.management import execute_from_command_line

 execute_from_command_line(sys.argv)
 }}}

--

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.cc4e4bf924a095ff83edbdc84c2e8352%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25634: AppRegistryNotReady Error

2015-10-29 Thread Django
#25634: AppRegistryNotReady Error
---+
 Reporter:  wide-awake |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Uncategorized  |Version:  1.9b1
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 Migrating my project from 1.8.5 to 1.9b1 cause next traceback:


 {{{
 Traceback (most recent call last):
   File "/Users/.../manage.py", line 10, in 
 execute_from_command_line(sys.argv)
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 350, in
 execute_from_command_line
 utility.execute()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 342, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 176, in fetch_command
 commands = get_commands()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 71, in get_commands
 for app_config in reversed(list(apps.get_app_configs())):
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/apps/registry.py", line 137, in get_app_configs
 self.check_apps_ready()
   File "/Users/.../env3/lib/python3.5/site-
 packages/django/apps/registry.py", line 124, in check_apps_ready
 raise AppRegistryNotReady("Apps aren't loaded yet.")
 django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

 Process finished with exit code 1

 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.1025c097a7bc3c9400f917e14640f131%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.