Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install, creating first text, got "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet." exception #44

Open
jzohrab opened this issue Oct 26, 2022 · 1 comment

Comments

@jzohrab
Copy link

jzohrab commented Oct 26, 2022

Issue not opened before. Just cloned the repo today.

Paste the Debug page
debug pastebin

Start of the error message

RemoteError at /text_detail/
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/managers.py", line 245, in serve_client
    request = recv()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 256, in recv
    return _ForkingPickler.loads(buf.getbuffer())
  File "/Users/jeff/Documents/Languages/LingL/lwt/views/__init__.py", line 5, in <module>
    from lwt.views.homepage import *
  File "/Users/jeff/Documents/Languages/LingL/lwt/views/homepage.py", line 21, in <module>
    from lwt.models import *
  File "/Users/jeff/Documents/Languages/LingL/lwt/models.py", line 26, in <module>
    from django.contrib.auth.models import AbstractUser, UserManager
  File "/Users/jeff/Documents/Languages/LingL/.venv/lib/python3.9/site-packages/django/contrib/auth/models.py", line 3, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/Users/jeff/Documents/Languages/LingL/.venv/lib/python3.9/site-packages/django/contrib/auth/base_user.py", line 48, in <module>
    class AbstractBaseUser(models.Model):
  File "/Users/jeff/Documents/Languages/LingL/.venv/lib/python3.9/site-packages/django/db/models/base.py", line 108, in __new__
    app_config = apps.get_containing_app_config(module)
  File "/Users/jeff/Documents/Languages/LingL/.venv/lib/python3.9/site-packages/django/apps/registry.py", line 253, in get_containing_app_config
    self.check_apps_ready()
  File "/Users/jeff/Documents/Languages/LingL/.venv/lib/python3.9/site-packages/django/apps/registry.py", line 136, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

The app was running fine before I created my initial text.

Thank you! I haven't moved to a new screen, I'll see if the text has somehow been processed anyway. Cheers! jz

@jzohrab
Copy link
Author

jzohrab commented Oct 26, 2022

fyi, I went back to the homepage, and the text had indeed been imported and was ready to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant