Comments (16)
hmm. could you try with:
$ python manage.py celeryd --settings=settings -l info
from django-celery.
$ python manage.py celeryd --settings=settings -l info
WARNING celery@Paul-PC v2.1.3 is starting.
WARNING c:\Python26\lib\site-packages\celery\apps\worker.py:110: UserWarning: U
sing settings.DEBUG leads to a memory leak, never use this setting in a producti
on environment!
warnings.warn("Using settings.DEBUG leads to a memory leak, "
WARNING Configuration ->
. broker -> amqp://guest@localhost:5672/
. queues ->
. celery -> exchange:celery (direct) binding:celery
. concurrency -> 8
. loader -> djcelery.loaders.DjangoLoader
. logfile -> [stderr]@INFO
. events -> OFF
. beat -> OFF
. tasks ->
WARNING celery@Paul-PC has started.
ERROR CarrotListener: Connection Error: [Errno 10061] No connection could be
made because the target machine actively refused it. Trying again in 2 seconds..
.
No handlers could be found for logger "multiprocessing"
No handlers could be found for logger "multiprocessing"
No handlers could be found for logger "multiprocessing"
No handlers could be found for logger "multiprocessing"
Process PoolWorker-5:
Traceback (most recent call last):
File "c:\Python26\lib\multiprocessing\process.py", line 232, in _bootstrap
self.run()
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
self._target(*self._args, **self._kwargs)
File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", lin
e 106, in worker
initializer(*initargs)
File "c:\Python26\lib\site-packages\celery\worker\__init__.py", line 47, in pr
ocess_initializer
current_loader().init_worker()
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init_
worker
self.on_worker_init()
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worke
r_init
autodiscover()
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodisc
over
for app in settings.INSTALLED_APPS])
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rel
ated_module
app_path = importlib.import_module(app).__path__
File "c:\Python26\lib\site-packages\importlib\__init__.py", line 37, in import
_module
__import__(name)
ImportError: No module named mysite.fbgraphapi
No handlers could be found for logger "multiprocessing"
Process PoolWorker-6:
etc
etc
from django-celery.
Ok, so it's not an actual error? Just a warning?
from django-celery.
followed by (endlessly until breaking):
Traceback (most recent call last):
File "c:\Python26\lib\multiprocessing\process.py", line 232, in _bootstrap
self.run()
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
self.target(self.args, *self.kwargs)
P File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", li
ne 106, in worker
rocess PoolWorker-4:
N T initializer(*initargs)
o handlers could be found for logger "multiprocessing"
raceback (most recent call last):
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in pro
cess_initializer
File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
current_loader().init_worker()
self.run()
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init
worker
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
self.on_worker_init()
self.target(self.args, *self.kwargs)
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worker
init
autodiscover()
P rocess PoolWorker-1:
File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", line
106, in worker
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodisco
ver
T raceback (most recent call last):
initializer(*initargs)
for app in settings.INSTALLED_APPS])
N File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in pro
cess_initializer
o handlers could be found for logger "multiprocessing"
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rela
ted_module
self.run()
P current_loader().init_worker()
app_path = importlib.import_module(app).path
Process PoolWorker-2:
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
rocess PoolWorker-8:
TN File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init
worker
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
Traceback (most recent call last):
o handlers could be found for logger "multiprocessing"
self.target(self.args, *self.kwargs)
raceback (most recent call last):
self.on_worker_init()
import(name)
File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
I File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", li
ne 106, in worker
File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worker
init
mportError: No module named mysite.fbgraphapi
self.run()
P initializer(*initargs)
self.run()
rocess PoolWorker-7:
autodiscover()
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
T File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in
process_initializer
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
raceback (most recent call last):
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodisc
over
P self.target(self.args, *self.kwargs)
current_loader().init_worker()
File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
self.target(self.args, *self.kwargs)
rocess PoolWorker-3:
for app in settings.INSTALLED_APPS])
T File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py",
line 106, in worker
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init
worker
self.run()
File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", line
106, in worker
raceback (most recent call last):
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rel
ated_module
initializer(initargs)
self.on_worker_init()
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
initializer(initargs)
File "c:\Python26\lib\multiprocessing\process.py", line 232, in bootstrap
app_path = importlib.import_module(app).path
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in
process_initializer
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worke
r_init
self.target(self.args, *self.kwargs)
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in pro
cess_initializer
self.run()
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
current_loader().init_worker()
autodiscover()
File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", line
106, in worker
current_loader().init_worker()
File "c:\Python26\lib\multiprocessing\process.py", line 88, in run
import(name)
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in ini
t_worker
I File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodis
cover
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init_w
orker
initializer(initargs)
self.target(self.args, **self.kwargs)
mportError: No module named mysite.fbgraphapi
self.on_worker_init()
self.on_worker_init()
for app in settings.INSTALLED_APPS])
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in pro
cess_initializer
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_wo
rker_init
File "c:\Python26\lib\site-packages\celery\concurrency\processes\pool.py", line
106, in worker
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worker
init
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rela
ted_module
current_loader().init_worker()
autodiscover()
initializer(*initargs)
autodiscover()
app_path = importlib.import_module(app).path
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init_w
orker
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in auto
discover
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 47, in pro
cess_initializer
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodisco
ver
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
self.on_worker_init()
for app in settings.INSTALLED_APPS])
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rel
ated_module
import(name)
for app in settings.INSTALLED_APPS])
current_loader().init_worker()
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worker
init
I app_path = importlib.import_module(app).path
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rel
ated_module
mportError: No module named mysite.fbgraphapi
File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 58, in init_w
orker
autodiscover()
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autod
iscover
app_path = importlib.import_module(app).path
self.on_worker_init()
import(name)
I for app in settings.INSTALLED_APPS])
mportError: No module named mysite.fbgraphapi
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 65, in on_worker
init
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rela
ted_module
import(name)
autodiscover()
app_path = importlib.import_module(app).path
I File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in impo
rt_module
mportError: No module named mysite.fbgraphapi
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 81, in autodisco
ver
import(name)
I for app in settings.INSTALLED_APPS])
mportError: No module named mysite.fbgraphapi
File "c:\Python26\lib\site-packages\djcelery\loaders.py", line 91, in find_rel
ated_module
app_path = importlib.import_module(app).path
File "c:\Python26\lib\site-packages\importlib__init.py", line 37, in import
module
import(name)
ImportError: No module named mysite.fbgraphapi
WTraceback (most recent call last):
ARNING celeryd: Hitting Ctrl+C again will terminate all running tasks!
File "", line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
File "", line 1, in
File "", line 1, in
Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
File "c:\Python26\lib\multiprocessing\forking.py", line 342, in main
File "", line 1, in
File "c:\Python26\lib\multiprocessing\forking.py", line 342, in main
File "c:\Python26\lib\multiprocessing\forking.py", line 342, in main
File "c:\Python26\lib\multiprocessing\forking.py", line 342, in ma
inFile "c:\Python26\lib\multiprocessing\forking.py", line 342, in main
self = load(from_parent)multiprocessing\forking.py", line 342, in main
self = load(from_parent)
self = load(from_parent)
self = load(from_parent)
self = load(from_parent)
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
self = load(from_parent)
self = load(from_parent)
self = load(from_parent)
return Unpickler(file).load()
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
File "c:\Python26\lib\pickle.py", line 1370, in load
return Unpickler(file).load()
return Unpickler(file).load()
return Unpickler(file).load()
File "c:\Python26\lib\pickle.py", line 858, in load
return Unpickler(file).load()
File "c:\Python26\lib\pickle.py", line 858, in load
File "c:\Python26\lib\pickle.py", line 858, in load
File "c:\Python26\lib\pickle.py", line 858, in load
return Unpickler(file).load()
return Unpickler(file).load()
return Unpickler(file).load()
File "c:\Python26\lib\pickle.py", line 858, in load
File "c:\Python26\lib\pickle.py", line 858, in load
File "c:\Python26\lib\pickle.py", line 858, in load
File "c:\Python26\lib\pickle.py", line 858, in load
dispatchkey
dispatchkey
dispatchkey
dispatchkey
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
dispatchkey
dispatchkey
dispatchkey
dispatchkey
klass = self.find_class(module, name)
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
File "c:\Python26\lib\pickle.py", line 1090, in load_global
klass = self.find_class(module, name)
klass = self.find_class(module, name)
klass = self.find_class(module, name)
File "c:\Python26\lib\pickle.py", line 1124, in find_class
File "c:\Python26\lib\pickle.py", line 1124, in find_class
File "c:\Python26\lib\pickle.py", line 1124, in find_class
File "c:\Python26\lib\pickle.py", line 1124, in find_class
klass = self.find_class(module, name)
klass = self.find_class(module, name)
klass = self.find_class(module, name)
klass = self.find_class(module, name)
File "c:\Python26\lib\pickle.py", line 1124, in find_class
File "c:\Python26\lib\pickle.py", line 1124, in find_class
import(module)
File "c:\Python26\lib\pickle.py", line 1124, in find_class
import(module)
File "c:\Python26\lib\pickle.py", line 1124, in find_class
import(module)
import(module)
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 1
1, in
File "c:\Python26\lib\site-packages\celery\concurrency\processes__init.
py", line 9, in
File "c:\Python26\lib\site-packages\celery\concurrency\processes__init.
py", line 9, in
File "c:\Python26\lib\site-packages\celery\concurrency\processes__init.py",
line 9, in
import(module)
import(module)
import(module)
import(module)
File "c:\Python26\lib\site-packages\celery\concurrency\processes__ini
t.py", line 9, in
File "c:\Python26\lib\site-packages\celery\worker__init.py", line 11, in
from celery import beat
File "c:\Python26\lib\site-packages\celery\concurrency\processes__init.py",
line 9, in
from celery import log
from celery import log
File "c:\Python26\lib\site-packages\celery\concurrency\processes__init.py",
line 9, in
from celery import log
File "c:\Python26\lib\site-packages\celery\beat.py", line 17, in
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
from celery import log
from celery import beat
from celery import log
from celery import log
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
from celery import platforms
File "c:\Python26\lib\site-packages\celery\beat.py", line 19, in
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
from celery import conf
from celery import conf
File "c:\Python26\lib\site-packages\celery\log.py", line 13, in
from celery import conf
File "c:\Python26\lib\site-packages\celery\platforms.py", line 6, in
File "c:\Python26\lib\site-packages\celery\conf.py", line 7, in
File "c:\Python26\lib\site-packages\celery\conf.py", line 23, in
File "c:\Python26\lib\site-packages\celery\conf.py", line 7, in
from celery import conf
from celery.execute import send_task
from celery import conf
from celery import conf
from setproctitle import setproctitle as setproctitle
File "c:\Python26\lib\site-packages\celery\conf.py", line 7, in
File "c:\Python26\lib\site-packages\celery\execute__init.py", line 4, in
File "c:\Python26\lib\site-packages\celery\conf.py", line 7, in
from celery import routes
File "c:\Python26\lib\site-packages\celery\conf.py", line 7, in
settings = load_settings()
from celery import routes
KeyboardInterrupt File "c:\Python26\lib\site-packages\celery\routes
.py", line 2, in
File "c:\Python26\lib\site-packages\celery\loaders__init.py", line 32,
in load_settings
File "c:\Python26\lib\site-packages\celery\routes.py", line 2, in
from celery import routes
from celery import routes
from celery.messaging import with_connection
from celery import routes
File "c:\Python26\lib\site-packages\celery\routes.py", line 2, in <mod
ule>
File "c:\Python26\lib\site-packages\celery\routes.py", line 2, in <module>
File "c:\Python26\lib\site-packages\celery\messaging.py", line 13, in <module>
Nfrom celery.utils import instantiate, firstmethod, mpromise
File "c:\Python26\lib\site-packages\celery\routes.py", line 2, in <module>
_settings = current_loader().conf
from celery.utils import instantiate, firstmethod, mpromise
o handlers could be found for logger "multiprocessing"
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 18, in
<module>
File "c:\Python26\lib\site-packages\celery\loaders\__init__.py", line 24,
in current_loader
from carrot.messaging import Publisher, Consumer, ConsumerSet as _ConsumerSet
File "c:\Python26\lib\site-packages\carrot\messaging.py", line 10, in <module>
from celery.utils import instantiate, firstmethod, mpromise
from celery.utils import instantiate, firstmethod, mpromise
from celery.utils import instantiate, firstmethod, mpromise
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 18, in <mo
dule>
from carrot import serialization
from dateutil.parser import parse as parse_iso8601
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 14, in <mo
dule>
File "c:\Python26\lib\site-packages\carrot\serialization.py", line 272, in <mo
dule>
File "c:\Python26\lib\site-packages\python_dateutil-1.4.1-py2.6.egg\dateutil\p
arser.py", line 18, in <module>
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 17, in <mo
dule>
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 14, in <mo
dule>
from dateutil.parser import parse as parse_iso8601
_loader = setup_loader()
from inspect import getargspec
register_json()
from cStringIO import StringIO
from carrot.utils import rpartition
File "c:\Python26\lib\site-packages\python_dateutil-1.4.1-py2.6.egg\dateutil\p
arser.py", line 22, in <module>
from inspect import getargspec
File "c:\Python26\lib\site-packages\celery\loaders\__init__.py", line 17, in s
etup_loader
File "c:\Python26\lib\inspect.py", line 39, in <module>
File "c:\Python26\lib\site-packages\carrot\serialization.py", line 216, in reg
ister_json
KeyboardInterrupt File "c:\Python26\lib\site-packages\carrot\__init__.py", line
1, in <module>
File "c:\Python26\lib\inspect.py", line 39, in <module>
import relativedelta
return get_loader_cls(os.environ.setdefault("CELERY_LOADER", "default"))()
import tokenize
from anyjson import serialize as json_serialize
File "c:\Python26\lib\site-packages\python_dateutil-1.4.1-py2.6.egg\dateutil\r
elativedelta.py", line 11, in <module>
"""AMQP Messaging Framework for Python"""
File "c:\Python26\lib\site-packages\celery\loaders\__init__.py", line 13, in g
et_loader_cls
import tokenize
N File "c:\Python26\lib\tokenize.py", line 23, in <module>
File "c:\Python26\lib\site-packages\anyjson\__init__.py", line 117, in <module
>
KeyboardInterrupt File "c:\Python26\lib\tokenize.py", line 30, in <module>
o handlers could be found for logger "multiprocessing"
import calendar
return get_cls_by_name(loader, LOADER_ALIASES)
each time a new token is found."""
implementation = _JsonImplementation(modspec)
File "c:\Python26\lib\calendar.py", line 6, in <module>
Nfrom token import *
File "c:\Python26\lib\site-packages\celery\utils\__init__.py", line 352, in ge
t_cls_by_name
KeyboardInterruptKeyboardInterrupto handlers could be found for logger "multipro
cessing"
File "c:\Python26\lib\token.py", line 3, in <module>
module = importlib.import_module(module_name)
N"""Token constants (from "token.h")."""
N File "c:\Python26\lib\site-packages\importlib\__init__.py", line 37, in impor
t_module
o handlers could be found for logger "multiprocessing"
KeyboardInterrupto handlers could be found for logger "multiprocessing"
__import__(name)
set the first day of the week (0=Monday, 6=Sunday)."""
No handlers could be found for logger "multiprocessing"
KeyboardInterrupt File "c:\Python26\lib\site-packages\djcelery\loaders.py", lin
e 4, in <module>
from celery.loaders.base import BaseLoader
N File "c:\Python26\lib\site-packages\celery\loaders\base.py", line 6, in <modu
le>
o handlers could be found for logger "multiprocessing"
from celery.utils.mail import mail_admins
File "c:\Python26\lib\site-packages\celery\utils\mail.py", line 2, in <module>
import smtplib
File "c:\Python26\lib\smtplib.py", line 46, in <module>
import email.utils
File "c:\Python26\lib\email\utils.py", line 118, in <module>
''', re.VERBOSE | re.IGNORECASE)
File "c:\Python26\lib\re.py", line 190, in compile
return _compile(pattern, flags)
File "c:\Python26\lib\re.py", line 243, in _compile
p = sre_compile.compile(pattern, flags)
File "c:\Python26\lib\sre_compile.py", line 506, in compile
p = sre_parse.parse(p, flags)
File "c:\Python26\lib\sre_parse.py", line 679, in parse
p = _parse_sub(source, pattern, 0)
File "c:\Python26\lib\sre_parse.py", line 314, in _parse_sub
itemsappend(_parse(source, state))
File "c:\Python26\lib\sre_parse.py", line 413, in _parse
this = sourceget()
KeyboardInterrupt
No handlers could be found for logger "multiprocessing"
from django-celery.
Ok, this is a known issue actually. For me it worked when the settings file was in the current directory. As you can see it doesn't work when you do that, maybe because your installed apps are prefixed with the project;
Do you have something like this in settings.py?
INSTALLED_APPS = ("mysite.fbgraphapi", )
Using the project name here can lead to problems in many cases, so I would
really advice against doing so, instead you can ensure that the project directory is on the pythonpath:
import os
import sys
sys.path.insert(0, os.getcwd())
INSTALLED_APPS = ("fbgraphapi", )
Does this solve the issue?
Sadly I haven't had the ability (or time) to solve these know problems on the Windows platform yet, as I don't have access to the OS.
from django-celery.
Have to add that you always have to specify --settings=settings even with the proposed changes above.
from django-celery.
Hi, thanks that has helped somewhat. I am now just getting:
$ python manage.py celeryd --settings=settings -l info
WARNING celery@Paul-PC v2.1.3 is starting.
WARNING c:\Python26\lib\site-packages\celery\apps\worker.py:110: UserWarning: U
sing settings.DEBUG leads to a memory leak, never use this setting in a producti
on environment!
warnings.warn("Using settings.DEBUG leads to a memory leak, "
WARNING Configuration ->
. broker -> amqp://guest@localhost:5672/
. queues ->
. celery -> exchange:celery (direct) binding:celery
. concurrency -> 8
. loader -> djcelery.loaders.DjangoLoader
. logfile -> [stderr]@INFO
. events -> OFF
. beat -> OFF
. tasks ->
WARNING celery@Paul-PC has started.
ERROR CarrotListener: Connection Error: [Errno 10061] No connection could be
made because the target machine actively refused it. Trying again in 2 seconds..
.
No handlers could be found for logger "multiprocessing"
No handlers could be found for logger "multiprocessing"
NNNNNNo handlers could be found for logger "multiprocessing"
o handlers could be found for logger "multiprocessing"
o handlers could be found for logger "multiprocessing"
o handlers could be found for logger "multiprocessing"
o handlers could be found for logger "multiprocessing"
o handlers could be found for logger "multiprocessing"
ERROR CarrotListener: Connection Error: [Errno 10061] No connection could be
made because the target machine actively refused it. Trying again in 4 seconds..
.
ERROR CarrotListener: Connection Error: [Errno 10061] No connection could be
made because the target machine actively refused it. Trying again in 6 seconds..
.
ERROR CarrotListener: Connection Error: [Errno 10061] No connection could be
made because the target machine actively refused it. Trying again in 8 seconds..
.
WARNING celeryd: Hitting Ctrl+C again will terminate all running tasks!
WARNING celeryd: Warm shutdown (MainProcess)
from django-celery.
The listener error you are seeing is because it can't connect to RabbitMQ.
. broker -> amqp://guest@localhost:5672/
^^ this is the broker it's trying to connect to. Is it running?
from django-celery.
Oh, I understood from the docs that django-celery could just use a database backend via the Django ORM.
What BROKER_HOST etc settings do I need to do that... should they be the host, user, pword etc for my PostgreSQL server?
from django-celery.
Aha. Yes it does support that, but it's not part of Celery yet but as a plug-in:
http://celeryq.org/docs/tutorials/otherqueues.html
It will be part of "core" for the next release.
from django-celery.
Ok so basically I should setup RabbitMQ first and then try Celery... thanks for your help!
from django-celery.
I'm getting this as well on Windows 7 64-bit; my settings file is in project root directory, and Celery can't seem to import my project successfully. Anything starting in (for example) mysite
makes the import fail. Unfortunately, manually adding the file to the python path makes Django choke on the settings. Any ideas?
from django-celery.
I'm getting the same error on a CentOS machine with python 2.5, but only when running the celeryd daemon with the -f /var/log/logfile.log switch.
from django-celery.
@delinhabit, this is a bug in 2.2.5, you should either install the release22-maint branch or wait until 2.2.6 (which I'm releasing as we speak)
from django-celery.
For some reason, I'm still getting
No handlers could be found for logger "multiprocessing" and I'm now using version 2.5.3
from django-celery.
This warning can be ignored as it's really a multiprocessing issue where a debug is called immediately when the process starts before logging has been set up.
from django-celery.
Related Issues (20)
- djcelerymon: AttributeError: type object 'Command' has no attribute 'option_list'
- Migrate to github actions from travis HOT 2
- djcelery released a task that has been deleted
- Migrate from djcelery to django_celery_results HOT 6
- Tasks being executed even without djcelery
- incompatibility with celery HOT 1
- Must used `"setuptools<58.0.0"` to install because of `anyjson` HOT 1
- celery-beat process make the CPU usage too high HOT 2
- Some tests misusing assertTrue for comparisons
- The "http://celeryproject.org/" site is gone? HOT 2
- django-celery doesn't work in django 4.0 HOT 5
- Changing instances of ugettext, ugettext_lazy, ungettext, and force_unicode for Django 4.0 HOT 2
- Django celery with redis broker executing same task indefinitely
- This error occurred when I started celery worker
- `pip install django-celery` gives error HOT 4
- Unrecoverable error in Celery worker: ReadOnlyError with Redis backend
- Error loading Celery application with Django module
- celery cannot connect to postgresql HOT 2
- celery and django-celery version do not match,show syntaxError HOT 3
- I use celery in the Django project, but why does celery keep increasing threads?
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 django-celery.