Code Monkey home page Code Monkey logo

Comments (2)

hhyo avatar hhyo commented on August 18, 2024

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.

sallyruthstruik avatar sallyruthstruik commented on August 18, 2024

Fixed in 0.2.12

from django-apscheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.