{"action":"created","issue":{"url":"https://api.github.com/repos/binux/pyspider/issues/215","labels_url":"https://api.github.com/repos/binux/pyspider/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/binux/pyspider/issues/215/comments","events_url":"https://api.github.com/repos/binux/pyspider/issues/215/events","html_url":"https://github.com/binux/pyspider/issues/215","id":83894588,"number":215,"title":"501 Server Error","user":{"login":"lushl9301","id":2193051,"avatar_url":"https://avatars.githubusercontent.com/u/2193051?v=3","gravatar_id":"","url":"https://api.github.com/users/lushl9301","html_url":"https://github.com/lushl9301","followers_url":"https://api.github.com/users/lushl9301/followers","following_url":"https://api.github.com/users/lushl9301/following{/other_user}","gists_url":"https://api.github.com/users/lushl9301/gists{/gist_id}","starred_url":"https://api.github.com/users/lushl9301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lushl9301/subscriptions","organizations_url":"https://api.github.com/users/lushl9301/orgs","repos_url":"https://api.github.com/users/lushl9301/repos","events_url":"https://api.github.com/users/lushl9301/events{/privacy}","received_events_url":"https://api.github.com/users/lushl9301/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-02T07:46:17Z","updated_at":"2015-06-02T11:59:35Z","closed_at":"2015-06-02T11:56:10Z","body":"I know this might be duplicated.\r\nBut I didn't get clear solution from previous issues.\r\n\r\n------------\r\n\r\nI just create a new project.\r\ncopy the code from http://demo.pyspider.org/debug/js_test_sciencedirect\r\nI press **run**, select **follows** and then press the \"play\" button for crawling a **detail_page**\r\nIt gives:\r\n```\r\n[E 150602 15:32:42 base_handler:193] 501 Server Error\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/lib/python2.7/dist-packages/pyspider/processor/../libs/base_handler.py\", line 186, in run_task\r\n        result = self._run_task(task, response)\r\n      File \"/usr/local/lib/python2.7/dist-packages/pyspider/processor/../libs/base_handler.py\", line 165, in _run_task\r\n        response.raise_for_status()\r\n      File \"/usr/local/lib/python2.7/dist-packages/pyspider/libs/response.py\", line 183, in raise_for_status\r\n        raise http_error\r\n    HTTPError: 501 Server Error\r\n```\r\n\r\nIn addition, when I label the project as RUNNING and press run, 501 errors occur.\r\n\r\n```\r\n[W 150602 15:41:32 tornado_fetcher:352] [501] ggg:4fd00996c387078f77152ad9011418c7 http://www.sciencedirect.com/science/article/pii/S0167739X12000581 0s\r\n[E 150602 15:41:32 processor:204] process ggg:4fd00996c387078f77152ad9011418c7 http://www.sciencedirect.com/science/article/pii/S0167739X12000581 -> [501] len:25 -> result:None fol:0 msg:0 err:HTTPError('501 Server Error',)\r\n```\r\n\r\nfetch results:\r\n\r\n```\r\ntrack.fetch  0.0ms\r\n{\r\n  \"content\": \"phantomjs is not enabled.\", \r\n  \"encoding\": \"unicode\", \r\n  \"error\": null, \r\n  \"headers\": {}, \r\n  \"ok\": false, \r\n  \"redirect_url\": null, \r\n  \"status_code\": 501, \r\n  \"time\": 0\r\n}\r\n```\r\n\r\nbut I compiled and installed phantomjs already. I'm using version 2.0.0.\r\n\r\nCould you please give some advice?\r\n\r\nBest Regards"},"comment":{"url":"https://api.github.com/repos/binux/pyspider/issues/comments/107928153","html_url":"https://github.com/binux/pyspider/issues/215#issuecomment-107928153","issue_url":"https://api.github.com/repos/binux/pyspider/issues/215","id":107928153,"user":{"login":"binux","id":646451,"avatar_url":"https://avatars.githubusercontent.com/u/646451?v=3","gravatar_id":"","url":"https://api.github.com/users/binux","html_url":"https://github.com/binux","followers_url":"https://api.github.com/users/binux/followers","following_url":"https://api.github.com/users/binux/following{/other_user}","gists_url":"https://api.github.com/users/binux/gists{/gist_id}","starred_url":"https://api.github.com/users/binux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binux/subscriptions","organizations_url":"https://api.github.com/users/binux/orgs","repos_url":"https://api.github.com/users/binux/repos","events_url":"https://api.github.com/users/binux/events{/privacy}","received_events_url":"https://api.github.com/users/binux/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T11:59:35Z","updated_at":"2015-06-02T11:59:35Z","body":"I will add some messages to warn user the missing of the phantomjs command."}}