{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/681","repository_url":"https://api.github.com/repos/davidhalter/jedi","labels_url":"https://api.github.com/repos/davidhalter/jedi/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi/issues/681/comments","events_url":"https://api.github.com/repos/davidhalter/jedi/issues/681/events","html_url":"https://github.com/davidhalter/jedi/issues/681","id":125905786,"number":681,"title":"KeyError: <String: \"…\">","user":{"login":"jorgenschaefer","id":2500270,"avatar_url":"https://avatars.githubusercontent.com/u/2500270?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgenschaefer","html_url":"https://github.com/jorgenschaefer","followers_url":"https://api.github.com/users/jorgenschaefer/followers","following_url":"https://api.github.com/users/jorgenschaefer/following{/other_user}","gists_url":"https://api.github.com/users/jorgenschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgenschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgenschaefer/subscriptions","organizations_url":"https://api.github.com/users/jorgenschaefer/orgs","repos_url":"https://api.github.com/users/jorgenschaefer/repos","events_url":"https://api.github.com/users/jorgenschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/jorgenschaefer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidhalter/jedi/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-01-11T09:35:32Z","updated_at":"2016-07-13T07:16:29Z","closed_at":"2016-07-13T07:16:28Z","body":"Jedi 0.9.0, Python 2.7.11:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/gav/.emacs.d/lisp/elpy/elpy/rpc.py\", line 100, in handle_request\r\n    result = method(*params)\r\n  File \"/home/gav/.emacs.d/lisp/elpy/elpy/server.py\", line 95, in rpc_get_completions\r\n    get_source(source), offset)\r\n  File \"/home/gav/.emacs.d/lisp/elpy/elpy/server.py\", line 50, in _call_backend\r\n    return meth(*args, **kwargs)\r\n  File \"/home/gav/.emacs.d/lisp/elpy/elpy/jedibackend.py\", line 45, in rpc_get_completions\r\n    for proposal in proposals]\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/api/classes.py\", line 470, in type\r\n    followed = self.follow_definition()\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/api/classes.py\", line 498, in follow_definition\r\n    defs = self._follow_statements_imports()\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/api/classes.py\", line 485, in _follow_statements_imports\r\n    return i.follow()\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/imports.py\", line 103, in follow\r\n    for t in types))\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/imports.py\", line 103, in <genexpr>\r\n    for t in types))\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 120, in find_types\r\n    return f.find(scopes, search_global)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/debug.py\", line 52, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/finder.py\", line 87, in find\r\n    types = self._names_to_types(names, search_global)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/finder.py\", line 233, in _names_to_types\r\n    new_types = _name_to_types(self._evaluator, name, self.scope)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/finder.py\", line 278, in _name_to_types\r\n    types += _remove_statements(evaluator, typ, name)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/finder.py\", line 323, in _remove_statements\r\n    types += evaluator.eval_statement(stmt, seek_name=name)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/recursion.py\", line 23, in run\r\n    result = func(evaluator, stmt, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/debug.py\", line 52, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 135, in eval_statement\r\n    types = self.eval_element(stmt.get_rhs())\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 169, in eval_element\r\n    return self._eval_atom(element)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 239, in _eval_atom\r\n    return self.eval_element(c[1])\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/cache.py\", line 41, in wrapper\r\n    rv = function(obj, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 169, in eval_element\r\n    return self._eval_atom(element)\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/__init__.py\", line 247, in _eval_atom\r\n    return [iterable.Array(self, atom)]\r\n  File \"/usr/lib64/python2.7/site-packages/jedi/evaluate/iterable.py\", line 198, in __init__\r\n    self.type = Array.mapping[atom.children[0]]\r\nKeyError: <String: \"cryptography is a package which provides cryptographic recipes\">\r\n```\r\n\r\nNo reproduction, so not sure if this helps at all, but I'd figure I'd report it.\r\n\r\nOriginally from jorgenschaefer/elpy#762"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/comments/232275438","html_url":"https://github.com/davidhalter/jedi/issues/681#issuecomment-232275438","issue_url":"https://api.github.com/repos/davidhalter/jedi/issues/681","id":232275438,"user":{"login":"davidhalter","id":748594,"avatar_url":"https://avatars.githubusercontent.com/u/748594?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhalter","html_url":"https://github.com/davidhalter","followers_url":"https://api.github.com/users/davidhalter/followers","following_url":"https://api.github.com/users/davidhalter/following{/other_user}","gists_url":"https://api.github.com/users/davidhalter/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhalter/subscriptions","organizations_url":"https://api.github.com/users/davidhalter/orgs","repos_url":"https://api.github.com/users/davidhalter/repos","events_url":"https://api.github.com/users/davidhalter/events{/privacy}","received_events_url":"https://api.github.com/users/davidhalter/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T07:16:28Z","updated_at":"2016-07-13T07:16:28Z","body":"I have really played around with multi-strings and they seem  to work.\r\n\r\nI really cannot reproduce this. I think I was able to a few months ago, but not anymore. I'm closing, but please let me know if there are still issues!\r\n"}}
{"actor":{"display_login":"davidhalter"}}