{"action":"created","issue":{"url":"https://api.github.com/repos/scrapinghub/portia/issues/596","repository_url":"https://api.github.com/repos/scrapinghub/portia","labels_url":"https://api.github.com/repos/scrapinghub/portia/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/scrapinghub/portia/issues/596/comments","events_url":"https://api.github.com/repos/scrapinghub/portia/issues/596/events","html_url":"https://github.com/scrapinghub/portia/issues/596","id":182429899,"number":596,"title":"Problem when deploy portia project","user":{"login":"vokhuongcse0604","id":18413348,"avatar_url":"https://avatars.githubusercontent.com/u/18413348?v=3","gravatar_id":"","url":"https://api.github.com/users/vokhuongcse0604","html_url":"https://github.com/vokhuongcse0604","followers_url":"https://api.github.com/users/vokhuongcse0604/followers","following_url":"https://api.github.com/users/vokhuongcse0604/following{/other_user}","gists_url":"https://api.github.com/users/vokhuongcse0604/gists{/gist_id}","starred_url":"https://api.github.com/users/vokhuongcse0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokhuongcse0604/subscriptions","organizations_url":"https://api.github.com/users/vokhuongcse0604/orgs","repos_url":"https://api.github.com/users/vokhuongcse0604/repos","events_url":"https://api.github.com/users/vokhuongcse0604/events{/privacy}","received_events_url":"https://api.github.com/users/vokhuongcse0604/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-12T03:59:58Z","updated_at":"2016-10-14T02:38:37Z","closed_at":null,"body":"Following construction about deploy portia project. I did step by step.\r\n- going into slyd/data/projects/PROJECT_NAME and adding your target to scrapy.cfg\r\n[settings]\r\ndefault = slybot.settings\r\n[deploy]\r\nurl = http://localhost:6800/\r\nproject = vnexpress\r\n- install crapyd and start it. every thing ok\r\nwith scrapy-deploy -l, i have \"defaut\" and \"http://localhost:6800\"\r\nbut i can't deploy project with scrapyd-deploy default -p vnexpress\r\nIt always response \r\nServer response (200):\r\n{\"status\": \"error\", \"message\": \"AttributeError: 'list' object has no attribute 'iteritems'\", \"node_name\": \"crawler\"}\r\n- i try to research stack overflow. they help me config file settings.py of project, so i going to slybot to config it's setting. I change ITEM_PIPELINES = {'slybot.dupefilter.DupeFilterPipeline': 1} to ITEM_PIPELINES = {'slybot.dupefilter.DupeFilterPipeline': 2} but still got above message. \r\nPlease help me fix this proplem. im newbie in portia and scrapy"},"comment":{"url":"https://api.github.com/repos/scrapinghub/portia/issues/comments/253695208","html_url":"https://github.com/scrapinghub/portia/issues/596#issuecomment-253695208","issue_url":"https://api.github.com/repos/scrapinghub/portia/issues/596","id":253695208,"user":{"login":"vokhuongcse0604","id":18413348,"avatar_url":"https://avatars.githubusercontent.com/u/18413348?v=3","gravatar_id":"","url":"https://api.github.com/users/vokhuongcse0604","html_url":"https://github.com/vokhuongcse0604","followers_url":"https://api.github.com/users/vokhuongcse0604/followers","following_url":"https://api.github.com/users/vokhuongcse0604/following{/other_user}","gists_url":"https://api.github.com/users/vokhuongcse0604/gists{/gist_id}","starred_url":"https://api.github.com/users/vokhuongcse0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokhuongcse0604/subscriptions","organizations_url":"https://api.github.com/users/vokhuongcse0604/orgs","repos_url":"https://api.github.com/users/vokhuongcse0604/repos","events_url":"https://api.github.com/users/vokhuongcse0604/events{/privacy}","received_events_url":"https://api.github.com/users/vokhuongcse0604/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T02:38:36Z","updated_at":"2016-10-14T02:38:36Z","body":"And scrapyd throw error:\r\nTraceback (most recent call last):\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/twisted/web/http.py\", line 1757, in allContentReceived\r\n\t    req.requestReceived(command, path, version)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/twisted/web/http.py\", line 823, in requestReceived\r\n\t    self.process()\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/twisted/web/server.py\", line 183, in process\r\n\t    self.render(resrc)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/twisted/web/server.py\", line 234, in render\r\n\t    body = resrc.render(self)\r\n\t--- <exception caught here> ---\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/scrapyd/webservice.py\", line 17, in render\r\n\t    return JsonResource.render(self, txrequest)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/scrapyd/utils.py\", line 19, in render\r\n\t    r = resource.Resource.render(self, txrequest)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/twisted/web/resource.py\", line 250, in render\r\n\t    return m(request)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/scrapyd/webservice.py\", line 68, in render_POST\r\n\t    spiders = get_spider_list(project)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/scrapyd/utils.py\", line 114, in get_spider_list\r\n\t    raise RuntimeError(msg.splitlines()[-1])\r\n\texceptions.RuntimeError: SyntaxError: invalid syntax\r\nHow i can fix it?"}}
{"actor":{"display_login":"vokhuongcse0604"}}