{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1333","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1333/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1333/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1333","id":155874436,"number":1333,"title":"formatMethodMap[type] is not a function in vision lib","user":{"login":"uliporeggia","id":1704183,"avatar_url":"https://avatars.githubusercontent.com/u/1704183?v=3","gravatar_id":"","url":"https://api.github.com/users/uliporeggia","html_url":"https://github.com/uliporeggia","followers_url":"https://api.github.com/users/uliporeggia/followers","following_url":"https://api.github.com/users/uliporeggia/following{/other_user}","gists_url":"https://api.github.com/users/uliporeggia/gists{/gist_id}","starred_url":"https://api.github.com/users/uliporeggia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uliporeggia/subscriptions","organizations_url":"https://api.github.com/users/uliporeggia/orgs","repos_url":"https://api.github.com/users/uliporeggia/repos","events_url":"https://api.github.com/users/uliporeggia/events{/privacy}","received_events_url":"https://api.github.com/users/uliporeggia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/labels/vision","name":"vision","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-20T02:21:45Z","updated_at":"2016-05-20T15:16:09Z","closed_at":null,"body":"Just got this error calling `vision.detectText`\r\n\r\n```\r\nDebug: internal, implementation, error \r\n    TypeError: Uncaught error: formatMethodMap[type] is not a function\r\n    at /home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/vision/index.js:345:39\r\n    at Array.map (native)\r\n    at /home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/vision/index.js:388:18\r\n    at Array.map (native)\r\n    at /home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/vision/index.js:377:10\r\n    at /home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/vision/index.js:158:5\r\n    at Object.handleResp (/home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/common/util.js:126:3)\r\n    at /home/uli/Projetos/projeto-a/server/node_modules/gcloud/lib/common/util.js:446:12\r\n    at Request.onResponse [as _callback] (/home/uli/Projetos/projeto-a/server/node_modules/retry-request/index.js:117:7)\r\n    at Request.self.callback (/home/uli/Projetos/projeto-a/server/node_modules/gcloud/node_modules/request/request.js:200:22)\r\n```\r\n\r\nI am using node v4.3.2 with hapi framework"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/comments/220634263","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1333#issuecomment-220634263","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1333","id":220634263,"user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T15:16:09Z","updated_at":"2016-05-20T15:16:09Z","body":"I put together a PR that will make catching the error easier (#1334) (thanks for bringing this to our attention!)\r\n\r\nAs far as why the image is malformed, I can't be sure without testing the failing image and observing the steps that it goes through in your set up. Is it possible to put together a barebones repo so I can try locally?"}}
{"actor":{"display_login":"stephenplusplus"}}