Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
347 stars 77 forks source link

failed if dramatiq and executable in different dirs #47

Open horpto opened 5 years ago

horpto commented 5 years ago

Hi, in my docker container python3 has path /usr/bin/python3 and dramatiq has /usr/local/bin/dramatiq. Of course, as /usr/local/bin/ is presented in $PATH, so if I try to run dramatiq manually it's run ok. But rundramatiq command suggests dramatiq has path /usr/bin/dramatiq ignoring other actual possible values.

baloda commented 5 years ago

I am getting error like these. i think this error also associated to same reason. My paths is also different. raise TypeError('unexpected kwargs: %r' % (kwargs,)) TypeError: unexpected kwargs: {'heartbeat_interval': 0}

baloda commented 5 years ago

as I have seen the case this happens only with Redis client. dramatiq.results.backends.redis @Bogdanp can just have a look at this because nowadays dramatiq has started Redis client support.

I found my issue it was due to config.