-
-
Save awaazde/a5cfd3d94fd4383739fa82e17a1e61e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(tenant-schemas-celery) anitya:test_app neil$ celery worker -A tenant_schemas_celery.test_app:app -l INFO | |
Traceback (most recent call last): | |
File "/usr/local/bin/celery", line 11, in <module> | |
sys.exit(main()) | |
File "/Library/Python/2.7/site-packages/celery/__main__.py", line 30, in main | |
main() | |
File "/Library/Python/2.7/site-packages/celery/bin/celery.py", line 81, in main | |
cmd.execute_from_commandline(argv) | |
File "/Library/Python/2.7/site-packages/celery/bin/celery.py", line 770, in execute_from_commandline | |
super(CeleryCommand, self).execute_from_commandline(argv))) | |
File "/Library/Python/2.7/site-packages/celery/bin/base.py", line 309, in execute_from_commandline | |
argv = self.setup_app_from_commandline(argv) | |
File "/Library/Python/2.7/site-packages/celery/bin/base.py", line 469, in setup_app_from_commandline | |
self.app = self.find_app(app) | |
File "/Library/Python/2.7/site-packages/celery/bin/base.py", line 489, in find_app | |
return find_app(app, symbol_by_name=self.symbol_by_name) | |
File "/Library/Python/2.7/site-packages/celery/app/utils.py", line 229, in find_app | |
sym = symbol_by_name(app, imp=imp) | |
File "/Library/Python/2.7/site-packages/celery/bin/base.py", line 492, in symbol_by_name | |
return symbol_by_name(name, imp=imp) | |
File "/Library/Python/2.7/site-packages/kombu/utils/__init__.py", line 96, in symbol_by_name | |
module = imp(module_name, package=package, **kwargs) | |
File "/Library/Python/2.7/site-packages/celery/utils/imports.py", line 101, in import_from_cwd | |
return imp(module, package=package) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module | |
__import__(name) | |
ImportError: No module named tenant_schemas_celery.test_app | |
(tenant-schemas-celery) anitya:test_app neil$ env | grep DJANOG | |
(tenant-schemas-celery) anitya:test_app neil$ env | grep DJANGO | |
DJANGO_SETTINGS_MODULE=test_app.settings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment