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

Run timer tasks using the latest version #43

Closed
ryanvin opened this issue May 5, 2019 · 15 comments
Closed

Run timer tasks using the latest version #43

ryanvin opened this issue May 5, 2019 · 15 comments
Labels
suggestion Suggestion for a better experience
Milestone

Comments

@ryanvin
Copy link

ryanvin commented May 5, 2019

I have many spiders in one project, when I modify the common functions, I need to update timer task one by one to use the latest version. It will be very helpful if timer task can use the latest version of spiders every time. 😉

@my8100
Copy link
Owner

my8100 commented May 5, 2019

The demand has been implemented in the latest commit, see #4 (comment)
You can get it via git:

git clone https://github.com/my8100/scrapydweb.git
cd scrapydweb
python setup.py install

or:

pip install -U git+https://github.com/my8100/scrapydweb.git

@my8100 my8100 added the suggestion Suggestion for a better experience label May 5, 2019
@my8100 my8100 added this to the 1.3.0 milestone May 5, 2019
@my8100 my8100 closed this as completed May 5, 2019
@ryanvin
Copy link
Author

ryanvin commented May 9, 2019

Many thanks!!!!!

@nidexiaogege
Copy link

image

@my8100
Copy link
Owner

my8100 commented May 24, 2019

@nidexiaogege
Could you tell me how to reproduce the problem?
Please post some logs of ScrapydWeb, as well as contents from http://127.0.0.1:5000/tasks/history/

@nidexiaogege
Copy link

[2019-05-24 16:12:26,609] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 16:24:48,814] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 16:26:40,096] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 16:33:57,455] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 16:48:03,528] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 17:23:09,850] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished
[2019-05-24 18:14:20,056] WARNING in apscheduler: Shutting down the scheduler for timer tasks gracefully, wait until all currently executing tasks are finished

@nidexiaogege
Copy link

What should I do

@my8100
Copy link
Owner

my8100 commented May 24, 2019

@nidexiaogege

  1. Run scrapydweb with the argument --verbose
  2. Try to reproduce the problem
  3. Post related logs and the full traceback info in the fail page

@nidexiaogege
Copy link

image

@nidexiaogege
Copy link

Which argument is the problem

@my8100
Copy link
Owner

my8100 commented May 24, 2019

Run python -c "import apscheduler; print(apscheduler.__version__)", and post the version number.
BTW, did you modify any source code of scrapydweb? How did you install scrapydweb, pip or git?

@nidexiaogege
Copy link

pip install

@my8100
Copy link
Owner

my8100 commented May 24, 2019

What is the version number of apscheduler?
How to trigger it, by adding or editing a task?

@nidexiaogege
Copy link

the version number of apscheduler is 3.3.1

@my8100
Copy link
Owner

my8100 commented May 24, 2019

Run pip install -U APScheduler==3.5.3

@nidexiaogege
Copy link

The problem was solved,thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Suggestion for a better experience
Projects
None yet
Development

No branches or pull requests

3 participants