{"action":"created","issue":{"url":"https://api.github.com/repos/aclements/latexrun/issues/19","repository_url":"https://api.github.com/repos/aclements/latexrun","labels_url":"https://api.github.com/repos/aclements/latexrun/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/aclements/latexrun/issues/19/comments","events_url":"https://api.github.com/repos/aclements/latexrun/issues/19/events","html_url":"https://github.com/aclements/latexrun/issues/19","id":61776298,"number":19,"title":"Latexrun fails on long file names","user":{"login":"anuragm","id":7421453,"avatar_url":"https://avatars.githubusercontent.com/u/7421453?v=3","gravatar_id":"","url":"https://api.github.com/users/anuragm","html_url":"https://github.com/anuragm","followers_url":"https://api.github.com/users/anuragm/followers","following_url":"https://api.github.com/users/anuragm/following{/other_user}","gists_url":"https://api.github.com/users/anuragm/gists{/gist_id}","starred_url":"https://api.github.com/users/anuragm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuragm/subscriptions","organizations_url":"https://api.github.com/users/anuragm/orgs","repos_url":"https://api.github.com/users/anuragm/repos","events_url":"https://api.github.com/users/anuragm/events{/privacy}","received_events_url":"https://api.github.com/users/anuragm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-03-15T08:33:05Z","updated_at":"2016-07-26T13:00:39Z","closed_at":"2015-07-12T20:26:00Z","body":"When compiling a file with long name (>48 characters, perhaps?), latexrun fails with error\r\n\r\n```\r\nfailed to extract job name from latex log\r\n```\r\n\r\nFor example, create a latex file with name\r\n```\r\nthisisanabsurdlylonglatexfilenamewhichgoesonandonforever.tex\r\n```\r\nwith code\r\n```\r\n\\documentclass{article}\r\n\\begin{document}\r\ntest\r\n\\end{document}\r\n```\r\n\r\nLatexrun fails with error log in terminal\r\n\r\n```\r\nhis is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)\r\n restricted \\write18 enabled.\r\nentering extended mode\r\n(./thisisanabsurdlylonglatexfilenamewhichgoesonandonforever.tex\r\nLaTeX2e <2011/06/27>\r\nBabel <3.9f> and hyphenation patterns for 78 languages loaded.\r\n(/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls\r\nDocument Class: article 2007/10/19 v1.4h Standard LaTeX document class\r\n(/usr/local/texlive/2013/texmf-dist/tex/latex/base/size10.clo))\r\n(latex.out/thisisanabsurdlylonglatexfilenamewhichgoesonandonforever.aux)\r\n[1{/usr/local/texlive/2013/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]\r\n(latex.out/thisisanabsurdlylonglatexfilenamewhichgoesonandonforever.aux) )</usr\r\n/local/texlive/2013/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>\r\nOutput written on latex.out/thisisanabsurdlylonglatexfilenamewhichgoesonandonfo\r\nrever.pdf (1 page, 10603 bytes).\r\nTranscript written on latex.out/thisisanabsurdlylonglatexfilenamewhichgoesonand\r\nonforever.log.\r\n\r\nfailed to extract job name from latex log\r\nThere were errors; output not updated\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aclements/latexrun/issues/comments/235259790","html_url":"https://github.com/aclements/latexrun/issues/19#issuecomment-235259790","issue_url":"https://api.github.com/repos/aclements/latexrun/issues/19","id":235259790,"user":{"login":"osdf","id":193341,"avatar_url":"https://avatars.githubusercontent.com/u/193341?v=3","gravatar_id":"","url":"https://api.github.com/users/osdf","html_url":"https://github.com/osdf","followers_url":"https://api.github.com/users/osdf/followers","following_url":"https://api.github.com/users/osdf/following{/other_user}","gists_url":"https://api.github.com/users/osdf/gists{/gist_id}","starred_url":"https://api.github.com/users/osdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdf/subscriptions","organizations_url":"https://api.github.com/users/osdf/orgs","repos_url":"https://api.github.com/users/osdf/repos","events_url":"https://api.github.com/users/osdf/events{/privacy}","received_events_url":"https://api.github.com/users/osdf/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T13:00:39Z","updated_at":"2016-07-26T13:00:39Z","body":"Hi there. I'd like to reopen this issue. We stumbled over the special case of ```log.``` being on a single line, i.e.\r\n```\r\nTranscript written on latex.out/exactly_as_many_chars_for_this_case.\r\nlog.\r\n```\r\nI tried a few quick ideas but couldn't get the regex working for this case. Any idea/help?"}}
{"actor":{"display_login":"osdf"}}