This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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"
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: