{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/3020","repository_url":"https://api.github.com/repos/pytest-dev/pytest","labels_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3020/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3020/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3020/events","html_url":"https://github.com/pytest-dev/pytest/issues/3020","id":281308175,"number":3020,"title":"INTERNALERROR> ValueError: stat: path too long for Windows","user":{"login":"UANEMESIS","id":27063655,"avatar_url":"https://avatars0.githubusercontent.com/u/27063655?v=4","gravatar_id":"","url":"https://api.github.com/users/UANEMESIS","html_url":"https://github.com/UANEMESIS","followers_url":"https://api.github.com/users/UANEMESIS/followers","following_url":"https://api.github.com/users/UANEMESIS/following{/other_user}","gists_url":"https://api.github.com/users/UANEMESIS/gists{/gist_id}","starred_url":"https://api.github.com/users/UANEMESIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UANEMESIS/subscriptions","organizations_url":"https://api.github.com/users/UANEMESIS/orgs","repos_url":"https://api.github.com/users/UANEMESIS/repos","events_url":"https://api.github.com/users/UANEMESIS/events{/privacy}","received_events_url":"https://api.github.com/users/UANEMESIS/received_events","type":"User","site_admin":false},"labels":[{"id":224849193,"url":"https://api.github.com/repos/pytest-dev/pytest/labels/type:%20bug","name":"type: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-12T09:12:02Z","updated_at":"2017-12-12T14:24:50Z","closed_at":null,"author_association":"NONE","body":"```INTERNALERROR> Traceback (most recent call last):\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\main.py\", line 111, in wrap_session\r\nINTERNALERROR>     session.exitstatus = doit(config, session) or 0\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\main.py\", line 147, in _main\r\nINTERNALERROR>     config.hook.pytest_runtestloop(session=session)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 745, in __call__\r\nINTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 339, in _hookexec\r\nINTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 334, in <lambda>\r\nINTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 614, in execute\r\nINTERNALERROR>     res = hook_impl.function(*args)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\main.py\", line 170, in pytest_runtestloop\r\nINTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 745, in __call__\r\nINTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 339, in _hookexec\r\nINTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 334, in <lambda>\r\nINTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 613, in execute\r\nINTERNALERROR>     return _wrapped_call(hook_impl.function(*args), self.execute)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 254, in _wrapped_call\r\nINTERNALERROR>     return call_outcome.get_result()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 279, in get_result\r\nINTERNALERROR>     raise ex[1].with_traceback(ex[2])\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 265, in __init__\r\nINTERNALERROR>     self.result = func()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 613, in execute\r\nINTERNALERROR>     return _wrapped_call(hook_impl.function(*args), self.execute)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 254, in _wrapped_call\r\nINTERNALERROR>     return call_outcome.get_result()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 279, in get_result\r\nINTERNALERROR>     raise ex[1].with_traceback(ex[2])\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 265, in __init__\r\nINTERNALERROR>     self.result = func()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 614, in execute\r\nINTERNALERROR>     res = hook_impl.function(*args)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\runner.py\", line 63, in pytest_runtest_protocol\r\nINTERNALERROR>     runtestprotocol(item, nextitem=nextitem)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\runner.py\", line 77, in runtestprotocol\r\nINTERNALERROR>     reports.append(call_and_report(item, \"call\", log))\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\runner.py\", line 161, in call_and_report\r\nINTERNALERROR>     hook.pytest_runtest_logreport(report=report)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 745, in __call__\r\nINTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 339, in _hookexec\r\nINTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 334, in <lambda>\r\nINTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\_pytest\\vendored_packages\\pluggy.py\", line 614, in execute\r\nINTERNALERROR>     res = hook_impl.function(*args)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\pytest_html\\plugin.py\", line 470, in pytest_runtest_logreport\r\nINTERNALERROR>     self.append_failed(report)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\pytest_html\\plugin.py\", line 280, in append_failed\r\nINTERNALERROR>     self._appendrow('Failed', report)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\pytest_html\\plugin.py\", line 252, in _appendrow\r\nINTERNALERROR>     result = self.TestResult(outcome, report, self.logfile, self.config)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\pytest_html\\plugin.py\", line 112, in __init__\r\nINTERNALERROR>     self.append_extra_html(extra, extra_index, test_index)\r\nINTERNALERROR>   File \"c:\\python36\\lib\\site-packages\\pytest_html\\plugin.py\", line 163, in append_extra_html\r\nINTERNALERROR>     os.path.isfile(content):\r\nINTERNALERROR>   File \"c:\\python36\\lib\\genericpath.py\", line 30, in isfile\r\nINTERNALERROR>     st = os.stat(path)\r\nINTERNALERROR> ValueError: stat: path too long for Windows```"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/comments/351065908","html_url":"https://github.com/pytest-dev/pytest/issues/3020#issuecomment-351065908","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3020","id":351065908,"user":{"login":"RonnyPfannschmidt","id":156838,"avatar_url":"https://avatars1.githubusercontent.com/u/156838?v=4","gravatar_id":"","url":"https://api.github.com/users/RonnyPfannschmidt","html_url":"https://github.com/RonnyPfannschmidt","followers_url":"https://api.github.com/users/RonnyPfannschmidt/followers","following_url":"https://api.github.com/users/RonnyPfannschmidt/following{/other_user}","gists_url":"https://api.github.com/users/RonnyPfannschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/RonnyPfannschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonnyPfannschmidt/subscriptions","organizations_url":"https://api.github.com/users/RonnyPfannschmidt/orgs","repos_url":"https://api.github.com/users/RonnyPfannschmidt/repos","events_url":"https://api.github.com/users/RonnyPfannschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/RonnyPfannschmidt/received_events","type":"User","site_admin":false},"created_at":"2017-12-12T14:24:50Z","updated_at":"2017-12-12T14:24:50Z","author_association":"OWNER","body":"yes, please resport the traceback to pytest-html, as far as i can tel lthe code in question checks if something is a fille without ensuring its a valid filename"}}
{"actor":{"display_login":"RonnyPfannschmidt"}}