-
Notifications
You must be signed in to change notification settings - Fork 687
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
LookupError: No trigger by the name "interval" was found #77
Comments
Original comment by Géza Papp (Bitbucket: prambo, GitHub: prambo): I met with same issue on Raspberry PI installation. It was done by pip without error message. But on the pip.log i found an error: "InstallationError: apscheduler should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+" |
Original comment by Larry Hartman (Bitbucket: larryhartman50, GitHub: larryhartman50): I wish to report the same issue with UDOO board using BackgroundScheduler and cron trigger--Python 3.2, apscheduler 3.01, installed with pip3-2. I installed apscheduler originally with Python 2.7 using pip and apscheduler was working fine with the cron trigger. I then installed Python 3.2 in tandem along with python3-setuptools, python3-dev. I installed apscheduler for Python3 using pip3. No errors reported on install. I am unsure if this is a bug or just an error pertaining to having two Python environments installed in tandem. Any hints are welcome. I am unable to find any relevant info via Google searches. |
Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm): This has been reported when using a stone age version of setuptools (0.6). I have a workaround planned that will remove the requirement of having an up to date version of setuptools. In the meantime, you can instantiate the triggers manually, or update your setuptools. |
Original comment by Larry Hartman (Bitbucket: larryhartman50, GitHub: larryhartman50): Alex Very appreciate of your timely response. It seems the easiest course would be to update the setup tools—I will look at the version that is installed and initially proceed in this direction. As far as instantiation goes: 1) load triggers library at top of file, 2) create object with loaded class—after this how do I connect the object to the add_jobs function? Larry |
Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm): Give the instantiated trigger as the second parameter to add_job(). See http://apscheduler.readthedocs.org/en/latest/modules/schedulers/base.html#apscheduler.schedulers.base.BaseScheduler.add_job for further details. |
Original comment by Roel De Coninck (Bitbucket: saroele, GitHub: saroele): Hi, I don't think it's entirely solved. I installed apscheduler today with
But I had the same issue. I'm using pip 7.1.2, which is up-to-date. |
Hi, I am seeing this issue with py2exe suddenly on the latest versions. I have updated setuptools and everything, but have no luck. When not frozen, APScheduler works wonderfully! Thoughts? |
Hi, I am also experiencing this problem, my traceback is as follows, when i install via pip no errors are prevalent. However when installing via easy install I get this error:
This is the error my traceback is producing from easy_install
The error my traceback is producing from the pip install
Thanks in advance for help |
You're seeing those messages because easy_install tries to compile them to bytecode, which fails when a Python 2 interpreter encounters Python 3 syntax. It's harmless. |
Hi, I experienced the problem and fixed as explained at this link |
Problem is still here |
@DanieleB89 Are you using PyInstaller or what else is causing your problem? |
my actions: got this: in a random .py file: def job1(): scheduler = BackgroundScheduler() after esecution got this error: |
That is strange. But if this was a general problem with pip installs, a lot more people would come here to complain about it. |
Yes, I made few changes to the code and I got it running. I've posted my code fix here: https://stackoverflow.com/questions/28682723/no-trigger-by-the-name-interval-was-found/ |
This still doesn't explain why the trigger lookup failed, even though you have recent versions of all the involved tools. |
I'm new to apscheduler, maybe it's something I did wrong. I found this library interesting: no problem for me if it's just an alias not working (at least for me). |
Yes, I understand. But I don't see anything wrong with your code. |
Have you restarted the kernel after the restart? That could be your problem |
Uh, what? |
Originally reported by: Rodrigo Brim (Bitbucket: rodrigo_brim, GitHub: Unknown)
Hello.
I'm getting this error with OSX 10.9.4. The following lines describes my problem. Sorry if this is a stupid post.
rbr:python rodrigo$ cat ./schedule.py
The text was updated successfully, but these errors were encountered: