Comments (2)
Same on physical machine.
Traceback fragment:
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.
from flask-rq2.
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)?
from flask-rq2.
Related Issues (20)
- Flask-RQ2 depends on setuptools but setuptools is not listed as a requirement
- Flask-RQ2 is not compatible with click 8.0.0, required for Flask 2.0 HOT 4
- Why does func.cron() not duplicate jobs but rq.get_scheduler().cron() does? HOT 1
- Provide custom job ID?
- Missing on_success and on_failure args in jobfunction.queue() HOT 5
- Support for rq version 1.8 - 1.10 HOT 1
- Add FlaskWorker
- Support rq worker --max-jobs flag
- How to run?
- New maintainer? HOT 1
- Remote workers
- Upcoming release of RQ 1.0
- Handling of `RQ_ASYNC` is confusing when using the application factory pattern
- Use @job decorator for class methods HOT 2
- Advantages over pure RQ HOT 5
- Launching flask-rq2 using supervisord HOT 2
- Redis sentinel mode connection support. HOT 1
- List running workers HOT 1
- RQ function that saves output to file saves same output even after function is modified.
- is this project still active? HOT 1
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 flask-rq2.