{"action":"created","issue":{"url":"https://api.github.com/repos/wooey/Wooey/issues/218","repository_url":"https://api.github.com/repos/wooey/Wooey","labels_url":"https://api.github.com/repos/wooey/Wooey/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/wooey/Wooey/issues/218/comments","events_url":"https://api.github.com/repos/wooey/Wooey/issues/218/events","html_url":"https://github.com/wooey/Wooey/issues/218","id":302915891,"number":218,"title":"Jobs stuck on 'waiting' on Windows","user":{"login":"luisdelatorre012","id":22718982,"avatar_url":"https://avatars3.githubusercontent.com/u/22718982?v=4","gravatar_id":"","url":"https://api.github.com/users/luisdelatorre012","html_url":"https://github.com/luisdelatorre012","followers_url":"https://api.github.com/users/luisdelatorre012/followers","following_url":"https://api.github.com/users/luisdelatorre012/following{/other_user}","gists_url":"https://api.github.com/users/luisdelatorre012/gists{/gist_id}","starred_url":"https://api.github.com/users/luisdelatorre012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisdelatorre012/subscriptions","organizations_url":"https://api.github.com/users/luisdelatorre012/orgs","repos_url":"https://api.github.com/users/luisdelatorre012/repos","events_url":"https://api.github.com/users/luisdelatorre012/events{/privacy}","received_events_url":"https://api.github.com/users/luisdelatorre012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-07T00:07:06Z","updated_at":"2018-03-07T16:45:35Z","closed_at":null,"author_association":"NONE","body":"I'm trying to use Wooey on Windows. I'm running Wooey through a Procfile containing\r\n\r\n```\r\nweb:  python manage.py runserver\r\nworker: python manage.py celery worker -c 1 -l info\r\nEOM\r\n```\r\n\r\nWhen I submit a job, the results page is stuck on 'Waiting' and nothing loads in the console.\r\n\r\nI'm getting a constant stream of output from the console that I've included below.\r\n\r\nThis repeats indefinitely, with the worker name changing from `Worker 1` to `Worker n` for various n.\r\n\r\n\r\n```\r\nC:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\lib\\site-p\r\nackages\\celery\\apps\\worker.py:161: CDeprecationWarning:\r\nStarting from version 3.2 Celery will refuse to accept pickle by default.\r\n\r\nThe pickle serializer is a security concern as it may give attackers\r\nthe ability to execute any command.  It's important to secure\r\nyour broker from unauthorized access when using pickle, so we think\r\nthat enabling pickle should require a deliberate action and not be\r\nthe default choice.\r\n\r\nIf you depend on pickle then you should set a setting to disable this\r\nwarning and to be sure that everything will continue working\r\nwhen you upgrade to Celery 3.2::\r\n\r\n    CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']\r\n\r\nYou must only enable the serializers that you will actually use.\r\n\r\n\r\n  warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))\r\n\r\n[2018-03-06 16:01:50,366: WARNING/MainProcess] C:\\Users\\chq-k2einstall\\AppData\\L\r\nocal\\Continuum\\miniconda3\\envs\\wooey\\lib\\site-packages\\celery\\apps\\worker.py:161\r\n: CDeprecationWarning:\r\nStarting from version 3.2 Celery will refuse to accept pickle by default.\r\n\r\nThe pickle serializer is a security concern as it may give attackers\r\nthe ability to execute any command.  It's important to secure\r\nyour broker from unauthorized access when using pickle, so we think\r\nthat enabling pickle should require a deliberate action and not be\r\nthe default choice.\r\n\r\nIf you depend on pickle then you should set a setting to disable this\r\nwarning and to be sure that everything will continue working\r\nwhen you upgrade to Celery 3.2::\r\n\r\n    CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']\r\n\r\nYou must only enable the serializers that you will actually use.\r\n\r\n\r\n  warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))\r\n\r\n\r\n -------------- celery@chq-llama-de3 v3.1.25 (Cipater)\r\n---- **** -----\r\n--- * ***  * -- Windows-2012ServerR2-6.3.9600-SP0\r\n-- * - **** ---\r\n- ** ---------- [config]\r\n- ** ---------- .> app:         default:0x7a3b67d630 (.default.Loader)\r\n- ** ---------- .> transport:   django://localhost//\r\n- ** ---------- .> results:\r\n- *** --- * --- .> concurrency: 1 (prefork)\r\n-- ******* ----\r\n--- ***** ----- [queues]\r\n -------------- .> celery           exchange=celery(direct) key=celery\r\n\r\n\r\n[tasks]\r\n  . CogSolver.wooey_celery_app.debug_task\r\n  . wooey.tasks.WooeyTask\r\n  . wooey.tasks.cleanup_wooey_jobs\r\n  . wooey.tasks.submit_script\r\n\r\n[2018-03-06 16:01:50,678: INFO/MainProcess] Connected to django://localhost//\r\n[2018-03-06 16:01:50,709: WARNING/MainProcess] celery@chq-llama-de3 ready.\r\n[2018-03-06 16:01:51,320: INFO/Worker-1] child process 15744 calling self.run()\r\n[2018-03-06 16:01:51,526: ERROR/Worker-1] Process Worker-1\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 323, in __get__\r\n    return obj.__dict__[self.__name__]\r\nKeyError: 'backend'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\process.py\", line 292, in _bootstrap\r\n    self.run()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\pool.py\", line 292, in run\r\n    self.after_fork()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\pool.py\", line 395, in after_fork\r\n    self.initializer(*self.initargs)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\concurrency\\prefork.py\", line 81, in process_initializer\r\n    app=app)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\trace.py\", line 161, in build_tracer\r\n    backend = task.backend\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\task.py\", line 938, in backend\r\n    return self.app.backend\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 325, in __get__\r\n    value = obj.__dict__[self.__name__] = self.__get(obj)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\base.py\", line 634, in backend\r\n    return self._get_backend()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\base.py\", line 444, in _get_backend\r\n    self.loader)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\backends\\__init__.py\", line 68, in get_backend_by_url\r\n    return get_backend_cls(backend, loader), url\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\backends\\__init__.py\", line 49, in get_backend_cls\r\n    cls = symbol_by_name(backend, aliases)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 96, in symbol_by_name\r\n    module = imp(module_name, package=package, **kwargs)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\importlib\\__init__.py\", line 126, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\djcelery\\backends\\database.py\", line 11, in <module>\r\n    from ..models import TaskMeta, TaskSetMeta\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\djcelery\\models.py\", line 30, in <module>\r\n    class TaskMeta(models.Model):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\db\\models\\base.py\", line 94, in __new__\r\n    app_config = apps.get_containing_app_config(module)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\apps\\registry.py\", line 239, in get_containing_app_config\r\n\r\n    self.check_apps_ready()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\apps\\registry.py\", line 124, in check_apps_ready\r\n    raise AppRegistryNotReady(\"Apps aren't loaded yet.\")\r\ndjango.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.\r\n[2018-03-06 16:01:51,526: ERROR/Worker-1] Process Worker-1\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 323, in __get__\r\n    return obj.__dict__[self.__name__]\r\nKeyError: 'backend'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\process.py\", line 292, in _bootstrap\r\n    self.run()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\pool.py\", line 292, in run\r\n    self.after_fork()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\billiard\\pool.py\", line 395, in after_fork\r\n    self.initializer(*self.initargs)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\concurrency\\prefork.py\", line 81, in process_initializer\r\n    app=app)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\trace.py\", line 161, in build_tracer\r\n    backend = task.backend\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\task.py\", line 938, in backend\r\n    return self.app.backend\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 325, in __get__\r\n    value = obj.__dict__[self.__name__] = self.__get(obj)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\base.py\", line 634, in backend\r\n    return self._get_backend()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\app\\base.py\", line 444, in _get_backend\r\n    self.loader)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\backends\\__init__.py\", line 68, in get_backend_by_url\r\n    return get_backend_cls(backend, loader), url\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\celery\\backends\\__init__.py\", line 49, in get_backend_cls\r\n    cls = symbol_by_name(backend, aliases)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\kombu\\utils\\__init__.py\", line 96, in symbol_by_name\r\n    module = imp(module_name, package=package, **kwargs)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\importlib\\__init__.py\", line 126, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\djcelery\\backends\\database.py\", line 11, in <module>\r\n    from ..models import TaskMeta, TaskSetMeta\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\djcelery\\models.py\", line 30, in <module>\r\n    class TaskMeta(models.Model):\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\db\\models\\base.py\", line 94, in __new__\r\n    app_config = apps.get_containing_app_config(module)\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\apps\\registry.py\", line 239, in get_containing_app_config\r\n\r\n    self.check_apps_ready()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\apps\\registry.py\", line 124, in check_apps_ready\r\n    raise AppRegistryNotReady(\"Apps aren't loaded yet.\")\r\ndjango.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.\r\n[2018-03-06 16:01:51,664: ERROR/MainProcess] Process 'Worker-1' pid:15744 exited\r\n with 'exitcode 1'\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wooey/Wooey/issues/comments/371201936","html_url":"https://github.com/wooey/Wooey/issues/218#issuecomment-371201936","issue_url":"https://api.github.com/repos/wooey/Wooey/issues/218","id":371201936,"user":{"login":"Chris7","id":963909,"avatar_url":"https://avatars2.githubusercontent.com/u/963909?v=4","gravatar_id":"","url":"https://api.github.com/users/Chris7","html_url":"https://github.com/Chris7","followers_url":"https://api.github.com/users/Chris7/followers","following_url":"https://api.github.com/users/Chris7/following{/other_user}","gists_url":"https://api.github.com/users/Chris7/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris7/subscriptions","organizations_url":"https://api.github.com/users/Chris7/orgs","repos_url":"https://api.github.com/users/Chris7/repos","events_url":"https://api.github.com/users/Chris7/events{/privacy}","received_events_url":"https://api.github.com/users/Chris7/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T16:45:35Z","updated_at":"2018-03-07T16:45:35Z","author_association":"OWNER","body":"I think the problem is this:\r\n```\r\n   self.check_apps_ready()\r\n  File \"C:\\Users\\chq-k2einstall\\AppData\\Local\\Continuum\\miniconda3\\envs\\wooey\\li\r\nb\\site-packages\\django\\apps\\registry.py\", line 124, in check_apps_ready\r\n    raise AppRegistryNotReady(\"Apps aren't loaded yet.\")\r\ndjango.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.\r\n```\r\nCan you provide your settings?"}}
{"actor":{"display_login":"Chris7"}}