My AA has been stable for quite some time until I tried installing this app. I'm sure it's an error I made on my side but since I am a bit green, I am looking for some assistance.
When I run the python migration, I get this error
ImportError: cannot import name 'Celery'
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/management/base.py", line 343, in run_from_argv
connections.close_all()
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/db/utils.py", line 232, in close_all
for alias in self:
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/db/utils.py", line 226, in iter
return iter(self.databases)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/db/utils.py", line 153, in databases
self._databases = settings.DATABASES
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/conf/init.py", line 82, in getattr
self._setup(name)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/conf/init.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/conf/init.py", line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/allianceserver/myauth/myauth/init.py", line 1, in
from .celery import app as celery_app
File "/home/allianceserver/myauth/myauth/celery.py", line 2, in
from celery import Celery
ImportError: cannot import name 'Celery'
During the installation, the app uninstalls celery 3.0.19 and installs 4.4.7 which seems to be why I get this error. Do I have to change dependencies around?
Hey there,
My AA has been stable for quite some time until I tried installing this app. I'm sure it's an error I made on my side but since I am a bit green, I am looking for some assistance.
When I run the python migration, I get this error
ImportError: cannot import name 'Celery'
PIP LIST
During the installation, the app uninstalls celery 3.0.19 and installs 4.4.7 which seems to be why I get this error. Do I have to change dependencies around?