Comments (2)
celery -A config worker --loglevel=info
Traceback (most recent call last):
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/apps/config.py", line 235, in get_model
return self.models[model_name.lower()]
KeyError: 'user'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/auth/init.py", line 170, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/apps/registry.py", line 213, in get_model
return app_config.get_model(model_name, require_ready=require_ready)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/apps/config.py", line 237, in get_model
raise LookupError(
LookupError: App 'users' doesn't have a 'User' model.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/alexfuchs/opt/anaconda3/bin/celery", line 8, in
sys.exit(main())
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/main.py", line 15, in main
sys.exit(_main())
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/bin/celery.py", line 217, in main
return celery(auto_envvar_prefix="CELERY")
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/bin/base.py", line 134, in caller
return f(ctx, *args, **kwargs)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/bin/worker.py", line 343, in worker
worker = app.Worker(
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/worker/worker.py", line 94, in init
self.app.loader.init_worker()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/loaders/base.py", line 111, in init_worker
self.import_default_modules()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/loaders/base.py", line 105, in import_default_modules
raise response
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/utils/dispatch/signal.py", line 276, in send
response = receiver(signal=self, sender=sender, **named)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/fixups/django.py", line 82, in on_import_modules
self.worker_fixup.validate_models()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/fixups/django.py", line 120, in validate_models
self.django_setup()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/celery/fixups/django.py", line 116, in django_setup
django.setup()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/apps/registry.py", line 124, in populate
app_config.ready()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/admin/apps.py", line 27, in ready
self.module.autodiscover()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/admin/init.py", line 50, in autodiscover
autodiscover_modules("admin", register_to=site)
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/utils/module_loading.py", line 58, in autodiscover_modules
import_module("%s.%s" % (app_config.name, module_to_search))
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/auth/admin.py", line 6, in
from django.contrib.auth.forms import (
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/auth/forms.py", line 18, in
UserModel = get_user_model()
File "/Users/alexfuchs/opt/anaconda3/lib/python3.9/site-packages/django/contrib/auth/init.py", line 176, in get_user_model
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'users.User' that has not been installed
from customizable-gpt-chatbot.
please make an .env file and keep updated information as your need.
from customizable-gpt-chatbot.
Related Issues (15)
- Can't found the app HOT 8
- Question about db and os.env HOT 1
- issue installing pycurl HOT 4
- get_user_model HOT 3
- Mac question about Installation libcurl4-openssl-dev gcc libssl-dev -y HOT 3
- django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'users.User' that has not been installed HOT 1
- ValueError: Dependency on app with no migrations: users HOT 1
- Ui chat? HOT 13
- running but missing chatbot UI (seeing only the fastAPI/swagger on http://127.0.0.1:8000 HOT 1
- Screenshot with how works... HOT 11
- Has anyone gotten this up an running HOT 5
- Suggestion: Add API support HOT 1
- License type.
- How can i connect with flutter ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customizable-gpt-chatbot.