You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/jazg/work/zakwasy/zkw/sd/__init__.py", line 7, in <module>
from ..sd import tasks # noqa
File "/home/jazg/work/zakwasy/zkw/sd/tasks.py", line 44, in <module>
process_user_postcodes.cron('*/15 * * * *', 'process-user-postcodes')
File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask_rq2/helpers.py", line 115, in cron
return self.rq.get_scheduler().cron(
File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask_rq2/app.py", line 287, in get_scheduler
if self.scheduler_cls is None:
AttributeError: 'RQ' object has no attribute 'scheduler_cls'
RQ object is created empty and configured later in app factory.
Hmm hmm, the RQ class has class attributes called like that, so it's weird this is happening. I'm not sure how to reproduce this. Could you try again with current master (that has the refactor #41)?
I'm running RQ2 on my docker instance and when I schedule a job with cron, I get the following error:
AttributeError: 'RQ' object has no attribute 'scheduler_cls'
Any ideas?
The text was updated successfully, but these errors were encountered: