-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
How to reload Projects rules #149
Comments
Another user reported this issue, but I have no idea. What version are you using? |
How to get the pyspider Version? pyspider --help
Usage: pyspider [OPTIONS] COMMAND [ARGS]...
A powerful spider system in python.
Options:
-c, --config FILENAME a json file with default values for subcommands.
{"webui": {"port":5001}}
--debug debug mode
--queue-maxsize INTEGER maxsize of queue
--taskdb TEXT database url for taskdb, default: sqlite
--projectdb TEXT database url for projectdb, default: sqlite
--resultdb TEXT database url for resultdb, default: sqlite
--amqp-url TEXT amqp url for rabbitmq, default: built-in Queue
--phantomjs-proxy TEXT phantomjs proxy ip:port
--data-path TEXT data dir path
--help Show this message and exit.
Commands:
all
bench
fetcher
processor
result_worker
scheduler
webui |
If there is no |
I update the pyspider ,but bug still there ➜ ~ pip install pyspider -U
Requirement already up-to-date: pyspider in /Library/Python/2.7/site-packages
...
...
...
Requirement already up-to-date: backports.ssl-match-hostname in /Library/Python/2.7/site-packages (from tornado>=3.2->pyspider)
➜ ~ pyspider --version
pyspider, version 0.3.3 database => mysql Strat by pyspider -c pyspider.json
cat pyspider.json
{
"taskdb": "mysql+taskdb://user:pass@localhost:3306/pyspider_taskdb",
"projectdb": "mysql+projectdb://user:pass@localhost:3306/pyspider_projectdb",
"resultdb": "mysql+resultdb://user_pass@localhost:3306/pyspider_resultdb"
} |
When I change the Projects rules.
It often can't normal reload.
If I will load rules success , have to restart pyspider.
The text was updated successfully, but these errors were encountered: