{"action":"created","issue":{"url":"https://api.github.com/repos/irit-melodi/educe/issues/75","labels_url":"https://api.github.com/repos/irit-melodi/educe/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/irit-melodi/educe/issues/75/comments","events_url":"https://api.github.com/repos/irit-melodi/educe/issues/75/events","html_url":"https://github.com/irit-melodi/educe/issues/75","id":108676115,"number":75,"title":"Failing feature extraction: num_nonling_tstars_between","user":{"login":"jrmyp","id":7461746,"avatar_url":"https://avatars.githubusercontent.com/u/7461746?v=3","gravatar_id":"","url":"https://api.github.com/users/jrmyp","html_url":"https://github.com/jrmyp","followers_url":"https://api.github.com/users/jrmyp/followers","following_url":"https://api.github.com/users/jrmyp/following{/other_user}","gists_url":"https://api.github.com/users/jrmyp/gists{/gist_id}","starred_url":"https://api.github.com/users/jrmyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrmyp/subscriptions","organizations_url":"https://api.github.com/users/jrmyp/orgs","repos_url":"https://api.github.com/users/jrmyp/repos","events_url":"https://api.github.com/users/jrmyp/events{/privacy}","received_events_url":"https://api.github.com/users/jrmyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T15:01:18Z","updated_at":"2015-09-29T12:13:17Z","closed_at":null,"body":"I ran `irit-stac gather` on the latest annotations, with the new feature set. The following appeared:\r\n\r\n```\r\nFile \"/home/perret/Slave/educe/educe/stac/learning/features.py\", line 636, in num_nonling_tstars_between\r\n    min(turn_id(x) for x in _edu2.dialogue_turns) - 1)\r\nTypeError: unsupported operand type(s) for -: 'NoneType' and 'int'\r\nCommand '['stac-learning', 'extract', 'data/combined', 'lexicon', 'TMP/2015-09-28T1242', '--anno', '(?i)bronze|silver|gold']' returned non-zero exit status 1\r\n```\r\n\r\nI'm investigating this and will update with more info. I suppose there are some non-fake root EDUs that also have `None` as turn_id."},"comment":{"url":"https://api.github.com/repos/irit-melodi/educe/issues/comments/144040804","html_url":"https://github.com/irit-melodi/educe/issues/75#issuecomment-144040804","issue_url":"https://api.github.com/repos/irit-melodi/educe/issues/75","id":144040804,"user":{"login":"moreymat","id":2861042,"avatar_url":"https://avatars.githubusercontent.com/u/2861042?v=3","gravatar_id":"","url":"https://api.github.com/users/moreymat","html_url":"https://github.com/moreymat","followers_url":"https://api.github.com/users/moreymat/followers","following_url":"https://api.github.com/users/moreymat/following{/other_user}","gists_url":"https://api.github.com/users/moreymat/gists{/gist_id}","starred_url":"https://api.github.com/users/moreymat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moreymat/subscriptions","organizations_url":"https://api.github.com/users/moreymat/orgs","repos_url":"https://api.github.com/users/moreymat/repos","events_url":"https://api.github.com/users/moreymat/events{/privacy}","received_events_url":"https://api.github.com/users/moreymat/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T12:13:17Z","updated_at":"2015-09-29T12:13:17Z","body":"Thanks for reporting this.\r\n\r\nI am able to reproduce this bug which is due to annotations that somehow got lost in the process.\r\nThis got under `stac-check`'s radar, so I must remedy this and fix the lost information.\r\n\r\nHence, I think it is better if I take over the investigations on this."}}