{"action":"created","issue":{"url":"https://api.github.com/repos/binux/pyspider/issues/197","labels_url":"https://api.github.com/repos/binux/pyspider/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/binux/pyspider/issues/197/comments","events_url":"https://api.github.com/repos/binux/pyspider/issues/197/events","html_url":"https://github.com/binux/pyspider/issues/197","id":72069320,"number":197,"title":"501 server error: after installed PhantomJS, i run \"pyspider all\" in linux, then i visit web url and run the handler, but it raise error, what does it mean? ","user":{"login":"timesgarden","id":3774872,"avatar_url":"https://avatars.githubusercontent.com/u/3774872?v=3","gravatar_id":"","url":"https://api.github.com/users/timesgarden","html_url":"https://github.com/timesgarden","followers_url":"https://api.github.com/users/timesgarden/followers","following_url":"https://api.github.com/users/timesgarden/following{/other_user}","gists_url":"https://api.github.com/users/timesgarden/gists{/gist_id}","starred_url":"https://api.github.com/users/timesgarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timesgarden/subscriptions","organizations_url":"https://api.github.com/users/timesgarden/orgs","repos_url":"https://api.github.com/users/timesgarden/repos","events_url":"https://api.github.com/users/timesgarden/events{/privacy}","received_events_url":"https://api.github.com/users/timesgarden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-30T05:42:18Z","updated_at":"2015-04-30T06:45:32Z","closed_at":null,"body":"Handler is as below:\r\n\r\nclass Handler(BaseHandler):\r\n\r\n    def on_start(self):\r\n        self.crawl('http://www.baidu.com', fetch_type='js', callback=self.index_page)\r\n\r\n    def index_page(self, response):\r\n        return {\r\n            \"url\": response.url\r\n        }\r\n\r\nOutput is as below:\r\n[E 150430 11:21:55 base_handler:192] 501 Server Error\r\n    Traceback (most recent call last):\r\n      File \"/home/op1/installs/env/lib/python2.7/site-packages/pyspider-0.3.4-py2.7.egg/pyspider/libs/base_handler.py\", line 185, in run_task\r\n        result = self._run_task(task, response)\r\n      File \"/home/op1/installs/env/lib/python2.7/site-packages/pyspider-0.3.4-py2.7.egg/pyspider/libs/base_handler.py\", line 168, in _run_task\r\n        response.raise_for_status()\r\n      File \"/home/op1/installs/env/lib/python2.7/site-packages/pyspider-0.3.4-py2.7.egg/pyspider/libs/response.py\", line 183, in raise_for_status\r\n        raise http_error\r\n    HTTPError: 501 Server Error"},"comment":{"url":"https://api.github.com/repos/binux/pyspider/issues/comments/97679994","html_url":"https://github.com/binux/pyspider/issues/197#issuecomment-97679994","issue_url":"https://api.github.com/repos/binux/pyspider/issues/197","id":97679994,"user":{"login":"timesgarden","id":3774872,"avatar_url":"https://avatars.githubusercontent.com/u/3774872?v=3","gravatar_id":"","url":"https://api.github.com/users/timesgarden","html_url":"https://github.com/timesgarden","followers_url":"https://api.github.com/users/timesgarden/followers","following_url":"https://api.github.com/users/timesgarden/following{/other_user}","gists_url":"https://api.github.com/users/timesgarden/gists{/gist_id}","starred_url":"https://api.github.com/users/timesgarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timesgarden/subscriptions","organizations_url":"https://api.github.com/users/timesgarden/orgs","repos_url":"https://api.github.com/users/timesgarden/repos","events_url":"https://api.github.com/users/timesgarden/events{/privacy}","received_events_url":"https://api.github.com/users/timesgarden/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T06:45:32Z","updated_at":"2015-04-30T06:45:32Z","body":"really appreciate your quick reply, it really helps a lot, thank you!!!"}}