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
{{ message }}
Repository navigation
Error: RQ object has no attribute 'scheduler_cls' #30
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)?
Activity
zgoda commentedon Sep 21, 2017
Same on physical machine.
Traceback fragment:
RQ object is created empty and configured later in app factory.
jezdez commentedon Dec 4, 2017
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)?