{"action":"created","issue":{"url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/846","repository_url":"https://api.github.com/repos/RaRe-Technologies/gensim","labels_url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/846/comments","events_url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/846/events","html_url":"https://github.com/RaRe-Technologies/gensim/issues/846","id":174292674,"number":846,"title":"TypeError: cannot concatenate 'str' and 'int' objects","user":{"login":"loretoparisi","id":163333,"avatar_url":"https://avatars.githubusercontent.com/u/163333?v=3","gravatar_id":"","url":"https://api.github.com/users/loretoparisi","html_url":"https://github.com/loretoparisi","followers_url":"https://api.github.com/users/loretoparisi/followers","following_url":"https://api.github.com/users/loretoparisi/following{/other_user}","gists_url":"https://api.github.com/users/loretoparisi/gists{/gist_id}","starred_url":"https://api.github.com/users/loretoparisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loretoparisi/subscriptions","organizations_url":"https://api.github.com/users/loretoparisi/orgs","repos_url":"https://api.github.com/users/loretoparisi/repos","events_url":"https://api.github.com/users/loretoparisi/events{/privacy}","received_events_url":"https://api.github.com/users/loretoparisi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tmylk","id":1261528,"avatar_url":"https://avatars.githubusercontent.com/u/1261528?v=3","gravatar_id":"","url":"https://api.github.com/users/tmylk","html_url":"https://github.com/tmylk","followers_url":"https://api.github.com/users/tmylk/followers","following_url":"https://api.github.com/users/tmylk/following{/other_user}","gists_url":"https://api.github.com/users/tmylk/gists{/gist_id}","starred_url":"https://api.github.com/users/tmylk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmylk/subscriptions","organizations_url":"https://api.github.com/users/tmylk/orgs","repos_url":"https://api.github.com/users/tmylk/repos","events_url":"https://api.github.com/users/tmylk/events{/privacy}","received_events_url":"https://api.github.com/users/tmylk/received_events","type":"User","site_admin":false},"assignees":[{"login":"tmylk","id":1261528,"avatar_url":"https://avatars.githubusercontent.com/u/1261528?v=3","gravatar_id":"","url":"https://api.github.com/users/tmylk","html_url":"https://github.com/tmylk","followers_url":"https://api.github.com/users/tmylk/followers","following_url":"https://api.github.com/users/tmylk/following{/other_user}","gists_url":"https://api.github.com/users/tmylk/gists{/gist_id}","starred_url":"https://api.github.com/users/tmylk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmylk/subscriptions","organizations_url":"https://api.github.com/users/tmylk/orgs","repos_url":"https://api.github.com/users/tmylk/repos","events_url":"https://api.github.com/users/tmylk/events{/privacy}","received_events_url":"https://api.github.com/users/tmylk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2016-08-31T14:44:55Z","updated_at":"2016-09-28T13:58:33Z","closed_at":"2016-09-28T09:41:17Z","body":"\r\n```python\r\nTraceback (most recent call last):\r\n  File \"imdb_embedding_w2v.py\", line 160, in <module>\r\n    model.build_vocab(combined)\r\n  File \"/Library/Python/2.7/site-packages/gensim/models/word2vec.py\", line 510, in build_vocab\r\n    self.finalize_vocab()  # build tables & arrays\r\n  File \"/Library/Python/2.7/site-packages/gensim/models/word2vec.py\", line 640, in finalize_vocab\r\n    self.reset_weights()\r\n  File \"/Library/Python/2.7/site-packages/gensim/models/word2vec.py\", line 986, in reset_weights\r\n    self.syn0[i] = self.seeded_vector(self.index2word[i] + self.seed)\r\nTypeError: cannot concatenate 'str' and 'int' objects\r\n```\r\n\r\nCurrent version\r\n```shell\r\n$ pip list | grep gensim\r\ngensim (0.12.4)\r\n```\r\nThis error does not happen for `gensim==0.10.2`"},"comment":{"url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/comments/250174201","html_url":"https://github.com/RaRe-Technologies/gensim/issues/846#issuecomment-250174201","issue_url":"https://api.github.com/repos/RaRe-Technologies/gensim/issues/846","id":250174201,"user":{"login":"loretoparisi","id":163333,"avatar_url":"https://avatars.githubusercontent.com/u/163333?v=3","gravatar_id":"","url":"https://api.github.com/users/loretoparisi","html_url":"https://github.com/loretoparisi","followers_url":"https://api.github.com/users/loretoparisi/followers","following_url":"https://api.github.com/users/loretoparisi/following{/other_user}","gists_url":"https://api.github.com/users/loretoparisi/gists{/gist_id}","starred_url":"https://api.github.com/users/loretoparisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loretoparisi/subscriptions","organizations_url":"https://api.github.com/users/loretoparisi/orgs","repos_url":"https://api.github.com/users/loretoparisi/repos","events_url":"https://api.github.com/users/loretoparisi/events{/privacy}","received_events_url":"https://api.github.com/users/loretoparisi/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T13:58:32Z","updated_at":"2016-09-28T13:58:32Z","body":"@markroxor so the solution will to convert to string the input? What about precision i.e. how did you convert to string?"}}
{"actor":{"display_login":"loretoparisi"}}