Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interval example does not work #41

Closed
agronholm opened this issue Aug 17, 2013 · 5 comments
Closed

interval example does not work #41

agronholm opened this issue Aug 17, 2013 · 5 comments

Comments

@agronholm
Copy link
Owner

Originally reported by: Michal Nowikowski (Bitbucket: godfryd, GitHub: godfryd)


#!python
$ PYTHONPATH=.. python interval.py 
Traceback (most recent call last):
  File "interval.py", line 16, in <module>
    scheduler.add_job(tick, 'interval', {'seconds': 3})
  File ".../apscheduler/apscheduler/scheduler.py", line 298, in add_job
    raise KeyError('No trigger by the name "%s" was found' % trigger)
KeyError: 'No trigger by the name "interval" was found'



@agronholm
Copy link
Owner Author

Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):


This looks like APScheduler 3.0 development version, not 2.1.1? 3.0 is still work in progress.

@agronholm
Copy link
Owner Author

Original comment by Michal Nowikowski (Bitbucket: godfryd, GitHub: godfryd):


it is not possible to select anything newer than 2.1.1 (e.g. development version or latest)

@agronholm
Copy link
Owner Author

Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):


That's because you're not supposed to report bugs against unreleased development versions.

@agronholm
Copy link
Owner Author

Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):


I'm still in the middle of a major change in the 3.0 development version, and I will fix this too after that.

@agronholm
Copy link
Owner Author

Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):


The examples directory has been rearranged. All the examples in examples/schedulers/ work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant