{"action":"created","issue":{"url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/1","repository_url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj","labels_url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/1/comments","events_url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/1/events","html_url":"https://github.com/duarteguilherme/consulta_cnpj/issues/1","id":343061271,"node_id":"MDU6SXNzdWUzNDMwNjEyNzE=","number":1,"title":"Erro ao executar ","user":{"login":"joneslisboa","id":41473462,"node_id":"MDQ6VXNlcjQxNDczNDYy","avatar_url":"https://avatars1.githubusercontent.com/u/41473462?v=4","gravatar_id":"","url":"https://api.github.com/users/joneslisboa","html_url":"https://github.com/joneslisboa","followers_url":"https://api.github.com/users/joneslisboa/followers","following_url":"https://api.github.com/users/joneslisboa/following{/other_user}","gists_url":"https://api.github.com/users/joneslisboa/gists{/gist_id}","starred_url":"https://api.github.com/users/joneslisboa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joneslisboa/subscriptions","organizations_url":"https://api.github.com/users/joneslisboa/orgs","repos_url":"https://api.github.com/users/joneslisboa/repos","events_url":"https://api.github.com/users/joneslisboa/events{/privacy}","received_events_url":"https://api.github.com/users/joneslisboa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-20T10:46:11Z","updated_at":"2018-07-30T21:00:37Z","closed_at":null,"author_association":"NONE","body":"Ola, amigo, ao executar seu código o mesmo apresenta esse erro, poderia por gentileza me dar uma luz ?? \r\n\r\n>>> print(x.consulta_cnpj('60701190000104'))\r\nTraceback (most recent call last):\r\n  File \"<pyshell#3>\", line 1, in <module>\r\n    print(x.consulta_cnpj('60701190000104'))\r\n  File \"C:\\Users\\jones\\Desktop\\python\\consulta_cnpj-master-py\\consulta_cnpj-master\\consulta_cnpj.py\", line 104, in consulta_cnpj\r\n    captcha = self.baixa_captcha()\r\n  File \"C:\\Users\\jones\\Desktop\\python\\consulta_cnpj-master-py\\consulta_cnpj-master\\consulta_cnpj.py\", line 86, in baixa_captcha\r\n    imagem_data = (ndimage.imread('teste.png'))\r\n  File \"C:\\Python35\\lib\\site-packages\\numpy\\lib\\utils.py\", line 101, in newfunc\r\n    return func(*args, **kwds)\r\n  File \"C:\\Python35\\lib\\site-packages\\scipy\\ndimage\\io.py\", line 28, in imread\r\n    return _imread(fname, flatten, mode)\r\n  File \"C:\\Python35\\lib\\site-packages\\numpy\\lib\\utils.py\", line 101, in newfunc\r\n    return func(*args, **kwds)\r\n  File \"C:\\Python35\\lib\\site-packages\\scipy\\misc\\pilutil.py\", line 164, in imread\r\n    im = Image.open(name)\r\n  File \"C:\\Python35\\lib\\site-packages\\PIL\\Image.py\", line 2622, in open\r\n    % (filename if filename else fp))\r\nOSError: cannot identify image file 'teste.png'\r\n>>> "},"comment":{"url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/comments/409008794","html_url":"https://github.com/duarteguilherme/consulta_cnpj/issues/1#issuecomment-409008794","issue_url":"https://api.github.com/repos/duarteguilherme/consulta_cnpj/issues/1","id":409008794,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTAwODc5NA==","user":{"login":"joneslisboa","id":41473462,"node_id":"MDQ6VXNlcjQxNDczNDYy","avatar_url":"https://avatars1.githubusercontent.com/u/41473462?v=4","gravatar_id":"","url":"https://api.github.com/users/joneslisboa","html_url":"https://github.com/joneslisboa","followers_url":"https://api.github.com/users/joneslisboa/followers","following_url":"https://api.github.com/users/joneslisboa/following{/other_user}","gists_url":"https://api.github.com/users/joneslisboa/gists{/gist_id}","starred_url":"https://api.github.com/users/joneslisboa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joneslisboa/subscriptions","organizations_url":"https://api.github.com/users/joneslisboa/orgs","repos_url":"https://api.github.com/users/joneslisboa/repos","events_url":"https://api.github.com/users/joneslisboa/events{/privacy}","received_events_url":"https://api.github.com/users/joneslisboa/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T21:00:37Z","updated_at":"2018-07-30T21:00:37Z","author_association":"NONE","body":"Cleiton \r\nAcredito que o problema na verdade e com a receita, parece que ficam sobrecarregados e o server deles reseta as conexões, tente por no comando curl um -v pois ai ele te mostra o erro certinho,  só consigo rodar na madrugada, funciona certinho :) tem essa questão, se você precisar de poucas consultas dia tem um monte de api por ai cobram centavinhos por consulta \r\n\r\nEspero por ter ajudado , abs ..."}}
{"actor":{"display_login":"joneslisboa"}}