#26004: Invalid app-name in INSTALLED_APPS leads to AppRegistryNotReady when testing ------------------------------+-------------------------------------- Reporter: HM | Owner: nobody Type: Bug | Status: closed Component: Core (Other) | Version: 1.8 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 * needs_better_patch: => 0 * component: Uncategorized => Core (Other) * needs_tests: => 0 * version: 1.9 => 1.8 * type: Uncategorized => Bug * needs_docs: => 0 * resolution: => needsinfo Comment: I can't reproduce this given the details you provided. Could you provide a sample project to reproduce it and reopen the ticket? Here's the traceback I see: {{{ Traceback (most recent call last): File "runtests.py", line 11, in <module> setup() File "/home/tim/code/django/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/home/tim/code/django/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/home/tim/code/django/django/apps/config.py", line 86, in create module = import_module(entry) File "/home/tim/.virtualenvs/django351/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked ImportError: No module named 'xxx' }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26004#comment:1> Django <https://code.djangoproject.com/> 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/060.f2ffef55609e73d25c965f93efd68260%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.