{"action":"created","issue":{"url":"https://api.github.com/repos/ModernMT/MMT/issues/292","repository_url":"https://api.github.com/repos/ModernMT/MMT","labels_url":"https://api.github.com/repos/ModernMT/MMT/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/ModernMT/MMT/issues/292/comments","events_url":"https://api.github.com/repos/ModernMT/MMT/issues/292/events","html_url":"https://github.com/ModernMT/MMT/issues/292","id":269649764,"number":292,"title":"Multiple languages for a given engine, DataManagerException","user":{"login":"frdg","id":33219155,"avatar_url":"https://avatars3.githubusercontent.com/u/33219155?v=4","gravatar_id":"","url":"https://api.github.com/users/frdg","html_url":"https://github.com/frdg","followers_url":"https://api.github.com/users/frdg/followers","following_url":"https://api.github.com/users/frdg/following{/other_user}","gists_url":"https://api.github.com/users/frdg/gists{/gist_id}","starred_url":"https://api.github.com/users/frdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frdg/subscriptions","organizations_url":"https://api.github.com/users/frdg/orgs","repos_url":"https://api.github.com/users/frdg/repos","events_url":"https://api.github.com/users/frdg/events{/privacy}","received_events_url":"https://api.github.com/users/frdg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-30T15:46:12Z","updated_at":"2017-10-31T15:11:26Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI am trying to setup a multilingual engine.\r\n\r\nI went through the different steps:\r\n- create the engine\r\n- modify the engine.xconf to add the <pair> nodes\r\n- start the engine\r\n- add a new memory\r\n\r\nNext, whether I try to add a single contribution or upload parallel files to the new memory using the newly defined language-pair, I systematically get a DataManagerException.\r\n\r\nHere is the query:\r\n`curl -X POST http://localhost:8045/memories/2/corpus -d \"source=en\" -d \"target=de\" -d \"sentence=Good afternoon Mike!\" -d \"translation=Guten Tag, Mike!\" | python -mjson.tool`\r\n\r\nAnd here, the error message:\r\n`{\r\n    \"error\": {\r\n        \"message\": \"Unexpected exception while data-stream polling\",\r\n        \"type\": \"DataManagerException\"\r\n    },\r\n    \"status\": 500\r\n}`\r\n\r\nOnce this has happened, I cannot start the engine again and have to resort to deleting it and start again from scratch.\r\n\r\nI will post more details if you need them.\r\n"},"comment":{"url":"https://api.github.com/repos/ModernMT/MMT/issues/comments/340793671","html_url":"https://github.com/ModernMT/MMT/issues/292#issuecomment-340793671","issue_url":"https://api.github.com/repos/ModernMT/MMT/issues/292","id":340793671,"user":{"login":"frdg","id":33219155,"avatar_url":"https://avatars3.githubusercontent.com/u/33219155?v=4","gravatar_id":"","url":"https://api.github.com/users/frdg","html_url":"https://github.com/frdg","followers_url":"https://api.github.com/users/frdg/followers","following_url":"https://api.github.com/users/frdg/following{/other_user}","gists_url":"https://api.github.com/users/frdg/gists{/gist_id}","starred_url":"https://api.github.com/users/frdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frdg/subscriptions","organizations_url":"https://api.github.com/users/frdg/orgs","repos_url":"https://api.github.com/users/frdg/repos","events_url":"https://api.github.com/users/frdg/events{/privacy}","received_events_url":"https://api.github.com/users/frdg/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T15:11:26Z","updated_at":"2017-10-31T15:11:26Z","author_association":"NONE","body":"I'll try this.\r\n\r\nThank you for your answer and updating the wiki :)\r\n"}}
{"actor":{"display_login":"frdg"}}