{"action":"closed","issue":{"url":"https://api.github.com/repos/FraBle/python-sutime/issues/1","repository_url":"https://api.github.com/repos/FraBle/python-sutime","labels_url":"https://api.github.com/repos/FraBle/python-sutime/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/FraBle/python-sutime/issues/1/comments","events_url":"https://api.github.com/repos/FraBle/python-sutime/issues/1/events","html_url":"https://github.com/FraBle/python-sutime/issues/1","id":184805009,"number":1,"title":"crashes for given input","user":{"login":"savvopoulos","id":747519,"avatar_url":"https://avatars.githubusercontent.com/u/747519?v=3","gravatar_id":"","url":"https://api.github.com/users/savvopoulos","html_url":"https://github.com/savvopoulos","followers_url":"https://api.github.com/users/savvopoulos/followers","following_url":"https://api.github.com/users/savvopoulos/following{/other_user}","gists_url":"https://api.github.com/users/savvopoulos/gists{/gist_id}","starred_url":"https://api.github.com/users/savvopoulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savvopoulos/subscriptions","organizations_url":"https://api.github.com/users/savvopoulos/orgs","repos_url":"https://api.github.com/users/savvopoulos/repos","events_url":"https://api.github.com/users/savvopoulos/events{/privacy}","received_events_url":"https://api.github.com/users/savvopoulos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-24T10:35:53Z","updated_at":"2016-10-25T18:41:43Z","closed_at":"2016-10-25T18:41:43Z","body":"Hi, this lib is crashing on the input below, with:\r\n```\r\n  File \"step_1_gen_input.py\", line 34, in <lambda>\r\n    return lambda text: sutime.parse(text)\r\n  File \"/usr/local/lib/python3.5/site-packages/sutime/sutime.py\", line 107, in parse\r\n    return json.loads(self._sutime.annotate(input_str))\r\njpype._jexception.IllegalArgumentExceptionPyRaisable: java.lang.IllegalArgumentException: Fields invalid for add\r\n```\r\n\r\nCode (that worked on another 145 samples):\r\n```\r\n        from sutime import SUTime\r\n        jars = os.path.join(os.path.dirname(__file__), 'jars')\r\n        sutime = SUTime(jars, mark_time_ranges=True)\r\n[...]\r\n        sutime.parse(text)\r\n```\r\n\r\n\r\nInput:\r\n```\r\nHi Sally,\r\n\r\nI need to be working on my newest project, for which we went to Hallettsville\r\nthis week, and tomorrow is Garden club, and I am almost through as president.\r\n I will not preside in April, as I have a conflict-new secretary in Colonial\r\nDames and then all we have left in Garden Club will be our May luncheon.\r\nBeing presdent has not been too bad, as all of the ladies are very helpful.\r\nMy project is the completion of our papers for the recognition of our\r\ncemetery by the State Historic Commissson .    That is why we were in\r\nHallettville.  Hope to get that done by Tuesday-there are many attachments\r\nnecessary.  We stayed in a Bed and Breakfast, which was fair but not\r\noustanding breakfast. I ran by to see Dot for a few minutes before we headed\r\nhome.  Mary had spent Sunday night with us to go with us and we met our\r\ncousin from Missouri City also.\r\n\r\nEnough of that, this will be a great quick way to communicate.  I am glad\r\nCindy gave me your address.  Hope you have had a great week-end.  I will\r\nwrite more another time.\r\n\r\nLove,\r\n\r\nMom (almost signed it Sue)\r\n```"}}
{"actor":{"display_login":"FraBle"}}