{"action":"created","issue":{"url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/56","repository_url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian","labels_url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/56/comments","events_url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/56/events","html_url":"https://github.com/adeloucas/GSoC-Akkadian/issues/56","id":345401215,"node_id":"MDU6SXNzdWUzNDU0MDEyMTU=","number":56,"title":"`_find_transliteration` doesn't work for cdli_corpus (no metadata)","user":{"login":"adeloucas","id":38022737,"node_id":"MDQ6VXNlcjM4MDIyNzM3","avatar_url":"https://avatars2.githubusercontent.com/u/38022737?v=4","gravatar_id":"","url":"https://api.github.com/users/adeloucas","html_url":"https://github.com/adeloucas","followers_url":"https://api.github.com/users/adeloucas/followers","following_url":"https://api.github.com/users/adeloucas/following{/other_user}","gists_url":"https://api.github.com/users/adeloucas/gists{/gist_id}","starred_url":"https://api.github.com/users/adeloucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeloucas/subscriptions","organizations_url":"https://api.github.com/users/adeloucas/orgs","repos_url":"https://api.github.com/users/adeloucas/repos","events_url":"https://api.github.com/users/adeloucas/events{/privacy}","received_events_url":"https://api.github.com/users/adeloucas/received_events","type":"User","site_admin":false},"labels":[{"id":911740385,"node_id":"MDU6TGFiZWw5MTE3NDAzODU=","url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"adeloucas","id":38022737,"node_id":"MDQ6VXNlcjM4MDIyNzM3","avatar_url":"https://avatars2.githubusercontent.com/u/38022737?v=4","gravatar_id":"","url":"https://api.github.com/users/adeloucas","html_url":"https://github.com/adeloucas","followers_url":"https://api.github.com/users/adeloucas/followers","following_url":"https://api.github.com/users/adeloucas/following{/other_user}","gists_url":"https://api.github.com/users/adeloucas/gists{/gist_id}","starred_url":"https://api.github.com/users/adeloucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeloucas/subscriptions","organizations_url":"https://api.github.com/users/adeloucas/orgs","repos_url":"https://api.github.com/users/adeloucas/repos","events_url":"https://api.github.com/users/adeloucas/events{/privacy}","received_events_url":"https://api.github.com/users/adeloucas/received_events","type":"User","site_admin":false},"assignees":[{"login":"adeloucas","id":38022737,"node_id":"MDQ6VXNlcjM4MDIyNzM3","avatar_url":"https://avatars2.githubusercontent.com/u/38022737?v=4","gravatar_id":"","url":"https://api.github.com/users/adeloucas","html_url":"https://github.com/adeloucas","followers_url":"https://api.github.com/users/adeloucas/followers","following_url":"https://api.github.com/users/adeloucas/following{/other_user}","gists_url":"https://api.github.com/users/adeloucas/gists{/gist_id}","starred_url":"https://api.github.com/users/adeloucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeloucas/subscriptions","organizations_url":"https://api.github.com/users/adeloucas/orgs","repos_url":"https://api.github.com/users/adeloucas/repos","events_url":"https://api.github.com/users/adeloucas/events{/privacy}","received_events_url":"https://api.github.com/users/adeloucas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-07-28T00:33:22Z","updated_at":"2018-08-05T01:00:40Z","closed_at":"2018-08-05T01:00:40Z","author_association":"OWNER","body":"`_find_transliteration` doesn't work for cdli_corpus (no metadata)\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:/Users/andrew.deloucas/GSoC-Akkadian/Testpad.py\", line 14, in <module>\r\n    cc.ingest_text_file(fi.file_lines)\r\n  File \"C:\\Users\\andrew.deloucas\\GSoC-Akkadian\\Importer\\cdli_corpus.py\", line 155, in ingest_text_file\r\n    self._ingest(text_lines)\r\n  File \"C:\\Users\\andrew.deloucas\\GSoC-Akkadian\\Importer\\cdli_corpus.py\", line 141, in _ingest\r\n    metadata = self._find_metadata(file_lines)\r\n  File \"C:\\Users\\andrew.deloucas\\GSoC-Akkadian\\Importer\\cdli_corpus.py\", line 111, in _find_metadata\r\n    if text[0].startswith('&'):\r\nIndexError: list index out of range\r\n```\r\n\r\nInitial thoughts: is there a way to solve for this without the `try` function?"},"comment":{"url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/comments/410487598","html_url":"https://github.com/adeloucas/GSoC-Akkadian/issues/56#issuecomment-410487598","issue_url":"https://api.github.com/repos/adeloucas/GSoC-Akkadian/issues/56","id":410487598,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ4NzU5OA==","user":{"login":"adeloucas","id":38022737,"node_id":"MDQ6VXNlcjM4MDIyNzM3","avatar_url":"https://avatars2.githubusercontent.com/u/38022737?v=4","gravatar_id":"","url":"https://api.github.com/users/adeloucas","html_url":"https://github.com/adeloucas","followers_url":"https://api.github.com/users/adeloucas/followers","following_url":"https://api.github.com/users/adeloucas/following{/other_user}","gists_url":"https://api.github.com/users/adeloucas/gists{/gist_id}","starred_url":"https://api.github.com/users/adeloucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeloucas/subscriptions","organizations_url":"https://api.github.com/users/adeloucas/orgs","repos_url":"https://api.github.com/users/adeloucas/repos","events_url":"https://api.github.com/users/adeloucas/events{/privacy}","received_events_url":"https://api.github.com/users/adeloucas/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T01:00:40Z","updated_at":"2018-08-05T01:00:40Z","author_association":"OWNER","body":"This has been solved."}}
{"actor":{"display_login":"adeloucas"}}