{"action":"created","issue":{"url":"https://api.github.com/repos/gcovr/gcovr/issues/88","repository_url":"https://api.github.com/repos/gcovr/gcovr","labels_url":"https://api.github.com/repos/gcovr/gcovr/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/gcovr/gcovr/issues/88/comments","events_url":"https://api.github.com/repos/gcovr/gcovr/issues/88/events","html_url":"https://github.com/gcovr/gcovr/issues/88","id":64721513,"number":88,"title":"IOError: [Errno 63] File name too long","user":{"login":"runv","id":2070066,"avatar_url":"https://avatars1.githubusercontent.com/u/2070066?v=3","gravatar_id":"","url":"https://api.github.com/users/runv","html_url":"https://github.com/runv","followers_url":"https://api.github.com/users/runv/followers","following_url":"https://api.github.com/users/runv/following{/other_user}","gists_url":"https://api.github.com/users/runv/gists{/gist_id}","starred_url":"https://api.github.com/users/runv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runv/subscriptions","organizations_url":"https://api.github.com/users/runv/orgs","repos_url":"https://api.github.com/users/runv/repos","events_url":"https://api.github.com/users/runv/events{/privacy}","received_events_url":"https://api.github.com/users/runv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-03-27T08:48:44Z","updated_at":"2017-05-10T10:17:02Z","closed_at":null,"body":"gcovr -r fails when processing objective c file with a name, which is longer then 63 letters:\n\nTraceback (most recent call last):\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/bin/gcovr\", line 1961, in <module>\n    process_datafile(file_,covdata,options)\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/bin/gcovr\", line 749, in process_datafile\n    process_gcov_data(fname, covdata, options)\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/bin/gcovr\", line 412, in process_gcov_data\n    INPUT = open(data_fname,\"r\")\nIOError: [Errno 63] File name too long: u'#var#lib#slave#workspace#com.abcde.app.aaaa#modules#client#abc-abc-abc-abc#src#a#items#process1#subprocess1#subprocess2#ff#ABCEfgHijklMnopQRstuvSomeClassName.m.gcov'\n\ngcovr --version\ngcovr 3.2\n"},"comment":{"url":"https://api.github.com/repos/gcovr/gcovr/issues/comments/300439250","html_url":"https://github.com/gcovr/gcovr/issues/88#issuecomment-300439250","issue_url":"https://api.github.com/repos/gcovr/gcovr/issues/88","id":300439250,"user":{"login":"PaulTaykalo","id":119268,"avatar_url":"https://avatars3.githubusercontent.com/u/119268?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulTaykalo","html_url":"https://github.com/PaulTaykalo","followers_url":"https://api.github.com/users/PaulTaykalo/followers","following_url":"https://api.github.com/users/PaulTaykalo/following{/other_user}","gists_url":"https://api.github.com/users/PaulTaykalo/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulTaykalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulTaykalo/subscriptions","organizations_url":"https://api.github.com/users/PaulTaykalo/orgs","repos_url":"https://api.github.com/users/PaulTaykalo/repos","events_url":"https://api.github.com/users/PaulTaykalo/events{/privacy}","received_events_url":"https://api.github.com/users/PaulTaykalo/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T10:17:02Z","updated_at":"2017-05-10T10:17:02Z","body":"This is kind'a fixes it...\r\n```\r\ndef process_gcov_data(data_fname, covdata, source_fname, options):\r\n    try:\r\n        INPUT = open(data_fname, \"r\")\r\n    except Exception as e:\r\n        sys.stdout.write(\"  Cannot open gcov file %s\\n\" % e.strerror)\r\n        return\r\n```"}}
{"actor":{"display_login":"PaulTaykalo"}}