{"action":"closed","issue":{"url":"https://api.github.com/repos/cdli-gh/atf2conll-convertor/issues/12","repository_url":"https://api.github.com/repos/cdli-gh/atf2conll-convertor","labels_url":"https://api.github.com/repos/cdli-gh/atf2conll-convertor/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cdli-gh/atf2conll-convertor/issues/12/comments","events_url":"https://api.github.com/repos/cdli-gh/atf2conll-convertor/issues/12/events","html_url":"https://github.com/cdli-gh/atf2conll-convertor/issues/12","id":314014796,"number":12,"title":"SyntaxError: PyOracc could not parse...","user":{"login":"khoidt","id":7487683,"avatar_url":"https://avatars0.githubusercontent.com/u/7487683?v=4","gravatar_id":"","url":"https://api.github.com/users/khoidt","html_url":"https://github.com/khoidt","followers_url":"https://api.github.com/users/khoidt/followers","following_url":"https://api.github.com/users/khoidt/following{/other_user}","gists_url":"https://api.github.com/users/khoidt/gists{/gist_id}","starred_url":"https://api.github.com/users/khoidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khoidt/subscriptions","organizations_url":"https://api.github.com/users/khoidt/orgs","repos_url":"https://api.github.com/users/khoidt/repos","events_url":"https://api.github.com/users/khoidt/events{/privacy}","received_events_url":"https://api.github.com/users/khoidt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-13T08:29:33Z","updated_at":"2018-04-13T17:52:44Z","closed_at":"2018-04-13T17:52:44Z","author_association":"NONE","body":"Trying the new version of the converter, I run into the following PyORACC error that breaks the process:\r\n```\r\nInfo: Checking ../ur3_corpus_data/atf\\P100090.atf with Pyoracc atfchecker.\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Ilya\\AppData\\Local\\Programs\\Python\\Python35-32\\Scripts\\atf2conll-script.py\", line 9, in <module>\r\n    load_entry_point('atf2conllconvertor==0.2.6', 'console_scripts', 'atf2conll')()\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\click\\core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\click\\core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\click\\core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\click\\core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\atf2conll_convertor\\cli.py\", line 42, in main\r\n    check_and_process(pathname, verbose)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\atf2conll_convertor\\cli.py\", line 28, in check_and_process\r\n    file_process(pathname, verbose)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\atf2conll_convertor\\cli.py\", line 15, in file_process\r\n    check_atf(infile, 'cdli', verbose)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\pyoracc\\atf\\common\\atffile.py\", line 76, in check_atf\r\n    AtfFile(content, atftype, verbose)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\pyoracc\\atf\\common\\atffile.py\", line 64, in __init__\r\n    self.text = parser.parse(content, lexer=lexer)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\ply\\yacc.py\", line 333, in parse\r\n    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\ply\\yacc.py\", line 1201, in parseopt_notrack\r\n    tok = call_errorfunc(self.errorfunc, errtoken, self)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\ply\\yacc.py\", line 192, in call_errorfunc\r\n    r = errorfunc(token)\r\n  File \"c:\\users\\ilya\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\pyoracc\\atf\\common\\atfyacc.py\", line 833, in p_error\r\n    (None, p.lineno, p.lexpos, valuestring))\r\n  File \"<string>\", line 14\r\n    Mayr\r\n                                                                                                                                                                                                                                                                                                 ^\r\nSyntaxError: PyOracc could not parse token ID at line 14 at offset 286 with value 'Mayr'.\r\n```\r\n@jayanthjaiswal, would it be possible to make the program continue after such errors, and then perhaps log the names of the ignored files with the errors that caused it in a separate log?"}}
{"actor":{"display_login":"khoidt"}}