0:00 AM
homeshlice joined the channel
0:05 AM
homeshlice has quit
0:05 AM
Debnet has quit
0:07 AM
mirko_ joined the channel
0:07 AM
mirko_
Hi guys
0:07 AM
I am in serious trouble with celery+django
0:08 AM
I am following the tutorial to integrate django with celery
0:08 AM
In addition to that, I am adding periodic tasks on specific channels using variables configuration such as CELERYBEAT_SCHEDULE
0:09 AM
If I put all the stuff in celery.py, nothing works.
0:11 AM
0:11 AM
Thanks
0:18 AM
cjhubert joined the channel
0:19 AM
maryokhin joined the channel
0:49 AM
TorchDragon_ joined the channel
0:49 AM
mirko_ has quit
0:49 AM
TorchDragon_
I'm trying to use Flask and Celery to build URLs for flask_restful endpoints and I'm getting build errors.
0:50 AM
I believe it has to do with the endpoint names not being available for url_for resolution.
0:50 AM
I've tried importing the root api object that has the .add_resources() but that doesn't make a difference. Any help?
0:55 AM
maryokhin has quit
0:56 AM
asksol
TorchDragon_ : not sure what you mean? do you have a traceback or an example?
1:03 AM
mher has quit
1:15 AM
TorchDragon_
1:16 AM
So, when I call build_request_actions, which has a pile of url_for calls in it, in the normal operation of the Flask server, it works fine.
1:16 AM
But if I call that same function from my Celery task, it fails with the build error.
1:16 AM
I'm seeing the expected parameters in the MultiDict, so I have to assume its because it can't find the name.
1:17 AM
Incidentally, anything that just reports a BuildError with no error message is essentially worthless.
1:18 AM
acangiani joined the channel
1:18 AM
acangiani_ joined the channel
1:18 AM
acangiani_ has quit
1:20 AM
asksol totally didn't spell your name right.
1:35 AM
asksol
TorchDragon_: do you have a fake request object? possibly the routes haven't been built?
1:35 AM
bswanson joined the channel
1:43 AM
kennethreitz joined the channel
1:45 AM
kennethreitz has quit
2:44 AM
kingplusplus_ joined the channel
2:47 AM
kingplusplus has quit
2:47 AM
kingplusplus_ is now known as kingplusplus
2:49 AM
blamar joined the channel
2:57 AM
mher joined the channel
3:04 AM
aidans has quit
3:05 AM
cozezien has quit
3:05 AM
cozezien joined the channel
3:09 AM
domino14_ has quit
3:09 AM
aidans joined the channel
3:10 AM
asksol has quit
3:12 AM
asksol joined the channel
3:19 AM
sileht joined the channel
3:24 AM
acangiani has quit
3:33 AM
blamar has quit
3:35 AM
mher has quit
3:36 AM
mher joined the channel
3:59 AM
cjhubert has quit
4:08 AM
ianawilson_ joined the channel
4:10 AM
mvt_ joined the channel
4:11 AM
lericson_ joined the channel
4:11 AM
ianawilson has quit
4:11 AM
ionelmc has quit
4:11 AM
lericson has quit
4:11 AM
Guest87763 has quit
4:11 AM
s joined the channel
4:11 AM
mvt_ is now known as mvt
4:11 AM
s is now known as Guest95903
4:12 AM
ianawilson_ is now known as ianawilson
4:12 AM
ionelmc_ joined the channel
4:13 AM
homeshlice joined the channel
4:14 AM
ionelmc_ is now known as ionelmc
4:25 AM
TorchDragon_ has quit
4:28 AM
malinoff joined the channel
4:35 AM
domino14 joined the channel
4:41 AM
Audioburn has quit
4:41 AM
Audioburn joined the channel
4:54 AM
homeshlice has quit
5:09 AM
domino14_ joined the channel
5:14 AM
domino14_ has quit
6:10 AM
domino14_ joined the channel
6:15 AM
domino14_ has quit
6:24 AM
moo-_- has quit
6:30 AM
moo-_- joined the channel
6:34 AM
kingplusplus_ joined the channel
6:37 AM
kingplusplus has quit
6:37 AM
kingplusplus_ is now known as kingplusplus
7:00 AM
domino14 has quit
7:22 AM
niska` joined the channel
7:26 AM
Debnet joined the channel
7:27 AM
brownan has quit
7:29 AM
edulix joined the channel
7:40 AM
brownan joined the channel
7:47 AM
InfoTest joined the channel
7:51 AM
edulix has quit
7:52 AM
mirko_ joined the channel
7:54 AM
edulix joined the channel
8:03 AM
mher has quit
8:10 AM
kingplusplus has quit
8:11 AM
domino14 joined the channel
8:15 AM
domino14_ joined the channel
8:15 AM
domino14 has quit
8:30 AM
hanine joined the channel
8:33 AM
homeshlice joined the channel
8:33 AM
gnoze5 joined the channel
8:44 AM
homeshlice has quit
8:44 AM
Audioburn has quit
8:48 AM
homeshlice joined the channel
9:02 AM
adrian_lc joined the channel
9:02 AM
adrianlc joined the channel
9:03 AM
adrian_lc has quit
9:10 AM
mirko_
Great, I solved my problem. Thanks guys
9:16 AM
homeshlice has quit
9:19 AM
abyss4 has quit
9:20 AM
abyss4 joined the channel
9:31 AM
homeshlice joined the channel
9:32 AM
drag0nius joined the channel
9:32 AM
maryokhin joined the channel
9:35 AM
drag0niu1 has quit
9:37 AM
maryokhin has quit
9:39 AM
maryokhin joined the channel
9:39 AM
maryokhin has left the channel
9:53 AM
adrianlc has quit
9:59 AM
Ergo joined the channel
10:02 AM
kingplusplus joined the channel
10:03 AM
kingplusplus
pls am not sure what CELERY_DEFAULT_RATE_LIMIT does and when to use it?
10:10 AM
edulix has quit
10:11 AM
Qarion joined the channel
10:12 AM
domino14 joined the channel
10:16 AM
domino14 has quit
10:23 AM
edulix joined the channel
10:26 AM
kingplusplus has quit
10:26 AM
kingplusplus_ joined the channel
10:33 AM
shredding joined the channel
10:43 AM
sebb joined the channel
10:43 AM
sebb
I need to start a celery beat. I start it with celery -A my_app worker -B
10:43 AM
and -l info
10:44 AM
and I can see it is receiving tasks but my config for schedule is not working
10:44 AM
10:44 AM
and it is in my celery.py file
10:44 AM
am I missing someting ?
10:44 AM
brouberol1
IIRC, you need to start celery beat as a separate process
10:46 AM
sebb
brouberol1, why so ? Docs say I can start beat with -B parameter. Can I not do that ?
10:47 AM
jaapz joined the channel
10:48 AM
brouberol1
10:48 AM
and from the top of my head, I've read multiple times that embedding the -B option was being deprecated
10:48 AM
jaapz
hey people, is it possible for celery to route certain tasks to certain workers based on the args/kwargs passed to that task?
10:48 AM
brouberol1
can't find the reference though
10:48 AM
sebb
brouberol1, I'm not using "things" like windows ;)
10:48 AM
brouberol1, thanks I`ll try to start it separately
11:11 AM
adrian_lc joined the channel
11:16 AM
homeshlice has quit
11:16 AM
kingplusplus_
please can someone hlp me here… i think this code ch = chord(get_emails.s(url) for url in urls)(list_mails.s(exclude_reporters, website)) makes my celery terminal/log return [2015-11-04 12:13:56,281: ERROR/MainProcess] Connection to Redis lost: Retry (0/20) now.
11:17 AM
i can’t figure out why connection get lost
11:23 AM
shredding has quit
11:29 AM
adrian_lc has quit