{"action":"created","issue":{"url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/345","repository_url":"https://api.github.com/repos/golastmile/rasa_nlu","labels_url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/345/comments","events_url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/345/events","html_url":"https://github.com/golastmile/rasa_nlu/issues/345","id":227260058,"number":345,"title":"Can't query by model name","user":{"login":"sergmetelin","id":2141500,"avatar_url":"https://avatars2.githubusercontent.com/u/2141500?v=3","gravatar_id":"","url":"https://api.github.com/users/sergmetelin","html_url":"https://github.com/sergmetelin","followers_url":"https://api.github.com/users/sergmetelin/followers","following_url":"https://api.github.com/users/sergmetelin/following{/other_user}","gists_url":"https://api.github.com/users/sergmetelin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergmetelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergmetelin/subscriptions","organizations_url":"https://api.github.com/users/sergmetelin/orgs","repos_url":"https://api.github.com/users/sergmetelin/repos","events_url":"https://api.github.com/users/sergmetelin/events{/privacy}","received_events_url":"https://api.github.com/users/sergmetelin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-09T06:08:57Z","updated_at":"2017-05-09T06:38:20Z","closed_at":null,"body":"Running rasa_nlu 0.8.2\r\n\r\nWhen I'm trying to query for a specific model name, app fails:\r\n`curl 'http://localhost:5000/parse?q=hello&model=590fa98034a6071dc6e503f5'`\r\n\r\nI can see a folder for the trained model, but I can't see the model when calling /status endpoint (may be a separate issue).\r\n\r\n```\r\n[2017-05-09 16:03:46,988] ERROR in app: Exception on /parse [GET]\r\n'Traceback' (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1982, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1614, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1517, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1612, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1598, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/server.py\", line 50, in decorated\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/server.py\", line 71, in parse_get\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/data_router.py\", line 158, in parse\r\n    response = model.parse(data['text'])\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/model.py\", line 266, in parse\r\n    updates = component.process(*args)\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/extractors/crf_entity_extractor.py\", line 93, in process\r\n    extracted = self.add_extractor_name(self.extract_entities(text, spacy_nlp))\r\n  File \"build/bdist.macosx-10.12-x86_64/egg/rasa_nlu/extractors/crf_entity_extractor.py\", line 115, in extract_entities\r\n    ents = self.ent_tagger.tag(features)\r\nAttributeError: 'NoneType' object has no attribute 'tag'\r\n```"},"comment":{"url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/comments/300074845","html_url":"https://github.com/golastmile/rasa_nlu/issues/345#issuecomment-300074845","issue_url":"https://api.github.com/repos/golastmile/rasa_nlu/issues/345","id":300074845,"user":{"login":"sergmetelin","id":2141500,"avatar_url":"https://avatars2.githubusercontent.com/u/2141500?v=3","gravatar_id":"","url":"https://api.github.com/users/sergmetelin","html_url":"https://github.com/sergmetelin","followers_url":"https://api.github.com/users/sergmetelin/followers","following_url":"https://api.github.com/users/sergmetelin/following{/other_user}","gists_url":"https://api.github.com/users/sergmetelin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergmetelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergmetelin/subscriptions","organizations_url":"https://api.github.com/users/sergmetelin/orgs","repos_url":"https://api.github.com/users/sergmetelin/repos","events_url":"https://api.github.com/users/sergmetelin/events{/privacy}","received_events_url":"https://api.github.com/users/sergmetelin/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T06:38:20Z","updated_at":"2017-05-09T06:38:20Z","body":"Yes, stable release works fine with spacy.\r\nI needed the functionality to query towards the model name, so migrated to latest and it doesn't work anymore."}}
{"actor":{"display_login":"sergmetelin"}}