Comments (2)
same case
Django==2.0.6
django-apscheduler==0.2.11
Exception in thread APScheduler:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/apscheduler/schedulers/blocking.py", line 30, in _main_loop
wait_seconds = self._process_jobs()
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/apscheduler/schedulers/base.py", line 987, in _process_jobs
jobstore_next_run_time = jobstore.get_next_run_time()
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/django_apscheduler/jobstores.py", line 29, in inner
return func(*a, **k)
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/django_apscheduler/jobstores.py", line 79, in get_next_run_time
return deserialize_dt(DjangoJob.objects.filter(next_run_time__isnull=False).earliest('next_run_time').next_run_time)
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/django/db/models/query.py", line 597, in earliest
return self._earliest_or_latest(*fields, field_name=field_name)
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/django/db/models/query.py", line 594, in _earliest_or_latest
return obj.get()
File "/Users/huanhuan/IdeaProjects/venv4archer/lib/python3.5/site-packages/django/db/models/query.py", line 403, in get
self.model._meta.object_name
django_apscheduler.models.DoesNotExist: DjangoJob matching query does not exist.
from django-apscheduler.
Fixed in 0.2.12
from django-apscheduler.
Related Issues (20)
- Support django 4.0 and run test code on github actions
- PytzUsageWarning on Startup HOT 3
- Missing migration
- Feat: Add management command to clean up job execution table HOT 2
- How to associate django_apscheduler_djangojob with my own model by ForeignKey HOT 1
- Job automatically disappeared in random time HOT 2
- Feature: simplified closing of old db connections HOT 4
- Client number building up leading to fatal error HOT 1
- skipped: maximum number of running instances reached
- cron function that is running over 15 seconds is not working HOT 1
- DB error executing '_get_jobs' ((2013, 'Lost connection to MySQL server during query')). Retrying with a new DB connection... HOT 3
- Add @util.close_old_connections in the _get_jobs(self, **filters) funtion for the DB connection
- AttributeError("'zoneinfo.ZoneInfo' object has no attribute 'localize'") and 'dict' object has no attribute 'has_header'
- ModuleNotFoundError: No module named 'backports'
- how to forbid change_permission and delete_permission... HOT 3
- Scheduler goes idle or does not execute jobs at all HOT 1
- transaction.atomic() problem with DATABASE_ROUTERS HOT 2
- django-apscheduler (0.6.2) not working with psycopg2-binary (2.9.4 and up)
- Trigger scheduled job to be executed manually HOT 2
- Unapplying Migrations Fails 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 django-apscheduler.